@anolilab/semantic-release-preset 4.0.3 → 5.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,35 @@
1
+ ## @anolilab/semantic-release-preset [5.0.0](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/semantic-release-preset@4.1.0...@anolilab/semantic-release-preset@5.0.0) (2023-07-03)
2
+
3
+
4
+ ### ⚠ BREAKING CHANGES
5
+
6
+ * Because of broken release version this needs a version bump
7
+ Signed-off-by: prisis <d.bannert@anolilab.de>
8
+
9
+ ### Features
10
+
11
+ * Bumping the version up, because of a broken release with semantic-releases ([a646624](https://github.com/anolilab/javascript-style-guide/commit/a646624aa3e831809aa6bacb961c6e2c777d15b1))
12
+ * Update dependencies version in pnpm-lock.yaml ([1f75f7b](https://github.com/anolilab/javascript-style-guide/commit/1f75f7bec8190da5ae6f2ba7e6ac249d802fabb4))
13
+
14
+
15
+
16
+ ### Dependencies
17
+
18
+ * **@anolilab/package-json-utils:** upgraded to 2.0.0
19
+
20
+ ## @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)
21
+
22
+
23
+ ### Bug Fixes
24
+
25
+ * 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))
26
+
27
+
28
+
29
+ ### Dependencies
30
+
31
+ * **@anolilab/package-json-utils:** upgraded to 1.5.2
32
+
1
33
  ## @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)
2
34
 
3
35
 
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
 
@@ -3,13 +3,14 @@
3
3
  var packageJsonUtils = require('@anolilab/package-json-utils');
4
4
  var fs = require('fs');
5
5
  var path = require('path');
6
+ var process = require('process');
6
7
  var util = require('util');
7
8
 
8
- process.env.CI&&process.exit(0);var c=util.promisify(fs.writeFile);console.log("Configuring @anolilab/semantic-release-preset",packageJsonUtils.projectPath,`
9
- `);var m=()=>{if(packageJsonUtils.pkg&&(packageJsonUtils.hasDevelopmentDep(["multi-semantic-release","@qiwi/multi-semantic-release"])||packageJsonUtils.hasDep(["multi-semantic-release","@qiwi/multi-semantic-release"])))return console.warn("\u26A0\uFE0F found use of multi-semantic-release;"),Promise.resolve();let e=path.join(packageJsonUtils.projectPath,".releaserc.json");return fs.existsSync(e)?(console.warn("\u26A0\uFE0F .releaserc.json already exists;"),Promise.resolve()):c(e,`{
9
+ process.env.CI&&process.exit(0);var f=util.promisify(fs.writeFile);console.log("Configuring @anolilab/semantic-release-preset",packageJsonUtils.projectPath,`
10
+ `);var p=()=>{if(packageJsonUtils.pkg&&(packageJsonUtils.hasDevDependencies(["multi-semantic-release","@qiwi/multi-semantic-release"])||packageJsonUtils.hasDependencies(["multi-semantic-release","@qiwi/multi-semantic-release"])))return console.warn("\u26A0\uFE0F found use of multi-semantic-release;"),Promise.resolve();let e=path.join(packageJsonUtils.projectPath,".releaserc.json");return fs.existsSync(e)?(console.warn("\u26A0\uFE0F .releaserc.json already exists;"),Promise.resolve()):f(e,`{
10
11
  "extends": "@anolilab/semantic-release-preset/npm"
11
12
  }
12
13
 
13
- `,"utf-8")};(async()=>{try{await m(),console.log("\u{1F60E} Everything went well, have fun!"),process.exit(0);}catch(e){console.log("\u{1F62C} something went wrong:"),console.error(e),process.exit(1);}})();
14
+ `,"utf-8")};(async()=>{try{await p(),console.log("\u{1F60E} Everything went well, have fun!"),process.exit(0);}catch(e){console.log("\u{1F62C} something went wrong:"),console.error(e),process.exit(1);}})();
14
15
  //# sourceMappingURL=out.js.map
15
16
  //# sourceMappingURL=postinstall.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/postinstall.ts"],"names":["hasDep","hasDevelopmentDep","pkg","projectPath","existsSync","writeFile","join","promisify","writeFileAsync","writeReleaseRc","releaseRcPath","error"],"mappings":"AAAA,OACC,UAAAA,EAAQ,qBAAAC,EAAmB,OAAAC,EAAK,eAAAC,MAC1B,+BACP,OAAS,cAAAC,EAAY,aAAAC,MAAiB,KACtC,OAAS,QAAAC,MAAY,OACrB,OAAS,aAAAC,MAAiB,OAEtB,QAAQ,IAAI,IAEZ,QAAQ,KAAK,CAAC,EAGlB,IAAMC,EAAiBD,EAAUF,CAAS,EAE1C,QAAQ,IAAI,gDAAiDF,EAAa;AAAA,CAAI,EAK9E,IAAMM,EAAiB,IAAM,CACzB,GACIP,IACID,EAAkB,CAAC,yBAA0B,8BAA8B,CAAC,GAAKD,EAAO,CAAC,yBAA0B,8BAA8B,CAAC,GAEtJ,eAAQ,KAAK,oDAA0C,EAEhD,QAAQ,QAAQ,EAG3B,IAAMU,EAAgBJ,EAAKH,EAAa,iBAAiB,EAEzD,OAAIC,EAAWM,CAAa,GACxB,QAAQ,KAAK,+CAAqC,EAE3C,QAAQ,QAAQ,GASpBF,EAAeE,EANN;AAAA;AAAA;AAAA;AAAA,EAM8B,OAAO,CACzD,GAGC,SAAY,CACT,GAAI,CACA,MAAMD,EAAe,EAErB,QAAQ,IAAI,4CAAqC,EAGjD,QAAQ,KAAK,CAAC,CAClB,OAASE,EAAP,CACE,QAAQ,IAAI,kCAA2B,EACvC,QAAQ,MAAMA,CAAK,EAGnB,QAAQ,KAAK,CAAC,CAClB,CACJ,GAAG","sourcesContent":["import {\n hasDep, hasDevelopmentDep, pkg, projectPath\n} from \"@anolilab/package-json-utils\";\nimport { existsSync, writeFile } from \"node:fs\";\nimport { join } from \"node:path\";\nimport { promisify } from \"node:util\";\n\nif (process.env[\"CI\"]) {\n // eslint-disable-next-line unicorn/no-process-exit\n process.exit(0);\n}\n\nconst writeFileAsync = promisify(writeFile);\n\nconsole.log(\"Configuring @anolilab/semantic-release-preset\", projectPath, \"\\n\");\n\n/**\n * Writes .releaserc.json if it doesn't exist. Warns if it exists.\n */\nconst writeReleaseRc = () => {\n if (\n pkg\n && (hasDevelopmentDep([\"multi-semantic-release\", \"@qiwi/multi-semantic-release\"]) || hasDep([\"multi-semantic-release\", \"@qiwi/multi-semantic-release\"]))\n ) {\n console.warn(\"⚠️ found use of multi-semantic-release;\");\n\n return Promise.resolve();\n }\n\n const releaseRcPath = join(projectPath, \".releaserc.json\");\n\n if (existsSync(releaseRcPath)) {\n console.warn(\"⚠️ .releaserc.json already exists;\");\n\n return Promise.resolve();\n }\n\n const content = `{\n \"extends\": \"@anolilab/semantic-release-preset/npm\"\n}\n\n`;\n\n return writeFileAsync(releaseRcPath, content, \"utf-8\");\n};\n\n// eslint-disable-next-line unicorn/prefer-top-level-await\n(async () => {\n try {\n await writeReleaseRc();\n\n console.log(\"😎 Everything went well, have fun!\");\n\n // eslint-disable-next-line unicorn/no-process-exit\n process.exit(0);\n } catch (error) {\n console.log(\"😬 something went wrong:\");\n console.error(error);\n\n // eslint-disable-next-line unicorn/no-process-exit\n process.exit(1);\n }\n})();\n"]}
1
+ {"version":3,"sources":["../src/postinstall.ts"],"names":["hasDependencies","hasDevDependencies","pkg","projectPath","existsSync","writeFile","join","env","exit","promisify","writeFileAsync","writeReleaseRc","releaseRcPath","error"],"mappings":"AAAA,OAAS,mBAAAA,EAAiB,sBAAAC,EAAoB,OAAAC,EAAK,eAAAC,MAAmB,+BACtE,OAAS,cAAAC,EAAY,aAAAC,MAAiB,KACtC,OAAS,QAAAC,MAAY,OACrB,OAAS,OAAAC,EAAK,QAAAC,MAAY,UAC1B,OAAS,aAAAC,MAAiB,OAEtBF,EAAI,IACJC,EAAK,CAAC,EAGV,IAAME,EAAiBD,EAAUJ,CAAS,EAE1C,QAAQ,IAAI,gDAAiDF,EAAa;AAAA,CAAI,EAK9E,IAAMQ,EAAiB,IAAM,CACzB,GACIT,IACCD,EAAmB,CAAC,yBAA0B,8BAA8B,CAAC,GAC1ED,EAAgB,CAAC,yBAA0B,8BAA8B,CAAC,GAE9E,eAAQ,KAAK,oDAA0C,EAEhD,QAAQ,QAAQ,EAG3B,IAAMY,EAAgBN,EAAKH,EAAa,iBAAiB,EAGzD,OAAIC,EAAWQ,CAAa,GACxB,QAAQ,KAAK,+CAAqC,EAE3C,QAAQ,QAAQ,GASpBF,EAAeE,EANN;AAAA;AAAA;AAAA;AAAA,EAM8B,OAAO,CACzD,GAGC,SAAY,CACT,GAAI,CACA,MAAMD,EAAe,EAErB,QAAQ,IAAI,4CAAqC,EAEjDH,EAAK,CAAC,CACV,OAASK,EAAP,CACE,QAAQ,IAAI,kCAA2B,EACvC,QAAQ,MAAMA,CAAK,EAEnBL,EAAK,CAAC,CACV,CACJ,GAAG","sourcesContent":["import { hasDependencies, hasDevDependencies, pkg, projectPath } from \"@anolilab/package-json-utils\";\nimport { existsSync, writeFile } from \"node:fs\";\nimport { join } from \"node:path\";\nimport { env, exit } from \"node:process\";\nimport { promisify } from \"node:util\";\n\nif (env[\"CI\"]) {\n exit(0);\n}\n\nconst writeFileAsync = promisify(writeFile);\n\nconsole.log(\"Configuring @anolilab/semantic-release-preset\", projectPath, \"\\n\");\n\n/**\n * Writes .releaserc.json if it doesn't exist. Warns if it exists.\n */\nconst writeReleaseRc = () => {\n if (\n pkg &&\n (hasDevDependencies([\"multi-semantic-release\", \"@qiwi/multi-semantic-release\"]) ||\n hasDependencies([\"multi-semantic-release\", \"@qiwi/multi-semantic-release\"]))\n ) {\n console.warn(\"⚠️ found use of multi-semantic-release;\");\n\n return Promise.resolve();\n }\n\n const releaseRcPath = join(projectPath, \".releaserc.json\");\n\n // eslint-disable-next-line security/detect-non-literal-fs-filename\n if (existsSync(releaseRcPath)) {\n console.warn(\"⚠️ .releaserc.json already exists;\");\n\n return Promise.resolve();\n }\n\n const content = `{\n \"extends\": \"@anolilab/semantic-release-preset/npm\"\n}\n\n`;\n\n return writeFileAsync(releaseRcPath, content, \"utf-8\");\n};\n\n// eslint-disable-next-line unicorn/prefer-top-level-await\n(async () => {\n try {\n await writeReleaseRc();\n\n console.log(\"😎 Everything went well, have fun!\");\n\n exit(0);\n } catch (error) {\n console.log(\"😬 something went wrong:\");\n console.error(error);\n\n exit(1);\n }\n})();\n"]}
@@ -1,13 +1,14 @@
1
- import { projectPath, pkg, hasDevelopmentDep, hasDep } from '@anolilab/package-json-utils';
1
+ import { projectPath, pkg, hasDevDependencies, hasDependencies } from '@anolilab/package-json-utils';
2
2
  import { writeFile, existsSync } from 'fs';
3
3
  import { join } from 'path';
4
+ import { env, exit } from 'process';
4
5
  import { promisify } from 'util';
5
6
 
6
- process.env.CI&&process.exit(0);var c=promisify(writeFile);console.log("Configuring @anolilab/semantic-release-preset",projectPath,`
7
- `);var m=()=>{if(pkg&&(hasDevelopmentDep(["multi-semantic-release","@qiwi/multi-semantic-release"])||hasDep(["multi-semantic-release","@qiwi/multi-semantic-release"])))return console.warn("\u26A0\uFE0F found use of multi-semantic-release;"),Promise.resolve();let e=join(projectPath,".releaserc.json");return existsSync(e)?(console.warn("\u26A0\uFE0F .releaserc.json already exists;"),Promise.resolve()):c(e,`{
7
+ env.CI&&exit(0);var f=promisify(writeFile);console.log("Configuring @anolilab/semantic-release-preset",projectPath,`
8
+ `);var p=()=>{if(pkg&&(hasDevDependencies(["multi-semantic-release","@qiwi/multi-semantic-release"])||hasDependencies(["multi-semantic-release","@qiwi/multi-semantic-release"])))return console.warn("\u26A0\uFE0F found use of multi-semantic-release;"),Promise.resolve();let e=join(projectPath,".releaserc.json");return existsSync(e)?(console.warn("\u26A0\uFE0F .releaserc.json already exists;"),Promise.resolve()):f(e,`{
8
9
  "extends": "@anolilab/semantic-release-preset/npm"
9
10
  }
10
11
 
11
- `,"utf-8")};(async()=>{try{await m(),console.log("\u{1F60E} Everything went well, have fun!"),process.exit(0);}catch(e){console.log("\u{1F62C} something went wrong:"),console.error(e),process.exit(1);}})();
12
+ `,"utf-8")};(async()=>{try{await p(),console.log("\u{1F60E} Everything went well, have fun!"),exit(0);}catch(e){console.log("\u{1F62C} something went wrong:"),console.error(e),exit(1);}})();
12
13
  //# sourceMappingURL=out.js.map
13
14
  //# sourceMappingURL=postinstall.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/postinstall.ts"],"names":["hasDep","hasDevelopmentDep","pkg","projectPath","existsSync","writeFile","join","promisify","writeFileAsync","writeReleaseRc","releaseRcPath","error"],"mappings":"AAAA,OACC,UAAAA,EAAQ,qBAAAC,EAAmB,OAAAC,EAAK,eAAAC,MAC1B,+BACP,OAAS,cAAAC,EAAY,aAAAC,MAAiB,KACtC,OAAS,QAAAC,MAAY,OACrB,OAAS,aAAAC,MAAiB,OAEtB,QAAQ,IAAI,IAEZ,QAAQ,KAAK,CAAC,EAGlB,IAAMC,EAAiBD,EAAUF,CAAS,EAE1C,QAAQ,IAAI,gDAAiDF,EAAa;AAAA,CAAI,EAK9E,IAAMM,EAAiB,IAAM,CACzB,GACIP,IACID,EAAkB,CAAC,yBAA0B,8BAA8B,CAAC,GAAKD,EAAO,CAAC,yBAA0B,8BAA8B,CAAC,GAEtJ,eAAQ,KAAK,oDAA0C,EAEhD,QAAQ,QAAQ,EAG3B,IAAMU,EAAgBJ,EAAKH,EAAa,iBAAiB,EAEzD,OAAIC,EAAWM,CAAa,GACxB,QAAQ,KAAK,+CAAqC,EAE3C,QAAQ,QAAQ,GASpBF,EAAeE,EANN;AAAA;AAAA;AAAA;AAAA,EAM8B,OAAO,CACzD,GAGC,SAAY,CACT,GAAI,CACA,MAAMD,EAAe,EAErB,QAAQ,IAAI,4CAAqC,EAGjD,QAAQ,KAAK,CAAC,CAClB,OAASE,EAAP,CACE,QAAQ,IAAI,kCAA2B,EACvC,QAAQ,MAAMA,CAAK,EAGnB,QAAQ,KAAK,CAAC,CAClB,CACJ,GAAG","sourcesContent":["import {\n hasDep, hasDevelopmentDep, pkg, projectPath\n} from \"@anolilab/package-json-utils\";\nimport { existsSync, writeFile } from \"node:fs\";\nimport { join } from \"node:path\";\nimport { promisify } from \"node:util\";\n\nif (process.env[\"CI\"]) {\n // eslint-disable-next-line unicorn/no-process-exit\n process.exit(0);\n}\n\nconst writeFileAsync = promisify(writeFile);\n\nconsole.log(\"Configuring @anolilab/semantic-release-preset\", projectPath, \"\\n\");\n\n/**\n * Writes .releaserc.json if it doesn't exist. Warns if it exists.\n */\nconst writeReleaseRc = () => {\n if (\n pkg\n && (hasDevelopmentDep([\"multi-semantic-release\", \"@qiwi/multi-semantic-release\"]) || hasDep([\"multi-semantic-release\", \"@qiwi/multi-semantic-release\"]))\n ) {\n console.warn(\"⚠️ found use of multi-semantic-release;\");\n\n return Promise.resolve();\n }\n\n const releaseRcPath = join(projectPath, \".releaserc.json\");\n\n if (existsSync(releaseRcPath)) {\n console.warn(\"⚠️ .releaserc.json already exists;\");\n\n return Promise.resolve();\n }\n\n const content = `{\n \"extends\": \"@anolilab/semantic-release-preset/npm\"\n}\n\n`;\n\n return writeFileAsync(releaseRcPath, content, \"utf-8\");\n};\n\n// eslint-disable-next-line unicorn/prefer-top-level-await\n(async () => {\n try {\n await writeReleaseRc();\n\n console.log(\"😎 Everything went well, have fun!\");\n\n // eslint-disable-next-line unicorn/no-process-exit\n process.exit(0);\n } catch (error) {\n console.log(\"😬 something went wrong:\");\n console.error(error);\n\n // eslint-disable-next-line unicorn/no-process-exit\n process.exit(1);\n }\n})();\n"]}
1
+ {"version":3,"sources":["../src/postinstall.ts"],"names":["hasDependencies","hasDevDependencies","pkg","projectPath","existsSync","writeFile","join","env","exit","promisify","writeFileAsync","writeReleaseRc","releaseRcPath","error"],"mappings":"AAAA,OAAS,mBAAAA,EAAiB,sBAAAC,EAAoB,OAAAC,EAAK,eAAAC,MAAmB,+BACtE,OAAS,cAAAC,EAAY,aAAAC,MAAiB,KACtC,OAAS,QAAAC,MAAY,OACrB,OAAS,OAAAC,EAAK,QAAAC,MAAY,UAC1B,OAAS,aAAAC,MAAiB,OAEtBF,EAAI,IACJC,EAAK,CAAC,EAGV,IAAME,EAAiBD,EAAUJ,CAAS,EAE1C,QAAQ,IAAI,gDAAiDF,EAAa;AAAA,CAAI,EAK9E,IAAMQ,EAAiB,IAAM,CACzB,GACIT,IACCD,EAAmB,CAAC,yBAA0B,8BAA8B,CAAC,GAC1ED,EAAgB,CAAC,yBAA0B,8BAA8B,CAAC,GAE9E,eAAQ,KAAK,oDAA0C,EAEhD,QAAQ,QAAQ,EAG3B,IAAMY,EAAgBN,EAAKH,EAAa,iBAAiB,EAGzD,OAAIC,EAAWQ,CAAa,GACxB,QAAQ,KAAK,+CAAqC,EAE3C,QAAQ,QAAQ,GASpBF,EAAeE,EANN;AAAA;AAAA;AAAA;AAAA,EAM8B,OAAO,CACzD,GAGC,SAAY,CACT,GAAI,CACA,MAAMD,EAAe,EAErB,QAAQ,IAAI,4CAAqC,EAEjDH,EAAK,CAAC,CACV,OAASK,EAAP,CACE,QAAQ,IAAI,kCAA2B,EACvC,QAAQ,MAAMA,CAAK,EAEnBL,EAAK,CAAC,CACV,CACJ,GAAG","sourcesContent":["import { hasDependencies, hasDevDependencies, pkg, projectPath } from \"@anolilab/package-json-utils\";\nimport { existsSync, writeFile } from \"node:fs\";\nimport { join } from \"node:path\";\nimport { env, exit } from \"node:process\";\nimport { promisify } from \"node:util\";\n\nif (env[\"CI\"]) {\n exit(0);\n}\n\nconst writeFileAsync = promisify(writeFile);\n\nconsole.log(\"Configuring @anolilab/semantic-release-preset\", projectPath, \"\\n\");\n\n/**\n * Writes .releaserc.json if it doesn't exist. Warns if it exists.\n */\nconst writeReleaseRc = () => {\n if (\n pkg &&\n (hasDevDependencies([\"multi-semantic-release\", \"@qiwi/multi-semantic-release\"]) ||\n hasDependencies([\"multi-semantic-release\", \"@qiwi/multi-semantic-release\"]))\n ) {\n console.warn(\"⚠️ found use of multi-semantic-release;\");\n\n return Promise.resolve();\n }\n\n const releaseRcPath = join(projectPath, \".releaserc.json\");\n\n // eslint-disable-next-line security/detect-non-literal-fs-filename\n if (existsSync(releaseRcPath)) {\n console.warn(\"⚠️ .releaserc.json already exists;\");\n\n return Promise.resolve();\n }\n\n const content = `{\n \"extends\": \"@anolilab/semantic-release-preset/npm\"\n}\n\n`;\n\n return writeFileAsync(releaseRcPath, content, \"utf-8\");\n};\n\n// eslint-disable-next-line unicorn/prefer-top-level-await\n(async () => {\n try {\n await writeReleaseRc();\n\n console.log(\"😎 Everything went well, have fun!\");\n\n exit(0);\n } catch (error) {\n console.log(\"😬 something went wrong:\");\n console.error(error);\n\n exit(1);\n }\n})();\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anolilab/semantic-release-preset",
3
- "version": "4.0.3",
3
+ "version": "5.0.0",
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": "2.0.0",
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,9 +80,10 @@
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",
84
85
  "tsup": "^7.1.0",
85
- "vitest": "^0.32.2"
86
+ "vitest": "^0.32.4"
86
87
  },
87
88
  "peerDependencies": {
88
89
  "semantic-release": "^21.0.0"