release-me-sh 0.9.2 → 0.9.3

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "release-me-sh",
3
- "version": "0.9.2",
3
+ "version": "0.9.3",
4
4
  "description": "Blazing fast minimal release workflow script written in Bash with plugins and presets support",
5
5
  "keywords": [
6
6
  "bash",
@@ -46,20 +46,27 @@
46
46
  "@docusaurus/module-type-aliases": "^3.4.0",
47
47
  "@docusaurus/preset-classic": "3.4.0",
48
48
  "@docusaurus/types": "^3.4.0",
49
- "dprint": "^0.46.1",
49
+ "@evilmartians/lefthook": "^1.6.15",
50
+ "@ls-lint/ls-lint": "^2.2.3",
51
+ "@swc/core": "^1.5.25",
52
+ "commitlint-rs-npm": "dalisoft/commitlint-rs-npm#v0.1.11",
53
+ "dprint": "^0.46.2",
50
54
  "prism-react-renderer": "^2.3.1",
51
55
  "prismjs": "^1.29.0",
52
- "@swc/core": "^1.5.25",
53
- "swc-loader": "^0.2.6"
56
+ "swc-loader": "^0.2.6",
57
+ "typos-rs-npm": "dalisoft/typos-rs-npm#v1.22.3"
54
58
  },
55
59
  "engines": {
56
60
  "node": ">=18.19.1"
57
61
  },
58
62
  "trustedDependencies": [
59
63
  "@biomejs/biome",
64
+ "@evilmartians/lefthook",
60
65
  "@swc/core",
66
+ "commitlint-rs-npm",
61
67
  "core-js",
62
68
  "core-js-pure",
63
- "dprint"
69
+ "dprint",
70
+ "typos-rs-npm"
64
71
  ]
65
72
  }
@@ -73,11 +73,6 @@ cleanup() {
73
73
  }
74
74
 
75
75
  release() {
76
- if [ -z "${IS_WORKSPACE}" ]; then
77
- log_verbose "[npm-post] Plugin requires a valid release-me release processing"
78
- return 1
79
- fi
80
-
81
76
  # Committing a `npm` tag
82
77
  log "Committing npm tag..."
83
78
  log_verbose "Git hash: ${CHECKOUT_SHA}!"
@@ -95,7 +90,7 @@ release() {
95
90
  prepare
96
91
  git add package.json
97
92
 
98
- if ${IS_WORKSPACE}; then
93
+ if ${IS_WORKSPACE-}; then
99
94
  if [ -z "${PKG_NAME}" ]; then
100
95
  log_verbose "[npm-post] Workspace defined but no package name defined"
101
96
  return 1