@anolilab/semantic-release-preset 7.0.0 → 7.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.
package/CHANGELOG.md CHANGED
@@ -1,20 +1,44 @@
1
+ ## @anolilab/semantic-release-preset [7.0.1](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/semantic-release-preset@7.0.0...@anolilab/semantic-release-preset@7.0.1) (2023-09-22)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * changed optionalDependencies to peerDependencies with peerDependenciesMeta ([2a21b86](https://github.com/anolilab/javascript-style-guide/commit/2a21b861f1ff60483f9ee5762579e4369fca5467))
7
+
1
8
  ## @anolilab/semantic-release-preset [7.0.0](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/semantic-release-preset@6.0.6...@anolilab/semantic-release-preset@7.0.0) (2023-09-21)
2
9
 
3
10
 
4
11
  ### ⚠ BREAKING CHANGES
5
12
 
6
- * updated semantic-release to v22 and conventional-changelog-conventionalcommits to v7
7
- Signed-off-by: prisis <d.bannert@anolilab.de>
13
+ ~~updated semantic-release to v22 and conventional-changelog-conventionalcommits to v7
14
+ Signed-off-by: prisis <d.bannert@anolilab.de>~~
15
+
16
+ > This was reverted because of missing support in @qiwi/multi-semantic-release
17
+
18
+ Dependecies are hard coded to
19
+
20
+ ```
21
+ "@semantic-release/changelog": "^6.0.3",
22
+ "@semantic-release/commit-analyzer": "10.0.4",
23
+ "@semantic-release/exec": "^6.0.3",
24
+ "@semantic-release/git": "^10.0.1",
25
+ "@semantic-release/github": "^9.0.6",
26
+ "@semantic-release/npm": "^11.0.0",
27
+ "@semantic-release/release-notes-generator": "11.0.7",
28
+ "conventional-changelog-conventionalcommits": "6.1.0"
29
+ ```
8
30
 
9
31
  ### Features
10
32
 
