fix: deleting bash script, using npm script to be cross platform compatible

This commit is contained in:
x1a0t
2023-01-12 16:13:26 +08:00
parent 13de557d24
commit a45040a956
2 changed files with 1 additions and 6 deletions
+1 -1
View File
@@ -20,7 +20,7 @@
"postinstall": "husky install",
"notify": "node --experimental-modules scripts/notify.mjs",
"check:ci": "pnpm lint & pnpm test",
"update:blocksuite": "chmod 755 update-dep.sh && sh update-dep.sh"
"update:blocksuite": "pnpm i --filter @affine/app --filter @affine/datacenter @blocksuite/blocks@nightly @blocksuite/store@nightly @blocksuite/editor@nightly"
},
"lint-staged": {
"*": "prettier --write --ignore-unknown",
-5
View File
@@ -1,5 +0,0 @@
#!/bin/bash
cd packages/app
pnpm i @blocksuite/store@nightly @blocksuite/blocks@nightly @blocksuite/editor@nightly
cd ../data-center
pnpm i @blocksuite/store@nightly @blocksuite/blocks@nightly @blocksuite/editor@nightly