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: serial build plugins (#3431)

Alex Yang8185ee991bc2
diff --git a/scripts/build-plugins.mjs b/scripts/build-plugins.mjs
index 7ac7f2986d..9d0bc0dcf8 100644
--- a/scripts/build-plugins.mjs
+++ b/scripts/build-plugins.mjs
@@ -1,16 +1,16 @@
-import { spawn } from 'node:child_process';
+import { spawnSync } from 'node:child_process';
-spawn('yarn', ['-T', 'run', 'dev-plugin', '--plugin', 'bookmark'], {
+spawnSync('yarn', ['-T', 'run', 'dev-plugin', '--plugin', 'bookmark'], {
stdio: 'inherit',
shell: true,
});
-spawn('yarn', ['-T', 'run', 'dev-plugin', '--plugin', 'hello-world'], {
+spawnSync('yarn', ['-T', 'run', 'dev-plugin', '--plugin', 'hello-world'], {
stdio: 'inherit',
shell: true,
});
-spawn('yarn', ['-T', 'run', 'dev-plugin', '--plugin', 'copilot'], {
+spawnSync('yarn', ['-T', 'run', 'dev-plugin', '--plugin', 'copilot'], {
stdio: 'inherit',
shell: true,
});