mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 02:24:16 +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:client": "cd packages/app && yarn dev",
|
||||
"release": "node ./scripts/release.js",
|
||||
"post:deploy": "node ./scripts/post-deploy.js",
|
||||
"postinstall": "npm rebuild @tensorflow/tfjs-node --build-from-source && node ./scripts/post-install.js"
|
||||
"postdeploy": "node ./scripts/post-deploy.js",
|
||||
"postinstall": "node ./scripts/post-install.js"
|
||||
},
|
||||
"workspaces": [
|
||||
"packages/**"
|
||||
|
@ -89,6 +89,13 @@ async function main() {
|
||||
|
||||
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
|
||||
let packages = await getPackages()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user