feat: use nx to manage monorepo (#2748)

This commit is contained in:
Himself65
2023-06-10 00:46:24 +08:00
committed by GitHub
parent 1e6e0336c3
commit eeb536d460
14 changed files with 519 additions and 182 deletions
-1
View File
@@ -15,7 +15,6 @@
}
},
"scripts": {
"build": "tsc --project ./tsconfig.json",
"sync-languages": "NODE_OPTIONS=--experimental-fetch ts-node-esm src/scripts/sync.ts",
"sync-languages:check": "yarn run sync-languages --check",
"download-resources": "NODE_OPTIONS=--experimental-fetch ts-node-esm src/scripts/download.ts"
+3 -3
View File
@@ -2,9 +2,9 @@
"name": "@affine/storybook",
"private": true,
"scripts": {
"storybook": "storybook dev -p 6006",
"build-storybook": "NODE_OPTIONS=--max_old_space_size=4096 storybook build",
"test-storybook": "test-storybook"
"dev": "storybook dev -p 6006",
"build": "NODE_OPTIONS=--max_old_space_size=4096 storybook build",
"test": "test-storybook"
},
"dependencies": {
"@affine/component": "workspace:*",