Add postinstall for phoenix

This commit is contained in:
KernelDeimos
2024-04-15 14:02:49 -04:00
parent 2717444c29
commit 25f8dbf120
3 changed files with 9 additions and 3 deletions

1
package-lock.json generated
View File

@@ -7,6 +7,7 @@
"": {
"name": "puter.com",
"version": "1.0.0",
"hasInstallScript": true,
"license": "AGPL-3.0-only",
"workspaces": [
"packages/*"

View File

@@ -26,7 +26,8 @@
"start=gui": "nodemon --exec \"node dev-server.js\" ",
"start": "node run-selfhosted.js",
"build": "node ./build.js",
"check-translations": "node tools/check-translations.js"
"check-translations": "node tools/check-translations.js",
"postinstall": "cd packages/phoenix/packages/contextlink && npm install"
},
"workspaces": [
"packages/*"

View File

@@ -21,7 +21,6 @@
"columnify": "^1.6.0",
"fs-mode-to-string": "^0.0.2",
"json-query": "^2.2.2",
"node-pty": "^1.0.0",
"path-browserify": "^1.0.1",
"sinon": "^17.0.1",
"xterm": "^5.1.0",
@@ -34,6 +33,9 @@
"mocha": "^10.2.0",
"rollup": "^3.21.4",
"rollup-plugin-copy": "^3.4.0"
},
"optionalDependencies": {
"node-pty": "^1.0.0"
}
},
"../dev-contextlink": {
@@ -1296,7 +1298,8 @@
"node_modules/nan": {
"version": "2.19.0",
"resolved": "https://registry.npmjs.org/nan/-/nan-2.19.0.tgz",
"integrity": "sha512-nO1xXxfh/RWNxfd/XPfbIfFk5vgLsAxUR9y5O0cHMJu/AW9U95JLXqthYHjEp+8gQ5p96K9jUp8nbVOxCdRbtw=="
"integrity": "sha512-nO1xXxfh/RWNxfd/XPfbIfFk5vgLsAxUR9y5O0cHMJu/AW9U95JLXqthYHjEp+8gQ5p96K9jUp8nbVOxCdRbtw==",
"optional": true
},
"node_modules/nanoid": {
"version": "3.3.3",
@@ -1327,6 +1330,7 @@
"resolved": "https://registry.npmjs.org/node-pty/-/node-pty-1.0.0.tgz",
"integrity": "sha512-wtBMWWS7dFZm/VgqElrTvtfMq4GzJ6+edFI0Y0zyzygUSZMgZdraDUMUhCIvkjhJjme15qWmbyJbtAx4ot4uZA==",
"hasInstallScript": true,
"optional": true,
"dependencies": {
"nan": "^2.17.0"
}