build: enhance nx build (#2948)

This commit is contained in:
Alex Yang
2023-07-01 01:17:31 +08:00
committed by GitHub
parent 7a5a5d503a
commit 81c5e6d3d2
27 changed files with 559 additions and 138 deletions
+3 -2
View File
@@ -22,8 +22,7 @@
"build:infra": "yarn nx run-many -t build -p plugin-infra infra",
"build:plugins": "yarn nx run-many -t build -p @affine/bookmark-block",
"build:storybook": "yarn nx build @affine/storybook",
"start:web": "yarn workspace @affine/web start",
"start:web-static": "yarn exec serve apps/web/out -l 8080",
"start:web-static": "yarn workspace @affine/web start",
"start:storybook": "yarn exec serve apps/storybook/storybook-static -l 6006",
"serve:test-static": "yarn exec serve tests/fixtures --cors -p 8081",
"lint": "eslint . --ext .js,mjs,.ts,.tsx --cache",
@@ -54,6 +53,7 @@
"@faker-js/faker": "^8.0.2",
"@istanbuljs/schema": "^0.1.3",
"@magic-works/i18n-codegen": "^0.5.0",
"@nx/vite": "16.3.2",
"@perfsee/sdk": "^1.8.2",
"@playwright/test": "=1.33.0",
"@taplo/cli": "^0.5.2",
@@ -90,6 +90,7 @@
"nyc": "^15.1.0",
"prettier": "^2.8.8",
"serve": "^14.2.0",
"ts-node": "^10.9.1",
"typescript": "^5.1.5",
"vite": "^4.3.9",
"vite-plugin-istanbul": "^4.1.0",