chore: 默认仅启用 web-antd 应用入口
默认 dev/build/preview 统一指向 web-antd。\nworkspace 仅保留 web-antd 与 backend-mock。
This commit is contained in:
12
package.json
12
package.json
@@ -25,14 +25,11 @@
|
|||||||
},
|
},
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "cross-env NODE_OPTIONS=--max-old-space-size=8192 turbo build",
|
"build": "pnpm run build:antd",
|
||||||
"build:analyze": "turbo build:analyze",
|
"build:analyze": "turbo build:analyze",
|
||||||
"build:antd": "pnpm run build --filter=@vben/web-antd",
|
"build:antd": "pnpm run build --filter=@vben/web-antd",
|
||||||
"build:docker": "./scripts/deploy/build-local-docker-image.sh",
|
"build:docker": "./scripts/deploy/build-local-docker-image.sh",
|
||||||
"build:docs": "pnpm run build --filter=@vben/docs",
|
"build:docs": "pnpm run build --filter=@vben/docs",
|
||||||
"build:ele": "pnpm run build --filter=@vben/web-ele",
|
|
||||||
"build:naive": "pnpm run build --filter=@vben/web-naive",
|
|
||||||
"build:tdesign": "pnpm run build --filter=@vben/web-tdesign",
|
|
||||||
"build:play": "pnpm run build --filter=@vben/playground",
|
"build:play": "pnpm run build --filter=@vben/playground",
|
||||||
"changeset": "pnpm exec changeset",
|
"changeset": "pnpm exec changeset",
|
||||||
"check": "pnpm run check:circular && pnpm run check:dep && pnpm run check:type && pnpm check:cspell",
|
"check": "pnpm run check:circular && pnpm run check:dep && pnpm run check:type && pnpm check:cspell",
|
||||||
@@ -42,18 +39,15 @@
|
|||||||
"check:type": "turbo run typecheck",
|
"check:type": "turbo run typecheck",
|
||||||
"clean": "node ./scripts/clean.mjs",
|
"clean": "node ./scripts/clean.mjs",
|
||||||
"commit": "czg",
|
"commit": "czg",
|
||||||
"dev": "turbo-run dev",
|
"dev": "pnpm run dev:antd",
|
||||||
"dev:antd": "pnpm -F @vben/web-antd run dev",
|
"dev:antd": "pnpm -F @vben/web-antd run dev",
|
||||||
"dev:docs": "pnpm -F @vben/docs run dev",
|
"dev:docs": "pnpm -F @vben/docs run dev",
|
||||||
"dev:ele": "pnpm -F @vben/web-ele run dev",
|
|
||||||
"dev:naive": "pnpm -F @vben/web-naive run dev",
|
|
||||||
"dev:tdesign": "pnpm -F @vben/web-tdesign run dev",
|
|
||||||
"dev:play": "pnpm -F @vben/playground run dev",
|
"dev:play": "pnpm -F @vben/playground run dev",
|
||||||
"format": "vsh lint --format",
|
"format": "vsh lint --format",
|
||||||
"lint": "vsh lint",
|
"lint": "vsh lint",
|
||||||
"postinstall": "pnpm -r run stub --if-present",
|
"postinstall": "pnpm -r run stub --if-present",
|
||||||
"preinstall": "npx only-allow pnpm",
|
"preinstall": "npx only-allow pnpm",
|
||||||
"preview": "turbo-run preview",
|
"preview": "pnpm -F @vben/web-antd run preview",
|
||||||
"publint": "vsh publint",
|
"publint": "vsh publint",
|
||||||
"reinstall": "pnpm clean --del-lock && pnpm install",
|
"reinstall": "pnpm clean --del-lock && pnpm install",
|
||||||
"test:unit": "vitest run --dom",
|
"test:unit": "vitest run --dom",
|
||||||
|
|||||||
@@ -8,20 +8,12 @@ packages:
|
|||||||
- packages/@core/*
|
- packages/@core/*
|
||||||
- packages/effects/*
|
- packages/effects/*
|
||||||
- packages/business/*
|
- packages/business/*
|
||||||
- apps/*
|
- apps/web-antd
|
||||||
|
- apps/backend-mock
|
||||||
- scripts/*
|
- scripts/*
|
||||||
- docs
|
- docs
|
||||||
- playground
|
- playground
|
||||||
|
|
||||||
overrides:
|
|
||||||
'@ast-grep/napi': 'catalog:'
|
|
||||||
'@ctrl/tinycolor': 'catalog:'
|
|
||||||
clsx: 'catalog:'
|
|
||||||
esbuild: 'catalog:'
|
|
||||||
jiti: 'catalog:'
|
|
||||||
pinia: 'catalog:'
|
|
||||||
vue: 'catalog:'
|
|
||||||
|
|
||||||
catalog:
|
catalog:
|
||||||
'@ast-grep/napi': ^0.39.9
|
'@ast-grep/napi': ^0.39.9
|
||||||
'@changesets/changelog-github': ^0.5.2
|
'@changesets/changelog-github': ^0.5.2
|
||||||
@@ -201,3 +193,21 @@ catalog:
|
|||||||
yaml-eslint-parser: ^1.3.2
|
yaml-eslint-parser: ^1.3.2
|
||||||
zod: ^3.25.76
|
zod: ^3.25.76
|
||||||
zod-defaults: 0.1.3
|
zod-defaults: 0.1.3
|
||||||
|
|
||||||
|
onlyBuiltDependencies:
|
||||||
|
- '@parcel/watcher'
|
||||||
|
- core-js
|
||||||
|
- esbuild
|
||||||
|
- lefthook
|
||||||
|
- less
|
||||||
|
- unrs-resolver
|
||||||
|
- vue-demi
|
||||||
|
|
||||||
|
overrides:
|
||||||
|
'@ast-grep/napi': 'catalog:'
|
||||||
|
'@ctrl/tinycolor': 'catalog:'
|
||||||
|
clsx: 'catalog:'
|
||||||
|
esbuild: 'catalog:'
|
||||||
|
jiti: 'catalog:'
|
||||||
|
pinia: 'catalog:'
|
||||||
|
vue: 'catalog:'
|
||||||
|
|||||||
@@ -8,18 +8,6 @@
|
|||||||
"name": "@vben/web-antd",
|
"name": "@vben/web-antd",
|
||||||
"path": "apps/web-antd",
|
"path": "apps/web-antd",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "@vben/web-ele",
|
|
||||||
"path": "apps/web-ele",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "@vben/web-naive",
|
|
||||||
"path": "apps/web-naive",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "@vben/web-tdesign",
|
|
||||||
"path": "apps/web-tdesign",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "@vben/docs",
|
"name": "@vben/docs",
|
||||||
"path": "docs",
|
"path": "docs",
|
||||||
|
|||||||
Reference in New Issue
Block a user