Skip to content

Commit

Permalink
🔧 ci: add publish check
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Jun 10, 2023
1 parent f62727e commit 48650ea
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/commit-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
],
"scripts": {
"build": "father build",
"clean": "rm -rf es lib dist build coverage src/.umi* .eslintcache"
"clean": "rm -rf es lib dist build coverage src/.umi* .eslintcache",
"doctor": "father doctor",
"prepublishOnly": "npm run doctor && npm run build"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 2 additions & 0 deletions packages/commitlint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
"build": "father build",
"clean": "rm -rf es lib dist build coverage .eslintcache",
"cov": "jest --coverage",
"doctor": "father doctor",
"prepublishOnly": "npm run doctor && npm run build",
"start": "father dev",
"test": "jest"
},
Expand Down
2 changes: 2 additions & 0 deletions packages/commitlint-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
"changelog": "conventional-changelog -p gitmoji-config -i CHANGELOG.md -s -r 0",
"clean": "rm -rf es lib dist build coverage src/.umi* .eslintcache",
"cov": "jest --coverage",
"doctor": "father doctor",
"prepublishOnly": "npm run doctor && npm run build",
"release": "yarn build && yarn release:only",
"release:only": "yarn publish",
"start": "father dev",
Expand Down
2 changes: 2 additions & 0 deletions packages/gitmoji-regex/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
"build": "father build",
"clean": "rm -rf es lib dist build coverage .eslintcache",
"cov": "jest --coverage",
"doctor": "father doctor",
"prepublishOnly": "npm run doctor && npm run build",
"test": "jest"
},
"dependencies": {
Expand Down
2 changes: 2 additions & 0 deletions packages/parser-opts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
"build": "father build",
"clean": "rm -rf es lib dist build coverage src/.umi* .eslintcache",
"cov": "jest --coverage",
"doctor": "father doctor",
"prepublishOnly": "npm run doctor && npm run build",
"test": "jest"
},
"dependencies": {
Expand Down
2 changes: 2 additions & 0 deletions packages/release-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
"build": "father build",
"clean": "rm -rf es lib dist build coverage src/.umi* .eslintcache",
"cov": "jest --coverage",
"doctor": "father doctor",
"prepublishOnly": "npm run doctor && npm run build",
"start": "father dev",
"test": "jest",
"test:cov": "jest --coverage",
Expand Down

0 comments on commit 48650ea

Please sign in to comment.