Skip to content

Commit 6d6a47d

Browse files
committed
fix: make build actually use nx
1 parent b1ea371 commit 6d6a47d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

nx.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@
99
},
1010
"targetDefaults": {
1111
"build": {
12+
"cache": true,
1213
"dependsOn": ["^build"],
1314
"outputs": ["{projectRoot}/dist"]
1415
},
1516
"test": {
17+
"cache": true,
1618
"dependsOn": ["^test"]
1719
}
1820
}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
"start": "lerna run --stream --scope @blocknote/example-editor dev",
2424
"gen": "lerna run --stream --scope @blocknote/dev-scripts gen",
2525
"start:built": "npx serve playground/dist -c ../serve.json",
26-
"build": "npm run clean && npm run gen && npm run clean && lerna run --stream build",
26+
"build:clean": "npm run clean && npm run gen && npm run clean && lerna run --stream build",
27+
"build": "lerna run --stream build",
2728
"build:site": "lerna run --stream docs:build --concurrency 1",
2829
"lint": "lerna run --stream lint",
2930
"bootstrap": "lerna bootstrap --ci -- --force && patch-package",

0 commit comments

Comments
 (0)