@anolilab/semantic-release-pnpm 2.0.0-alpha.1 → 2.0.1

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 (3) hide show
  1. package/CHANGELOG.md +55 -5
  2. package/dist/index.mjs +4 -169
  3. package/package.json +10 -90
package/CHANGELOG.md CHANGED
@@ -1,15 +1,65 @@
1
- ## @anolilab/semantic-release-pnpm [2.0.0-alpha.1](https://github.com/anolilab/semantic-release/compare/@anolilab/semantic-release-pnpm@1.1.8...@anolilab/semantic-release-pnpm@2.0.0-alpha.1) (2025-01-21)
1
+ ## @anolilab/semantic-release-pnpm [2.0.1](https://github.com/anolilab/semantic-release/compare/@anolilab/semantic-release-pnpm@2.0.0...@anolilab/semantic-release-pnpm@2.0.1) (2025-07-02)
2
+
3
+ ### Bug Fixes
4
+
5
+ * update dependencies and configurations for multi-semantic-release ([6e76f22](https://github.com/anolilab/semantic-release/commit/6e76f226f886f22b37be75024ed4156269379281))
6
+ * update dependencies and configurations for semantic-release packages ([e025cff](https://github.com/anolilab/semantic-release/commit/e025cffb7d3bb9e2f3c00bd6a2847b0e93354f6d))
7
+
8
+
9
+ ### Dependencies
10
+
11
+ * **@anolilab/rc:** upgraded to 2.0.1
12
+
13
+ ## @anolilab/semantic-release-pnpm [2.0.0](https://github.com/anolilab/semantic-release/compare/@anolilab/semantic-release-pnpm@1.1.12...@anolilab/semantic-release-pnpm@2.0.0) (2025-06-17)
2
14
 
3
15
  ### ⚠ BREAKING CHANGES
4
16
 
5
- * **semantic-release-clean-package-json:** Changed plugin steps to `publish` and `success` from `prepare`
17
+ * Changed supported Node version to >=20.8.1
18
+
19
+ ### Features
20
+
21
+ * update Node.js version across configurations and package files ([186dc8c](https://github.com/anolilab/semantic-release/commit/186dc8c409881b8be619735cdc14a0c25f794ffc))
22
+
23
+
24
+ ### Dependencies
25
+
26
+ * **@anolilab/rc:** upgraded to 2.0.0
27
+
28
+ ## @anolilab/semantic-release-pnpm [1.1.12](https://github.com/anolilab/semantic-release/compare/@anolilab/semantic-release-pnpm@1.1.11...@anolilab/semantic-release-pnpm@1.1.12) (2025-06-05)
6
29
 
7
30
  ### Bug Fixes
8
31
 
9
- * **semantic-release-clean-package-json:** reworked this plugin to use the `publish` and `success` functions, to have the correct state on git ([f994900](https://github.com/anolilab/semantic-release/commit/f99490092532e82d4cdba3603cc89a920bd27733))
10
- * **semantic-release-pnpm:** updated dev dependencies and @visulima/package to v3.4.5 ([967a0b4](https://github.com/anolilab/semantic-release/commit/967a0b4cd1f362bc60a4d8f301ca13f915b945ef))
32
+ * all packages now allow node 24, update all dependencies ([dfc2518](https://github.com/anolilab/semantic-release/commit/dfc2518344702271582f6d60c44778aefc66ce14))
33
+ * **deps:** update patch updates ([#154](https://github.com/anolilab/semantic-release/issues/154)) ([26462d4](https://github.com/anolilab/semantic-release/commit/26462d456c3e1d471c360e97c38b5f0668e984fe))
34
+
35
+
36
+ ### Dependencies
37
+
38
+ * **@anolilab/rc:** upgraded to 1.1.8
39
+
40
+ ## @anolilab/semantic-release-pnpm [1.1.11](https://github.com/anolilab/semantic-release/compare/@anolilab/semantic-release-pnpm@1.1.10...@anolilab/semantic-release-pnpm@1.1.11) (2025-05-07)
41
+
42
+ ### Bug Fixes
43
+
44
+ * update dependencies across multiple packages, including @anolilab/* and @visulima/* to latest versions ([fc3cbd3](https://github.com/anolilab/semantic-release/commit/fc3cbd353f550d7f2de194c34416c3074ba60b11))
45
+
46
+
47
+ ### Dependencies
48
+
49
+ * **@anolilab/rc:** upgraded to 1.1.7
50
+
51
+ ## @anolilab/semantic-release-pnpm [1.1.10](https://github.com/anolilab/semantic-release/compare/@anolilab/semantic-release-pnpm@1.1.9...@anolilab/semantic-release-pnpm@1.1.10) (2025-02-10)
52
+
53
+ ### Bug Fixes
54
+
55
+ * **semantic-release-pnpm:** updated @visulima/*, registry-auth-token to v 5.1.0, semver to v7.7.1 and all all dev deps ([f1bf9d0](https://github.com/anolilab/semantic-release/commit/f1bf9d076c69a859a892819f62af94bca300457e))
56
+
57
+
58
+ ### Dependencies
59
+
60
+ * **@anolilab/rc:** upgraded to 1.1.6
11
61
 
12
- ## @anolilab/semantic-release-pnpm [1.1.9-alpha.1](https://github.com/anolilab/semantic-release/compare/@anolilab/semantic-release-pnpm@1.1.8...@anolilab/semantic-release-pnpm@1.1.9-alpha.1) (2025-01-21)
62
+ ## @anolilab/semantic-release-pnpm [1.1.9](https://github.com/anolilab/semantic-release/compare/@anolilab/semantic-release-pnpm@1.1.8...@anolilab/semantic-release-pnpm@1.1.9) (2025-01-22)
13
63
 
14
64
  ### Bug Fixes
15
65
 
package/dist/index.mjs CHANGED
@@ -57,13 +57,13 @@ const getReleaseInfo = /* @__PURE__ */ __name$e(({ name }, { env: { DEFAULT_NPM_
57
57
  return {
58
58
  channel: distributionTag,
59
59
  name: `pnpm package (@${distributionTag} dist-tag)`,
60
- url: normalizeUrl(registry) === normalizeUrl(DEFAULT_NPM_REGISTRY) ? `https://www.npmjs.com/package/${name}/v/${version}` : undefined
60
+ url: normalizeUrl(registry) === normalizeUrl(DEFAULT_NPM_REGISTRY) ? `https://www.npmjs.com/package/${name}/v/${version}` : void 0
61
61
  };
62
62
  }, "getReleaseInfo");
63
63
 
64
64
  var __defProp$d = Object.defineProperty;
65
65
  var __name$d = (target, value) => __defProp$d(target, "name", { value, configurable: true });
66
- const reasonToNotPublish = /* @__PURE__ */ __name$d((pluginConfig, package_) => pluginConfig.npmPublish === false ? "npmPublish plugin option is false" : package_.private === true && package_.workspaces === undefined ? "package is private and has no workspaces" : null, "reasonToNotPublish");
66
+ const reasonToNotPublish = /* @__PURE__ */ __name$d((pluginConfig, package_) => pluginConfig.npmPublish === false ? "npmPublish plugin option is false" : package_.private === true && package_.workspaces === void 0 ? "package is private and has no workspaces" : null, "reasonToNotPublish");
67
67
  const shouldPublish = /* @__PURE__ */ __name$d((pluginConfig, package_) => reasonToNotPublish(pluginConfig, package_) === null, "shouldPublish");
68
68
 
69
69
  var __defProp$c = Object.defineProperty;
@@ -173,174 +173,9 @@ const publishNpm = /* @__PURE__ */ __name$a(async (pluginConfig, packageJson, co
173
173
  return false;
174
174
  }, "default");
175
175
 
176
- const name = "@anolilab/semantic-release-pnpm";
177
- const version = "1.1.7";
178
- const description = "Semantic-release plugin to publish a npm package with pnpm.";
179
- const keywords = [
180
- "anolilab",
181
- "npm",
182
- "pnpm",
183
- "publish",
184
- "monorepo",
185
- "semantic-release",
186
- "semantic-release-plugin",
187
- "semantic-release-pnpm"
188
- ];
189
176
  const homepage = "https://github.com/anolilab/semantic-release/tree/main/packages/semantic-release-pnpm";
190
- const bugs = {
191
- url: "https://github.com/anolilab/semantic-release/issues"
192
- };
193
- const repository = {
194
- type: "git",
195
- url: "git+https://github.com/anolilab/semantic-release.git",
196
- directory: "packages/semantic-release-pnpm"
197
- };
198
- const funding = [
199
- {
200
- type: "github",
201
- url: "https://github.com/sponsors/prisis"
202
- },
203
- {
204
- type: "consulting",
205
- url: "https://anolilab.com/support"
206
- }
207
- ];
208
- const license = "MIT";
209
- const author = {
210
- name: "Daniel Bannert",
211
- email: "d.bannert@anolilab.de"
212
- };
213
- const sideEffects = false;
214
- const type = "module";
215
- const main = "./dist/index.mjs";
216
- const types = "./dist/index.d.mts";
217
- const files = [
218
- "dist",
219
- "README.md",
220
- "CHANGELOG.md"
221
- ];
222
- const scripts = {
223
- build: "cross-env NODE_ENV=development packem build",
224
- "build:prod": "cross-env NODE_ENV=production packem build",
225
- clean: "rimraf node_modules dist .eslintcache",
226
- dev: "pnpm run build --watch",
227
- "lint:attw": "attw --pack",
228
- "lint:eslint": "eslint . --ext js,cjs,mjs,jsx,ts,tsx,json,yaml,yml,md,mdx --max-warnings=0 --config .eslintrc.cjs",
229
- "lint:eslint:fix": "eslint . --ext js,cjs,mjs,jsx,ts,tsx,json,yaml,yml,md,mdx --max-warnings=0 --config .eslintrc.cjs --fix",
230
- "lint:package-json": "publint --strict",
231
- "lint:prettier": "prettier --config=.prettierrc.cjs --check .",
232
- "lint:prettier:fix": "prettier --config=.prettierrc.cjs --write .",
233
- "lint:types": "tsc --noEmit",
234
- test: "vitest run",
235
- "test:coverage": "vitest run --coverage",
236
- "test:ui": "vitest --ui --coverage.enabled=true",
237
- "test:watch": "vitest"
238
- };
239
- const dependencies = {
240
- "@anolilab/rc": "1.1.5",
241
- "@semantic-release/error": "^4.0.0",
242
- "@visulima/fs": "^2.3.7",
243
- "@visulima/package": "^3.4.5",
244
- "@visulima/path": "^1.3.3",
245
- execa: "^9.5.2",
246
- ini: "^5.0.0",
247
- "normalize-url": "^8.0.1",
248
- "registry-auth-token": "^5.0.3",
249
- semver: "^7.6.3"
250
- };
251
- const devDependencies = {
252
- "@anolilab/eslint-config": "^15.0.3",
253
- "@anolilab/prettier-config": "^5.0.14",
254
- "@arethetypeswrong/cli": "^0.17.3",
255
- "@babel/core": "^7.26.0",
256
- "@rushstack/eslint-plugin-security": "^0.8.3",
257
- "@secretlint/secretlint-rule-preset-recommend": "^9.0.0",
258
- "@semantic-release/changelog": "^6.0.3",
259
- "@semantic-release/commit-analyzer": "13.0.1",
260
- "@semantic-release/exec": "^6.0.3",
261
- "@semantic-release/git": "^10.0.1",
262
- "@semantic-release/github": "^11.0.1",
263
- "@semantic-release/release-notes-generator": "14.0.3",
264
- "@types/dockerode": "^3.3.34",
265
- "@types/ini": "^4.1.1",
266
- "@types/node": "18.19.71",
267
- "@types/semantic-release__error": "3.0.3",
268
- "@types/semver": "7.5.8",
269
- "@types/stream-buffers": "^3.0.7",
270
- "@visulima/packem": "^1.17.0",
271
- "@vitest/coverage-v8": "^3.0.2",
272
- "@vitest/ui": "^3.0.2",
273
- "conventional-changelog-conventionalcommits": "8.0.0",
274
- "cross-env": "^7.0.3",
275
- dockerode: "4.0.4",
276
- esbuild: "0.24.2",
277
- eslint: "^8.57.1",
278
- "eslint-plugin-deprecation": "^3.0.0",
279
- "eslint-plugin-editorconfig": "^4.0.3",
280
- "eslint-plugin-import": "npm:eslint-plugin-i@2.29.1",
281
- "eslint-plugin-mdx": "^3.1.5",
282
- "eslint-plugin-n": "^17.15.1",
283
- "eslint-plugin-vitest": "^0.4.1",
284
- "eslint-plugin-vitest-globals": "^1.5.0",
285
- "eslint-plugin-you-dont-need-lodash-underscore": "^6.14.0",
286
- "get-stream": "9.0.1",
287
- got: "^14.4.5",
288
- "p-retry": "^6.2.1",
289
- prettier: "^3.4.2",
290
- rimraf: "^6.0.1",
291
- secretlint: "9.0.0",
292
- "semantic-release": "^24.2.1",
293
- "sort-package-json": "^2.14.0",
294
- "stream-buffers": "^3.0.3",
295
- tempy: "^3.1.0",
296
- typescript: "^5.7.3",
297
- vitest: "^3.0.2"
298
- };
299
- const engines = {
300
- node: ">=18.* <=23.*"
301
- };
302
- const publishConfig = {
303
- access: "public",
304
- provenance: true
305
- };
306
- const anolilab = {
307
- "eslint-config": {
308
- plugin: {
309
- etc: false,
310
- tsdoc: false
311
- },
312
- warn_on_unsupported_typescript_version: false,
313
- info_on_disabling_jsx_react_rule: false,
314
- info_on_disabling_prettier_conflict_rule: false,
315
- info_on_disabling_jsonc_sort_keys_rule: false,
316
- import_ignore_exports: [
317
- "**/*.cjs"
318
- ]
319
- }
320
- };
321
177
  const packageJson = {
322
- name: name,
323
- version: version,
324
- description: description,
325
- keywords: keywords,
326
- homepage: homepage,
327
- bugs: bugs,
328
- repository: repository,
329
- funding: funding,
330
- license: license,
331
- author: author,
332
- sideEffects: sideEffects,
333
- type: type,
334
- main: main,
335
- types: types,
336
- files: files,
337
- scripts: scripts,
338
- dependencies: dependencies,
339
- devDependencies: devDependencies,
340
- engines: engines,
341
- publishConfig: publishConfig,
342
- anolilab: anolilab
343
- };
178
+ homepage: homepage};
344
179
 
345
180
  var __defProp$9 = Object.defineProperty;
346
181
  var __name$9 = (target, value) => __defProp$9(target, "name", { value, configurable: true });
@@ -539,7 +374,7 @@ const verifyAuth = /* @__PURE__ */ __name$4(async (npmrc, package_, context) =>
539
374
  var __defProp$3 = Object.defineProperty;
540
375
  var __name$3 = (target, value) => __defProp$3(target, "name", { value, configurable: true });
541
376
  const isString = /* @__PURE__ */ __name$3((value) => typeof value === "string", "isString");
542
- const isNil = /* @__PURE__ */ __name$3((value) => value === null || value === undefined, "isNil");
377
+ const isNil = /* @__PURE__ */ __name$3((value) => value === null || value === void 0, "isNil");
543
378
  const isNonEmptyString = /* @__PURE__ */ __name$3((value) => {
544
379
  if (!isString(value)) {
545
380
  return false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anolilab/semantic-release-pnpm",
3
- "version": "2.0.0-alpha.1",
3
+ "version": "2.0.1",
4
4
  "description": "Semantic-release plugin to publish a npm package with pnpm.",
5
5
  "keywords": [
6
6
  "anolilab",
@@ -46,102 +46,22 @@
46
46
  "CHANGELOG.md"
47
47
  ],
48
48
  "dependencies": {
49
- "@anolilab/rc": "1.1.5",
49
+ "@anolilab/rc": "2.0.1",
50
50
  "@semantic-release/error": "^4.0.0",
51
- "@visulima/fs": "^2.3.7",
52
- "@visulima/package": "^3.4.5",
53
- "@visulima/path": "^1.3.3",
54
- "execa": "^9.5.2",
51
+ "@visulima/fs": "^3.1.5",
52
+ "@visulima/package": "^3.5.8",
53
+ "@visulima/path": "^1.4.0",
54
+ "execa": "^9.6.0",
55
55
  "ini": "^5.0.0",
56
- "normalize-url": "^8.0.1",
57
- "registry-auth-token": "^5.0.3",
58
- "semver": "^7.6.3"
59
- },
60
- "devDependencies": {
61
- "@anolilab/eslint-config": "^15.0.3",
62
- "@anolilab/prettier-config": "^5.0.14",
63
- "@arethetypeswrong/cli": "^0.17.3",
64
- "@babel/core": "^7.26.0",
65
- "@rushstack/eslint-plugin-security": "^0.8.3",
66
- "@secretlint/secretlint-rule-preset-recommend": "^9.0.0",
67
- "@semantic-release/changelog": "^6.0.3",
68
- "@semantic-release/commit-analyzer": "13.0.1",
69
- "@semantic-release/exec": "^6.0.3",
70
- "@semantic-release/git": "^10.0.1",
71
- "@semantic-release/github": "^11.0.1",
72
- "@semantic-release/release-notes-generator": "14.0.3",
73
- "@types/dockerode": "^3.3.34",
74
- "@types/ini": "^4.1.1",
75
- "@types/node": "18.19.71",
76
- "@types/semantic-release__error": "3.0.3",
77
- "@types/semver": "7.5.8",
78
- "@types/stream-buffers": "^3.0.7",
79
- "@visulima/packem": "^1.17.0",
80
- "@vitest/coverage-v8": "^3.0.2",
81
- "@vitest/ui": "^3.0.2",
82
- "conventional-changelog-conventionalcommits": "8.0.0",
83
- "cross-env": "^7.0.3",
84
- "dockerode": "4.0.4",
85
- "esbuild": "0.24.2",
86
- "eslint": "^8.57.1",
87
- "eslint-plugin-deprecation": "^3.0.0",
88
- "eslint-plugin-editorconfig": "^4.0.3",
89
- "eslint-plugin-import": "npm:eslint-plugin-i@2.29.1",
90
- "eslint-plugin-mdx": "^3.1.5",
91
- "eslint-plugin-n": "^17.15.1",
92
- "eslint-plugin-vitest": "^0.4.1",
93
- "eslint-plugin-vitest-globals": "^1.5.0",
94
- "eslint-plugin-you-dont-need-lodash-underscore": "^6.14.0",
95
- "get-stream": "9.0.1",
96
- "got": "^14.4.5",
97
- "p-retry": "^6.2.1",
98
- "prettier": "^3.4.2",
99
- "rimraf": "^6.0.1",
100
- "secretlint": "9.0.0",
101
- "semantic-release": "^24.2.1",
102
- "sort-package-json": "^2.14.0",
103
- "stream-buffers": "^3.0.3",
104
- "tempy": "^3.1.0",
105
- "typescript": "^5.7.3",
106
- "vitest": "^3.0.2"
56
+ "normalize-url": "^8.0.2",
57
+ "registry-auth-token": "^5.1.0",
58
+ "semver": "^7.7.2"
107
59
  },
108
60
  "engines": {
109
- "node": ">=18.* <=23.*"
61
+ "node": ">=20.8.1"
110
62
  },
111
63
  "publishConfig": {
112
64
  "access": "public",
113
65
  "provenance": true
114
- },
115
- "anolilab": {
116
- "eslint-config": {
117
- "plugin": {
118
- "etc": false,
119
- "tsdoc": false
120
- },
121
- "warn_on_unsupported_typescript_version": false,
122
- "info_on_disabling_jsx_react_rule": false,
123
- "info_on_disabling_prettier_conflict_rule": false,
124
- "info_on_disabling_jsonc_sort_keys_rule": false,
125
- "import_ignore_exports": [
126
- "**/*.cjs"
127
- ]
128
- }
129
- },
130
- "scripts": {
131
- "build": "cross-env NODE_ENV=development packem build",
132
- "build:prod": "cross-env NODE_ENV=production packem build",
133
- "clean": "rimraf node_modules dist .eslintcache",
134
- "dev": "pnpm run build --watch",
135
- "lint:attw": "attw --pack",
136
- "lint:eslint": "eslint . --ext js,cjs,mjs,jsx,ts,tsx,json,yaml,yml,md,mdx --max-warnings=0 --config .eslintrc.cjs",
137
- "lint:eslint:fix": "eslint . --ext js,cjs,mjs,jsx,ts,tsx,json,yaml,yml,md,mdx --max-warnings=0 --config .eslintrc.cjs --fix",
138
- "lint:package-json": "publint --strict",
139
- "lint:prettier": "prettier --config=.prettierrc.cjs --check .",
140
- "lint:prettier:fix": "prettier --config=.prettierrc.cjs --write .",
141
- "lint:types": "tsc --noEmit",
142
- "test": "vitest run",
143
- "test:coverage": "vitest run --coverage",
144
- "test:ui": "vitest --ui --coverage.enabled=true",
145
- "test:watch": "vitest"
146
66
  }
147
67
  }