11
- * updated all semantic-release packages to the newest version ([d54b2d9](https://github.com/anolilab/javascript-style-guide/commit/d54b2d91407984bc2b5ae057d1b5d4abc56fde19))
33
+ ~~updated all semantic-release packages to the newest version ([d54b2d9](https://github.com/anolilab/javascript-style-guide/commit/d54b2d91407984bc2b5ae057d1b5d4abc56fde19))~~
12
34
 
13
35
 
14
36
  ### Bug Fixes
15
37
 
16
38
  * Downgrade semantic-release and conventional-changelog packages for compatibility ([62614d5](https://github.com/anolilab/javascript-style-guide/commit/62614d5787fc52d88a28fc10b141b0d81a471d87))
17
39
 
40
+
41
+
18
42
  ## @anolilab/semantic-release-preset [6.0.6](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/semantic-release-preset@6.0.5...@anolilab/semantic-release-preset@6.0.6) (2023-09-14)
19
43
 
20
44
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/postinstall.ts"],"names":["existsSync","writeFile","join","env","exit","promisify","hasDependencies","hasDevDependencies","pkg","projectPath","writeFileAsync","writeReleaseRc","releaseRcPath","error"],"mappings":"AAAA,OAAS,cAAAA,EAAY,aAAAC,MAAiB,KACtC,OAAS,QAAAC,MAAY,OACrB,OAAS,OAAAC,EAAK,QAAAC,MAAY,UAC1B,OAAS,aAAAC,MAAiB,OAE1B,OAAS,mBAAAC,EAAiB,sBAAAC,EAAoB,OAAAC,EAAK,eAAAC,MAAmB,+BAElEN,EAAI,IACJC,EAAK,CAAC,EAGV,IAAMM,EAAiBL,EAAUJ,CAAS,EAE1C,QAAQ,IAAI,gDAAiDQ,EAAa;AAAA,CAAI,EAK9E,IAAME,EAAiB,SAAY,CAC/B,GACIH,IACCD,EAAmB,CAAC,yBAA0B,8BAA8B,CAAC,GAC1ED,EAAgB,CAAC,yBAA0B,8BAA8B,CAAC,GAChF,CACE,QAAQ,KAAK,oDAA0C,EAEvD,MACJ,CAEA,IAAMM,EAAgBV,EAAKO,EAAa,iBAAiB,EAGzD,GAAIT,EAAWY,CAAa,EAAG,CAC3B,QAAQ,KAAK,+CAAqC,EAElD,MACJ,CAQA,MAAMF,EAAeE,EANL;AAAA;AAAA;AAAA;AAAA,EAM6B,OAAO,CACxD,GAGC,SAAY,CACT,GAAI,CACA,MAAMD,EAAe,EAErB,QAAQ,IAAI,4CAAqC,EAEjDP,EAAK,CAAC,CACV,OAASS,EAAP,CACE,QAAQ,IAAI,kCAA2B,EACvC,QAAQ,MAAMA,CAAK,EAEnBT,EAAK,CAAC,CACV,CACJ,GAAG","sourcesContent":["import { existsSync, writeFile } from \"node:fs\";\nimport { join } from \"node:path\";\nimport { env, exit } from \"node:process\";\nimport { promisify } from \"node:util\";\n\nimport { hasDependencies, hasDevDependencies, pkg, projectPath } from \"@anolilab/package-json-utils\";\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 = async () => {\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;\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;\n }\n\n const content = `{\n \"extends\": \"@anolilab/semantic-release-preset/npm\"\n}\n\n`;\n\n await 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
+ {"version":3,"sources":["../src/postinstall.ts"],"names":["existsSync","writeFile","join","env","exit","promisify","hasDependencies","hasDevDependencies","pkg","projectPath","writeFileAsync","writeReleaseRc","releaseRcPath","error"],"mappings":"AAAA,OAAS,cAAAA,EAAY,aAAAC,MAAiB,KACtC,OAAS,QAAAC,MAAY,OACrB,OAAS,OAAAC,EAAK,QAAAC,MAAY,UAC1B,OAAS,aAAAC,MAAiB,OAE1B,OAAS,mBAAAC,EAAiB,sBAAAC,EAAoB,OAAAC,EAAK,eAAAC,MAAmB,+BAElEN,EAAI,IACJC,EAAK,CAAC,EAGV,IAAMM,EAAiBL,EAAUJ,CAAS,EAE1C,QAAQ,IAAI,gDAAiDQ,EAAa;AAAA,CAAI,EAK9E,IAAME,EAAiB,SAAY,CAC/B,GACIH,IACCD,EAAmB,CAAC,yBAA0B,8BAA8B,CAAC,GAC1ED,EAAgB,CAAC,yBAA0B,8BAA8B,CAAC,GAChF,CACE,QAAQ,KAAK,oDAA0C,EAEvD,MACJ,CAEA,IAAMM,EAAgBV,EAAKO,EAAa,iBAAiB,EAGzD,GAAIT,EAAWY,CAAa,EAAG,CAC3B,QAAQ,KAAK,+CAAqC,EAElD,MACJ,CAQA,MAAMF,EAAeE,EANL;AAAA;AAAA;AAAA;AAAA,EAM6B,OAAO,CACxD,GAGC,SAAY,CACT,GAAI,CACA,MAAMD,EAAe,EAErB,QAAQ,IAAI,4CAAqC,EAEjDP,EAAK,CAAC,CACV,OAASS,EAAO,CACZ,QAAQ,IAAI,kCAA2B,EACvC,QAAQ,MAAMA,CAAK,EAEnBT,EAAK,CAAC,CACV,CACJ,GAAG","sourcesContent":["import { existsSync, writeFile } from \"node:fs\";\nimport { join } from \"node:path\";\nimport { env, exit } from \"node:process\";\nimport { promisify } from \"node:util\";\n\nimport { hasDependencies, hasDevDependencies, pkg, projectPath } from \"@anolilab/package-json-utils\";\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 = async () => {\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;\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;\n }\n\n const content = `{\n \"extends\": \"@anolilab/semantic-release-preset/npm\"\n}\n\n`;\n\n await 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 +1 @@
1
- {"version":3,"sources":["../src/postinstall.ts"],"names":["existsSync","writeFile","join","env","exit","promisify","hasDependencies","hasDevDependencies","pkg","projectPath","writeFileAsync","writeReleaseRc","releaseRcPath","error"],"mappings":"AAAA,OAAS,cAAAA,EAAY,aAAAC,MAAiB,KACtC,OAAS,QAAAC,MAAY,OACrB,OAAS,OAAAC,EAAK,QAAAC,MAAY,UAC1B,OAAS,aAAAC,MAAiB,OAE1B,OAAS,mBAAAC,EAAiB,sBAAAC,EAAoB,OAAAC,EAAK,eAAAC,MAAmB,+BAElEN,EAAI,IACJC,EAAK,CAAC,EAGV,IAAMM,EAAiBL,EAAUJ,CAAS,EAE1C,QAAQ,IAAI,gDAAiDQ,EAAa;AAAA,CAAI,EAK9E,IAAME,EAAiB,SAAY,CAC/B,GACIH,IACCD,EAAmB,CAAC,yBAA0B,8BAA8B,CAAC,GAC1ED,EAAgB,CAAC,yBAA0B,8BAA8B,CAAC,GAChF,CACE,QAAQ,KAAK,oDAA0C,EAEvD,MACJ,CAEA,IAAMM,EAAgBV,EAAKO,EAAa,iBAAiB,EAGzD,GAAIT,EAAWY,CAAa,EAAG,CAC3B,QAAQ,KAAK,+CAAqC,EAElD,MACJ,CAQA,MAAMF,EAAeE,EANL;AAAA;AAAA;AAAA;AAAA,EAM6B,OAAO,CACxD,GAGC,SAAY,CACT,GAAI,CACA,MAAMD,EAAe,EAErB,QAAQ,IAAI,4CAAqC,EAEjDP,EAAK,CAAC,CACV,OAASS,EAAP,CACE,QAAQ,IAAI,kCAA2B,EACvC,QAAQ,MAAMA,CAAK,EAEnBT,EAAK,CAAC,CACV,CACJ,GAAG","sourcesContent":["import { existsSync, writeFile } from \"node:fs\";\nimport { join } from \"node:path\";\nimport { env, exit } from \"node:process\";\nimport { promisify } from \"node:util\";\n\nimport { hasDependencies, hasDevDependencies, pkg, projectPath } from \"@anolilab/package-json-utils\";\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 = async () => {\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;\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;\n }\n\n const content = `{\n \"extends\": \"@anolilab/semantic-release-preset/npm\"\n}\n\n`;\n\n await 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
+ {"version":3,"sources":["../src/postinstall.ts"],"names":["existsSync","writeFile","join","env","exit","promisify","hasDependencies","hasDevDependencies","pkg","projectPath","writeFileAsync","writeReleaseRc","releaseRcPath","error"],"mappings":"AAAA,OAAS,cAAAA,EAAY,aAAAC,MAAiB,KACtC,OAAS,QAAAC,MAAY,OACrB,OAAS,OAAAC,EAAK,QAAAC,MAAY,UAC1B,OAAS,aAAAC,MAAiB,OAE1B,OAAS,mBAAAC,EAAiB,sBAAAC,EAAoB,OAAAC,EAAK,eAAAC,MAAmB,+BAElEN,EAAI,IACJC,EAAK,CAAC,EAGV,IAAMM,EAAiBL,EAAUJ,CAAS,EAE1C,QAAQ,IAAI,gDAAiDQ,EAAa;AAAA,CAAI,EAK9E,IAAME,EAAiB,SAAY,CAC/B,GACIH,IACCD,EAAmB,CAAC,yBAA0B,8BAA8B,CAAC,GAC1ED,EAAgB,CAAC,yBAA0B,8BAA8B,CAAC,GAChF,CACE,QAAQ,KAAK,oDAA0C,EAEvD,MACJ,CAEA,IAAMM,EAAgBV,EAAKO,EAAa,iBAAiB,EAGzD,GAAIT,EAAWY,CAAa,EAAG,CAC3B,QAAQ,KAAK,+CAAqC,EAElD,MACJ,CAQA,MAAMF,EAAeE,EANL;AAAA;AAAA;AAAA;AAAA,EAM6B,OAAO,CACxD,GAGC,SAAY,CACT,GAAI,CACA,MAAMD,EAAe,EAErB,QAAQ,IAAI,4CAAqC,EAEjDP,EAAK,CAAC,CACV,OAASS,EAAO,CACZ,QAAQ,IAAI,kCAA2B,EACvC,QAAQ,MAAMA,CAAK,EAEnBT,EAAK,CAAC,CACV,CACJ,GAAG","sourcesContent":["import { existsSync, writeFile } from \"node:fs\";\nimport { join } from \"node:path\";\nimport { env, exit } from \"node:process\";\nimport { promisify } from \"node:util\";\n\nimport { hasDependencies, hasDevDependencies, pkg, projectPath } from \"@anolilab/package-json-utils\";\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 = async () => {\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;\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;\n }\n\n const content = `{\n \"extends\": \"@anolilab/semantic-release-preset/npm\"\n}\n\n`;\n\n await 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": "7.0.0",
3
+ "version": "7.0.1",
4
4
  "description": "Anolilab Coding Standard for semantic-release.",
5
5
  "keywords": [
6
6
  "anolilab",
@@ -77,7 +77,7 @@
77
77
  "@semantic-release/git": "^10.0.1",
78
78
  "@semantic-release/github": "^9.0.6",
79
79
  "@semantic-release/npm": "^11.0.0",
80
- "@semantic-release/release-notes-generator": "11.0.7",
80
+ "@semantic-release/release-notes-generator": "12.0.0",
81
81
  "conventional-changelog-conventionalcommits": "6.1.0"
82
82
  },
83
83
  "devDependencies": {