Skip to content

Commit

Permalink
Remove run dependancy. (#186)
Browse files Browse the repository at this point in the history
"run" aka runjs is a package that auto-reruns a file whenever it changes
its not required by autoscaler at runtime.

https://www.npmjs.com/package/run
  • Loading branch information
nielm authored Jan 15, 2024
1 parent 3fae48e commit 1c5839f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 38 deletions.
15 changes: 0 additions & 15 deletions src/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
"dependencies": {
"js-yaml": "^4.1.0",
"poller-core": "file:poller/poller-core",
"scaler-core": "file:scaler/scaler-core",
"run": "^1.4.0"
"scaler-core": "file:scaler/scaler-core"
},
"scripts": {
"start": "node -e \"require('./index').autoscalerMain()\""
Expand Down
17 changes: 1 addition & 16 deletions src/poller/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions src/poller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@
"license": "Apache-2.0",
"author": "Google Inc.",
"dependencies": {
"autoscaler-common": "file:../autoscaler-common",
"js-yaml": "^4.1.0",
"poller-core": "file:poller-core",
"run": "^1.4.0",
"autoscaler-common": "file:../autoscaler-common"
"poller-core": "file:poller-core"
},
"scripts": {
"start": "node -e \"require('./index').main()\""
Expand Down
4 changes: 2 additions & 2 deletions src/scaler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"license": "Apache-2.0",
"author": "Google Inc.",
"dependencies": {
"autoscaler-common": "file:../autoscaler-common",
"cors": "^2.8.5",
"express": "^4.18.2",
"scaler-core": "file:scaler-core",
"autoscaler-common": "file:../autoscaler-common"
"scaler-core": "file:scaler-core"
},
"scripts": {
"start": "node -e \"require('./index').main()\""
Expand Down

0 comments on commit 1c5839f

Please sign in to comment.