mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
update post install scripts
This commit is contained in:
parent
fda218be0d
commit
ec1e505966
@ -14,8 +14,8 @@
|
|||||||
"dev:server": "cd packages/server && yarn dev",
|
"dev:server": "cd packages/server && yarn dev",
|
||||||
"dev:client": "cd packages/app && yarn dev",
|
"dev:client": "cd packages/app && yarn dev",
|
||||||
"release": "node ./scripts/release.js",
|
"release": "node ./scripts/release.js",
|
||||||
"post:deploy": "node ./scripts/post-deploy.js",
|
"postdeploy": "node ./scripts/post-deploy.js",
|
||||||
"postinstall": "npm rebuild @tensorflow/tfjs-node --build-from-source && node ./scripts/post-install.js"
|
"postinstall": "node ./scripts/post-install.js"
|
||||||
},
|
},
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
"packages/**"
|
"packages/**"
|
||||||
|
@ -89,6 +89,13 @@ async function main() {
|
|||||||
|
|
||||||
await initializeEvite()
|
await initializeEvite()
|
||||||
|
|
||||||
|
console.log("Rebuilding TFJS...")
|
||||||
|
|
||||||
|
await child_process.execSync("npm rebuild @tensorflow/tfjs-node --build-from-source &&", {
|
||||||
|
cwd: rootPath,
|
||||||
|
stdio: "inherit",
|
||||||
|
})
|
||||||
|
|
||||||
// read dir with absolute paths
|
// read dir with absolute paths
|
||||||
let packages = await getPackages()
|
let packages = await getPackages()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user