WIP: Use yarn instead of npm #98
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,3 +4,4 @@ node_modules
|
||||
**/node_modules
|
||||
.ganache-db
|
||||
.tm_properties
|
||||
yarn-error.log
|
||||
|
@ -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
|
||||
|
13977
apps/contribution/package-lock.json
generated
13977
apps/contribution/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
8145
apps/contribution/yarn.lock
Normal file
8145
apps/contribution/yarn.lock
Normal file
File diff suppressed because it is too large
Load Diff
13977
apps/contributor/package-lock.json
generated
13977
apps/contributor/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
8145
apps/contributor/yarn.lock
Normal file
8145
apps/contributor/yarn.lock
Normal file
File diff suppressed because it is too large
Load Diff
13977
apps/proposal/package-lock.json
generated
13977
apps/proposal/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
8145
apps/proposal/yarn.lock
Normal file
8145
apps/proposal/yarn.lock
Normal file
File diff suppressed because it is too large
Load Diff
13977
apps/token/package-lock.json
generated
13977
apps/token/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
8145
apps/token/yarn.lock
Normal file
8145
apps/token/yarn.lock
Normal file
File diff suppressed because it is too large
Load Diff
15821
package-lock.json
generated
15821
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -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",
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user