@jeffchi/logger 2.4.0-rc.0 → 2.5.1-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +1 -2
  2. package/package.json +6 -7
package/README.md CHANGED
@@ -155,8 +155,7 @@ export interface ILogOptions {
155
155
 
156
156
  > ### `version` 与 `release`的区别:
157
157
  >
158
- > `version`只打标生成新的版本号,同步远程仓库,并不会执行最后的发布流程
159
- > `release`打标生成新的版本号,同步远程仓库,并且会执行最后的发布流程
158
+ > `version`只打标生成新的版本号,同步远程仓库,并不会执行最后的发布流程<br> > `release`打标生成新的版本号,同步远程仓库,并且会执行最后的发布流程
160
159
 
161
160
  ## License
162
161
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jeffchi/logger",
3
- "version": "2.4.0-rc.0",
3
+ "version": "2.5.1-alpha.0",
4
4
  "main": "lib/index.cjs",
5
5
  "module": "lib/index.mjs",
6
6
  "types": "lib/index.d.ts",
@@ -40,12 +40,10 @@
40
40
  "preversion": "npm run lint",
41
41
  "version": "npm run format && git add -A src",
42
42
  "postversion": "git push && git push --tags",
43
- "release": "standard-version --release-as",
44
- "postrelease": "git push --follow-tags && npm publish",
45
- "release:alpha": "standard-version --prerelease alpha --release-as",
46
- "postrelease:alpha": "git push --follow-tags && npm publish --tag alpha",
47
- "release:rc": "standard-version --prerelease rc --release-as",
48
- "postrelease:rc": "git push --follow-tags && npm publish --tag rc"
43
+ "release": "cross-env-shell standard-version --prerelease $npm_config_pre --release-as ",
44
+ "postrelease": "git push --follow-tags && npm publish --tag $npm_config_pre",
45
+ "release:all": "cross-env-shell standard-version -a --prerelease %npm_config_pre% --release-as ",
46
+ "postrelease:all": "git push --follow-tags && npm publish $npm_config_pre"
49
47
  },
50
48
  "author": "jeffery·chiang",
51
49
  "license": "MIT",
@@ -81,6 +79,7 @@
81
79
  "@types/node": "^18.11.18",
82
80
  "babel-preset-env": "^1.7.0",
83
81
  "commitizen": "^4.2.6",
82
+ "cross-env": "^7.0.3",
84
83
  "cz-conventional-changelog": "^3.3.0",
85
84
  "esbuild": "^0.17.0",
86
85
  "jest": "^29.3.1",