@anolilab/semantic-release-preset 2.2.1 → 3.0.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 (3) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +6 -41
  3. package/package.json +13 -12
package/CHANGELOG.md CHANGED
@@ -1,3 +1,14 @@
1
+ ## @anolilab/semantic-release-preset [3.0.0](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/semantic-release-preset@2.2.1...@anolilab/semantic-release-preset@3.0.0) (2023-06-10)
2
+
3
+
4
+ ### ⚠ BREAKING CHANGES
5
+
6
+ * Changed the package to support cjs and mjs, so the type module was removed
7
+
8
+ ### Features
9
+
10
+ * switched js to ts, created a new package-utils package ([5477591](https://github.com/anolilab/javascript-style-guide/commit/5477591aa46d878b8535ff8503384e27ca537a7f))
11
+
1
12
  ## @anolilab/semantic-release-preset [2.2.1](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/semantic-release-preset@2.2.0...@anolilab/semantic-release-preset@2.2.1) (2023-05-25)
2
13
 
3
14
 
package/README.md CHANGED
@@ -304,7 +304,7 @@ jobs:
304
304
 
305
305
  - uses: "pnpm/action-setup@v2.2.4"
306
306
  with:
307
- version: 7
307
+ version: 8
308
308
  run_install: false
309
309
 
310
310
  - name: "Set node version to ${{ matrix.node_version }}"
@@ -313,25 +313,6 @@ jobs:
313
313
  node-version: "${{ matrix.node_version }}"
314
314
  cache: "pnpm"
315
315
 
316
- - name: "Get pnpm store directory"
317
- id: "pnpm-cache"
318
- run: |
319
- echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
320
-
321
- - uses: "actions/cache@v3"
322
- name: "Setup pnpm cache"
323
- with:
324
- path: "${{ steps.pnpm-cache.outputs.STORE_PATH }}"
325
- key: "${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}"
326
- restore-keys: |
327
- ${{ runner.os }}-pnpm-store-
328
-
329
- # @see: https://github.com/pnpm/pnpm/issues/4348
330
- - name: "Upgrade npm to 8.4 version"
331
- run: "npm install --global npm@8.4"
332
- env:
333
- SKIP_CHECK: "true"
334
-
335
316
  - name: "Check npm version"
336
317
  run: "npm -v"
337
318
  env:
@@ -368,7 +349,7 @@ jobs:
368
349
 
369
350
  - uses: "pnpm/action-setup@v2.2.4"
370
351
  with:
371
- version: 7
352
+ version: 8
372
353
  run_install: false
373
354
 
374
355
  - name: "Use Node.js 16.x"
@@ -377,25 +358,6 @@ jobs:
377
358
  node-version: "16.x"
378
359
  cache: "pnpm"
379
360
 
380
- - name: "Get pnpm store directory"
381
- id: "pnpm-cache"
382
- run: |
383
- echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
384
-
385
- - uses: "actions/cache@v3"
386
- name: "Setup pnpm cache"
387
- with:
388
- path: "${{ steps.pnpm-cache.outputs.STORE_PATH }}"
389
- key: "${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}"
390
- restore-keys: |
391
- ${{ runner.os }}-pnpm-store-
392
-
393
- # @see: https://github.com/pnpm/pnpm/issues/4348
394
- - name: "Upgrade npm to 8.4 version"
395
- run: "npm install --global npm@8.4"
396
- env:
397
- SKIP_CHECK: "true"
398
-
399
361
  - name: "Check npm version"
400
362
  run: "npm -v"
401
363
  env:
@@ -407,6 +369,9 @@ jobs:
407
369
  - name: "Build Production"
408
370
  run: "pnpm run build:prod:packages"
409
371
 
372
+ - name: "npm v8.5+ requires workspaces-update to be set to false"
373
+ run: "echo 'workspaces-update=false' >> .npmrc"
374
+
410
375
  - name: "Semantic Release"
411
376
  if: "success()"
412
377
  env:
@@ -437,7 +402,7 @@ jobs:
437
402
 
438
403
  - uses: "pnpm/action-setup@v2.2.4"
439
404
  with:
440
- version: 7
405
+ version: 8
441
406
 
442
407
  - name: "Use Node.js 16.x"
443
408
  uses: "actions/setup-node@v3"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anolilab/semantic-release-preset",
3
- "version": "2.2.1",
3
+ "version": "3.0.0",
4
4
  "description": "Anolilab Coding Standard for semantic-release.",
5
5
  "keywords": [
6
6
  "anolilab",
@@ -48,32 +48,33 @@
48
48
  "postinstall": "node lib/postinstall.js"
49
49
  },
50
50
  "dependencies": {
51
- "@commitlint/cli": "^17.6.3",
52
- "@commitlint/config-conventional": "^17.6.3",
53
- "@commitlint/core": "^17.6.3",
51
+ "@commitlint/cli": "^17.6.5",
52
+ "@commitlint/config-conventional": "^17.6.5",
53
+ "@commitlint/core": "^17.6.5",
54
54
  "@semantic-release/changelog": "^6.0.3",
55
- "@semantic-release/commit-analyzer": "^9.0.2",
55
+ "@semantic-release/commit-analyzer": "^10.0.1",
56
56
  "@semantic-release/exec": "^6.0.3",
57
57
  "@semantic-release/git": "^10.0.1",
58
- "@semantic-release/github": "^8.0.7",
59
- "@semantic-release/release-notes-generator": "^11.0.1",
60
- "@semantic-release/npm": "^10.0.3",
58
+ "@semantic-release/github": "^9.0.3",
59
+ "@semantic-release/npm": "^10.0.4",
60
+ "@semantic-release/release-notes-generator": "^11.0.3",
61
61
  "commitizen": "^4.3.0",
62
- "conventional-changelog-conventionalcommits": "^5.0.0",
62
+ "conventional-changelog-conventionalcommits": "^6.0.0",
63
63
  "cz-conventional-changelog": "^3.3.0",
64
64
  "semantic-release-conventional-commits": "^3.0.0"
65
65
  },
66
66
  "devDependencies": {
67
- "semantic-release": "^21.0.2"
67
+ "semantic-release": "^21.0.4"
68
68
  },
69
69
  "peerDependencies": {
70
- "semantic-release": "^19.0.5"
70
+ "semantic-release": "^21.0.0"
71
71
  },
72
72
  "engines": {
73
73
  "node": ">=16"
74
74
  },
75
75
  "publishConfig": {
76
- "access": "public"
76
+ "access": "public",
77
+ "provenance": true
77
78
  },
78
79
  "pnpm": {
79
80
  "overrides": {