@anolilab/semantic-release-preset 4.0.2 → 4.0.4

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/CHANGELOG.md CHANGED
@@ -1,3 +1,23 @@
1
+ ## @anolilab/semantic-release-preset [4.0.4](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/semantic-release-preset@4.0.3...@anolilab/semantic-release-preset@4.0.4) (2023-06-29)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * this version change is needed to deprecate old version of the package and update dependency versions in multiple packages ([b3f00b2](https://github.com/anolilab/javascript-style-guide/commit/b3f00b2487b8b5f9f61b1f711c0d0a7c7df86f75))
7
+
8
+
9
+
10
+ ### Dependencies
11
+
12
+ * **@anolilab/package-json-utils:** upgraded to 1.5.2
13
+
14
+ ## @anolilab/semantic-release-preset [4.0.3](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/semantic-release-preset@4.0.2...@anolilab/semantic-release-preset@4.0.3) (2023-06-28)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * updated lock, updated @anolilab/package-json-utils and removed baseUrl in the tsconfig that was in the wrong place ([cb08fb5](https://github.com/anolilab/javascript-style-guide/commit/cb08fb5f9fa15f0134327f89f1908199fddaa327))
20
+
1
21
  ## @anolilab/semantic-release-preset [4.0.2](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/semantic-release-preset@4.0.1...@anolilab/semantic-release-preset@4.0.2) (2023-06-28)
2
22
 
3
23
 
package/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2021 Anolilab
3
+ Copyright (c) 2023 Anolilab
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -140,7 +140,10 @@ Without npm:
140
140
 
141
141
  ### deprecation
142
142
 
143
- You want deprecate old versions of your package?
143
+ You want to deprecate old versions of your package?
144
+
145
+ <details>
146
+ <summary>Option one is the semantic-release-npm-deprecate-old-versions</summary>
144
147
 
145
148
  #### Install
146
149
 
@@ -189,6 +192,49 @@ No problem, just add the following to your `.releaserc.json`:
189
192
  ```
190
193
 
191
194
  Find out how to configure the plugin [here](https://github.com/ghusse/semantic-release-npm-deprecate-old-versions).
195
+ </details>
196
+
197
+ <details>
198
+ <summary>Option one is the semantic-release-npm-deprecate</summary>
199
+
200
+ #### Install
201
+
202
+ ```bash
203
+ npm install --dev-save semantic-release-npm-deprecate-old-versions
204
+ ```
205
+
206
+ ```sh
207
+ pnpm add -D semantic-release-npm-deprecate-old-versions
208
+ ```
209
+
210
+ ```sh
211
+ yarn add -D semantic-release-npm-deprecate-old-versions
212
+ ```
213
+
214
+ No problem, just add the following to your `.releaserc.json`:
215
+
216
+ ```json
217
+ {
218
+ "extends": "@anolilab/semantic-release-preset/npm",
219
+ "plugins": [
220
+ [
221
+ "semantic-release-npm-deprecate",
222
+ {
223
+ "deprecations": [
224
+ {
225
+ "version": "< ${nextRelease.version.split('.')[0]}",
226
+ "message": "Please use ^${nextRelease.version.split('.')[0]}.0.0."
227
+ }
228
+ ]
229
+ }
230
+ ]
231
+ ]
232
+ }
233
+ ```
234
+
235
+ Find out how to configure the plugin [here](https://www.npmjs.com/package/semantic-release-npm-deprecate).
236
+
237
+ </details>
192
238
 
193
239
  ## Environment Variables Configuration
194
240
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anolilab/semantic-release-preset",
3
- "version": "4.0.2",
3
+ "version": "4.0.4",
4
4
  "description": "Anolilab Coding Standard for semantic-release.",
5
5
  "keywords": [
6
6
  "anolilab",
@@ -69,7 +69,7 @@
69
69
  "postinstall": "node ./skip.js || node ./dist/postinstall.js"
70
70
  },
71
71
  "dependencies": {
72
- "@anolilab/package-json-utils": "1.5.1",
72
+ "@anolilab/package-json-utils": "1.5.2",
73
73
  "@semantic-release/changelog": "^6.0.3",
74
74
  "@semantic-release/commit-analyzer": "^10.0.1",
75
75
  "@semantic-release/exec": "^6.0.3",
@@ -80,7 +80,9 @@
80
80
  "conventional-changelog-conventionalcommits": "^6.1.0"
81
81
  },
82
82
  "devDependencies": {
83
- "semantic-release": "^21.0.5",
83
+ "rimraf": "^5.0.1",
84
+ "semantic-release": "^21.0.6",
85
+ "semantic-release-npm-deprecate": "^1.0.34",
84
86
  "tsup": "^7.1.0",
85
87
  "vitest": "^0.32.2"
86
88
  },