Skip to content

Commit b511914

Browse files
committed
fix(): post install dependencies
Signed-off-by: Vojtech Mašek <[email protected]>
1 parent 901e0b6 commit b511914

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,12 +178,13 @@ If you are interested in contributing please follow these steps:
178178

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

189190
-------

cloudbuild.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ steps:
44
entrypoint: '/bin/bash'
55
args:
66
- '-c'
7-
- 'npm run ci:install && npm run lint && npm run tests && npm run build'
7+
- 'npm run dev:install && npm run lint && npm run tests && npm run build'
88
waitFor: ['-']

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,7 @@
6161
"intg-tests:clear-gen": "rimraf tests/test-angular-project/src/api-no-tags && rimraf tests/test-angular-project/src/api-all-tags",
6262
"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",
6363
"tests": "npm run test && npm run intg-tests",
64-
"ci:install": "npm ci --silent && cd tests/test-angular-project && npm ci --silent",
65-
"postinstall": "cd tests/test-angular-project && npm i"
64+
"dev:install": "npm ci --silent && cd tests/test-angular-project && npm ci --silent"
6665
},
6766
"dependencies": {
6867
"fs-extra": "^6.0.1",

0 commit comments

Comments
 (0)