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.

build: fix `publish.sh`

himself659512964366d5
diff --git a/packages/plugin-infra/package.json b/packages/plugin-infra/package.json
index aa08841ea2..8273db7342 100644
--- a/packages/plugin-infra/package.json
+++ b/packages/plugin-infra/package.json
@@ -5,6 +5,9 @@
"build": "vite build",
"dev": "vite build --watch"
},
+ "files": [
+ "dist"
+ ],
"exports": {
"./manager": {
"type": "./dist/manager.d.ts",
diff --git a/scripts/publish.sh b/scripts/publish.sh
index 9af43a3c9c..19313fd3bd 100755
--- a/scripts/publish.sh
+++ b/scripts/publish.sh
@@ -7,7 +7,7 @@ packages=(
)
for package in "${packages[@]}"; do
- nx build $package
+ yarn nx build $package
cd "packages/$package"
if [ "$NIGHTLY" = "true" ]; then