Skip to content

Commit

Permalink
🔧 chore: 更新发布配置
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Feb 2, 2022
1 parent 88a65a4 commit 593a2e6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
5 changes: 1 addition & 4 deletions .releaserc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
module.exports = {
extends: ['semantic-release-config-gitmoji'],
branches: [
'master',
{ name: 'user-panel', channel: 'beta', prerelease: 'beta' },
],
branches: ['master', { name: 'feat/*', channel: 'beta', prerelease: 'beta' }],
};
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@
"repository": "git+https://github.com/arvinxx/components.git",
"license": "MIT",
"scripts": {
"start": "yarn docs:dev",
"prebuild": "npm run clean",
"build": "father-build && yarn build:webpack",
"start": "pnpm run docs:dev",
"prebuild": "pnpm run clean",
"build": "father-build && pnpm run build:webpack",
"build:webpack": "lerna run webpack",
"c": "ts-node scripts/create-package",
"---------": "",
"release": "multi-semantic-release",
"release:local": "multi-semantic-release --no-ci",
"--------- ": "",
"api:dev": "concurrently \"yarn api:watch\" \"yarn api:server\"",
"api:dev": "concurrently \"pnpm run api:watch\" \"pnpm run api:server\"",
"api:build": "typedoc",
"api:watch": "onchange 'packages/**/src/**/*.ts' -- npx typedoc",
"api:server": "serve apis",
Expand All @@ -35,8 +35,8 @@
"test:update": "jest -u",
"cov": "jest --coverage",
"--------- ": "",
"check": "yarn check:lint && yarn check:circular && yarn check:types",
"check:lint": "yarn lint-eslint",
"check": "pnpm run check:lint && pnpm run check:circular && pnpm run check:types",
"check:lint": "pnpm run lint-eslint",
"check:circular": "dpdm packages/**/*.ts --warning false --tree false --exit-code circular:1 -T true",
"check:types": "tsc -p tsconfig-check.json",
"lint-eslint": "eslint --cache --ext .ts,.tsx --format=pretty ./packages",
Expand All @@ -45,8 +45,8 @@
"lint:fix": "eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ",
"--------- ": "",
"clean": "lerna run clean && rm -rf es lib dist build coverage .umi .eslintcache apis",
"reinstall": "yarn clean && lerna clean && rm -rf node_modules && yarn",
"prepublishOnly": "yarn build",
"reinstall": "pnpm run clean && lerna clean && rm -rf node_modules && pnpm run",
"prepublishOnly": "pnpm run build",
"prettier": "prettier -c --write \"**/**\"",
"n": "ts-node"
},
Expand All @@ -55,7 +55,7 @@
"prettier --write",
"git add"
],
"**/*.{ts,tsx}": "npm run lint-staged:ts"
"**/*.{ts,tsx}": "pnpm run lint-staged:ts"
},
"devDependencies": {
"@ant-design/icons": "^4.x",
Expand Down

0 comments on commit 593a2e6

Please sign in to comment.