Skip to content

Commit a63742f

Browse files
committed
add install-package-deps to postinstall
1 parent 7b7baa1 commit a63742f

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.github/workflows/CI.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ jobs:
2626
- name: Install APM dependencies
2727
run: |
2828
apm install
29-
- name: Atom Package dependencies
30-
run: node ./script/install-package-deps.js
3129
- name: Run tests 👩🏾‍💻
3230
run: npm run test
3331

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"build": "npm run clean && cross-env NODE_ENV=production cross-env BABEL_ENV=production rollup -c ",
2222
"build-commit": "build-commit -o dist",
2323
"bump": "ncu -u -x coffeescript",
24-
"prepare": "npm run build"
24+
"prepare": "npm run build",
25+
"postinstall": "node ./script/install-package-deps.js"
2526
},
2627
"atomTestRunner": "./spec/runner",
2728
"activationHooks": [

script/install-package-deps.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ const pkg = require("../package.json");
44
if (pkg["package-deps"]) {
55
const deps = Array.from(pkg["package-deps"]);
66
for (const dep of deps) {
7-
execSync(`apm install ${dep}`);
7+
execSync(`apm install ${dep}`, {stdio: "inherit"});
88
}
99
}

0 commit comments

Comments
 (0)