diff --git a/package.json b/package.json index 7a169b1..03f9a16 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "1.0.0", "description": "这是单仓架构项目的根目录。", "main": "index.js", + "private": true, "packageManager": "pnpm@8.0.0", "engines": { "node": ">=18.0.0", @@ -10,15 +11,12 @@ "pnpm": ">=8.0.0" }, "scripts": { - "dev-all": "pnpm run dev:main & pnpm run dev:docs", - "build-all": "pnpm run build:main-stage && pnpm run build:docs", - "dev:main": "pnpm -F @dfsw/main dev", - "dev:docs": "pnpm -F @dfsw/docs dev", - "build:main-stage": "pnpm -F @dfsw/main build:stage", - "build:main-prod": "pnpm -F @dfsw/main build:prod", - "build:docs": "pnpm -F @dfsw/docs build", "build:1": "pnpm -F @ruan-cat-vercel-monorepo-test/monorepo-1 docs:build", "build:2": "pnpm -F @ruan-cat-vercel-monorepo-test/monorepo-2 docs:build", + "build:3": "pnpm -F @ruan-cat-vercel-monorepo-test/monorepo-3 docs:build", + "build:4": "pnpm -F @ruan-cat-vercel-monorepo-test/monorepo-4 docs:build", + "build:5": "pnpm -F @ruan-cat-vercel-monorepo-test/monorepo-5 docs:build", + "dev:1": "pnpm -F @ruan-cat-vercel-monorepo-test/monorepo-1 docs:dev", "rm:node_modules": "pnpm -r rimraf node_modules && rimraf node_modules" }, "keywords": [], diff --git a/packages/monorepo-1/vercel.json b/packages/monorepo-1/vercel.json index d3722df..54286fa 100644 --- a/packages/monorepo-1/vercel.json +++ b/packages/monorepo-1/vercel.json @@ -1,9 +1,9 @@ { "framework": null, - "buildCommand": "pnpm -C ./packages/monorepo-1 run docs:build", + "buildCommand": "pnpm run build:1", "installCommand": "pnpm install", "outputDirectory": "./packages/monorepo-1/src/.vuepress/dist", - "devCommand": "pnpm -C ./packages/monorepo-1 run docs:dev", + "devCommand": "pnpm run dev:1", "public": false, "git": { "deploymentEnabled": {