Skip to content

Commit

Permalink
chore:修改执行命令
Browse files Browse the repository at this point in the history
  • Loading branch information
SunLxy committed Dec 2, 2022
1 parent 7f828be commit c619e36
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 13 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
filter: '[R|r]elease[d]\s+[v|V]\d(\.\d+){0,2}'

- run: npm install
- run: npm run build
- run: npm run hoist
- run: npm run build:antdp-base
- run: npm run build:website

Expand Down
11 changes: 10 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
{
"packages": ["examples/*", "packages/*"],
"version": "1.8.24",
"useWorker": true
"command": {
"create": {
"license": "MIT"
},
"bootstrap": {
"yarnClientArgs": ["--no-yarn-lock"],
"npmClientArgs": ["--no-package-lock"],
"forceLocal": true
}
}
}
19 changes: 7 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"build:website": "lerna exec --scope @example/website -- npm run build",
"build": "lerna exec --scope @antdp/* --ignore @antdp/dependencies -- tsbb build",
"⬇️⬇️⬇️⬇️⬇️ install ⬇️⬇️⬇️⬇️⬇️": "▼▼▼▼▼ install::package ▼▼▼▼▼",
"install": "npm run build && npm run install:pkg && npm run install:example",
"bootstrap": "lerna bootstrap",
"hoist": "lerna bootstrap --hoist",
"install:pkg": "lerna bootstrap --scope @antdp/* --hoist",
"install:example": "lerna bootstrap --scope @example/* --hoist",
"⬆️⬆️⬆️⬆️⬆️ install ⬆️⬆️⬆️⬆️⬆️": "▲▲▲▲▲ install::package ▲▲▲▲▲",
Expand All @@ -33,12 +33,16 @@
"watch:user-login": "lerna exec --scope @antdp/user-login -- tsbb watch",
"watch:hooks": "lerna exec --scope @antdp/hooks -- tsbb watch",
"⬆️⬆️⬆️⬆️⬆️ watch::package ⬆️⬆️⬆️⬆️⬆️": "▲▲▲▲▲ watch::package ▲▲▲▲▲",
"remove": "lerna exec --scope @antdp/* --scope @example/* -- rm -rf package-lock.json",
"version": "lerna version --exact --force-publish --no-push --no-git-tag-version",
"publish": "lerna publish from-package",
"start": "lerna exec --scope @example/antdp-base npm run start",
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",
"clean": "lerna clean --yes && npm run remove",
"clean": "lerna clean --yes && npm run remove && rm -rf ./package-lock.json && rm -rf node_modules && npm run remove:c ",
"remove": " lerna exec --scope @antdp/* --scope @example/* -- rm -rf package-lock.json",
"remove:c": "rm -rf package-lock.json && npm run remove:yarn && npm run remove:lib && npm run remove:esm",
"remove:yarn": "lerna exec --scope @antdp/* --scope @example/* -- rm -rf yarn.lock",
"remove:lib": "lerna exec --scope @antdp/* -- rm -rf ./lib",
"remove:esm": "lerna exec --scope @antdp/* -- rm -rf ./esm",
"tsbb": "tsbb",
"lerna": "lerna"
},
Expand All @@ -47,15 +51,6 @@
"prettier --write"
]
},
"workspaces": {
"packages": [
"packages/*",
"examples/*"
]
},
"engines": {
"node": ">=16.0.0"
},
"dependencies": {
"compile-less-cli": "1.8.11",
"husky": "8.0.2",
Expand Down
1 change: 1 addition & 0 deletions packages/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"files": [
"lib",
"esm",
"src",
"index.d.ts"
],
"keywords": [
Expand Down

0 comments on commit c619e36

Please sign in to comment.