Skip to content

Commit

Permalink
fix(): post install dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Vojtech Mašek <vojtech.masek@flowup.cz>
  • Loading branch information
vmasek committed Aug 22, 2018
1 parent 901e0b6 commit b511914
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
7 changes: 4 additions & 3 deletions README.md
Expand Up @@ -178,12 +178,13 @@ If you are interested in contributing please follow these steps:

1. [Create the issue](https://github.com/flowup/api-client-generator/issues/new) and discuss the problem
2. Fork the repo
3. Add your feature/fix
3. Run `npm run dev:install` instead of `npm install` to install all (even test) dependencies
4. Add your feature/fix
- follow the code style
- check for the lint errors
- in case of questions visit [gitter](https://gitter.im/api-client-gen) to chat with contributors
4. Run the tests `npm run tests`
5. Open the PR to [upstream master](https://github.com/flowup/api-client-generator/compare)
5. Run the tests `npm run tests`
6. Open the PR to [upstream master](https://github.com/flowup/api-client-generator/compare)
- mention the issue/bug/feature it solves/closes

-------
Expand Down
2 changes: 1 addition & 1 deletion cloudbuild.yml
Expand Up @@ -4,5 +4,5 @@ steps:
entrypoint: '/bin/bash'
args:
- '-c'
- 'npm run ci:install && npm run lint && npm run tests && npm run build'
- 'npm run dev:install && npm run lint && npm run tests && npm run build'
waitFor: ['-']
3 changes: 1 addition & 2 deletions package.json
Expand Up @@ -61,8 +61,7 @@
"intg-tests:clear-gen": "rimraf tests/test-angular-project/src/api-no-tags && rimraf tests/test-angular-project/src/api-all-tags",
"intg-tests": "npm run intg-tests:gen-all-tags && npm run intg-tests:gen-no-tag && cd tests/test-angular-project && npm run test && cd ../.. && npm run intg-tests:clear-gen",
"tests": "npm run test && npm run intg-tests",
"ci:install": "npm ci --silent && cd tests/test-angular-project && npm ci --silent",
"postinstall": "cd tests/test-angular-project && npm i"
"dev:install": "npm ci --silent && cd tests/test-angular-project && npm ci --silent"
},
"dependencies": {
"fs-extra": "^6.0.1",
Expand Down

0 comments on commit b511914

Please sign in to comment.