Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

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

x1a0ta45040a95649
diff --git a/package.json b/package.json
index ff238c9c08..43d76b7e12 100644
--- a/package.json
+++ b/package.json
@@ -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",
diff --git a/update-dep.sh b/update-dep.sh
deleted file mode 100755
index 3c9e1cd39a..0000000000
--- a/update-dep.sh
+++ /dev/null
@@ -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