Use yarn instead of npm

This commit is contained in:
fsmanuel 2019-04-12 23:39:37 +02:00
parent b6c06c289c
commit 564aa23483
14 changed files with 40829 additions and 71735 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@ node_modules
**/node_modules
.ganache-db
.tm_properties
yarn-error.log

View File

@ -16,12 +16,12 @@ framework](http://truffleframework.com/) for some things.
All requirements are defined in `package.json`.
$ npm install
$ yarn install
Each of the aragon apps are separate packages:
$ cd apps/[app]
$ npm install
$ yarn install
You can use `npm run install-all` to install all app dependencies at once.
@ -52,7 +52,7 @@ Ethereum RPC port.
2. Deploy each app to the devchain
(make sure you've run `npm install` for every app - see installation)
(make sure you've run `yarn install` for every app - see installation)
$ npm run deploy:apps
3. Deploy a new KreditsKit and create a new DAO with the latest app versions
@ -168,7 +168,7 @@ configured through the `KREDITS_KIT` environment variable.
### deploy-apps.sh
Runs `npm install` for each app and publishes a new version.
Runs `yarn install` for each app and publishes a new version.
$ ./scripts/deploy-apps.sh
or

File diff suppressed because it is too large Load Diff

8145
apps/contribution/yarn.lock Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

8145
apps/contributor/yarn.lock Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

8145
apps/proposal/yarn.lock Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

8145
apps/token/yarn.lock Normal file

File diff suppressed because it is too large Load Diff

15821
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -7,7 +7,7 @@
"test": "test"
},
"scripts": {
"install-all": "./scripts/every-app.sh \"npm install\"",
"install-all": "./scripts/every-app.sh \"yarn install\"",
"build-json": "npm run compile-contracts && node ./scripts/build-json.js",
"repl": "truffle exec scripts/repl.js",
"seeds": "truffle exec scripts/seeds.js",

View File

@ -10,7 +10,7 @@ echo "Setting up each aragon app in ./apps"
echo "a new app version will be deployed"
echo "----"
./scripts/every-app.sh "npm install"
./scripts/every-app.sh "yarn install"
./scripts/every-app.sh "aragon apm publish major"
echo "Done, new versions of all apps deployed"

8242
yarn.lock Normal file

File diff suppressed because it is too large Load Diff