semantic-release-config-kuzzle 1.7.1-develop.1 → 1.7.2-develop.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/dist/plugins.d.ts CHANGED
@@ -1,7 +1,3 @@
1
1
  import { PluginSpec } from "semantic-release";
2
- /**
3
- * Default plugins configuration.
4
- * Main thing here is to use a different changelog file depending on the release channel.
5
- */
6
2
  declare const plugins: PluginSpec[];
7
3
  export { plugins };
package/dist/plugins.js CHANGED
@@ -9,6 +9,34 @@ const workspacePkgFiles = (0, workspaces_1.getWorkspacePackageJsonFiles)();
9
9
  * Default plugins configuration.
10
10
  * Main thing here is to use a different changelog file depending on the release channel.
11
11
  */
12
+ /**
13
+ * The conventionalcommits preset hides `chore` from the release notes, while
14
+ * this config promotes `chore(deps)` to a minor release. A dependency bump
15
+ * therefore ships a minor whose notes say nothing about it, and a release made
16
+ * only of dependency work gets an empty changelog entry.
17
+ *
18
+ * Two constraints shape the list below. `findTypeEntry` returns the first
19
+ * match and only compares `scope` when the entry declares one, so the scoped
20
+ * entry has to come before the bare `chore` one. And passing `types` replaces
21
+ * the preset's list instead of extending it, which is why the defaults are
22
+ * restated: the preset is ESM-only, so its DEFAULT_COMMIT_TYPES cannot be
23
+ * imported from this CommonJS build.
24
+ */
25
+ const commitTypes = [
26
+ { scope: "deps", section: "Dependencies", type: "chore" },
27
+ { section: "Features", type: "feat" },
28
+ { section: "Features", type: "feature" },
29
+ { section: "Bug Fixes", type: "fix" },
30
+ { section: "Performance Improvements", type: "perf" },
31
+ { section: "Reverts", type: "revert" },
32
+ { hidden: true, section: "Documentation", type: "docs" },
33
+ { hidden: true, section: "Styles", type: "style" },
34
+ { hidden: true, section: "Miscellaneous Chores", type: "chore" },
35
+ { hidden: true, section: "Code Refactoring", type: "refactor" },
36
+ { hidden: true, section: "Tests", type: "test" },
37
+ { hidden: true, section: "Build System", type: "build" },
38
+ { hidden: true, section: "Continuous Integration", type: "ci" },
39
+ ];
12
40
  const plugins = [
13
41
  [
14
42
  "@semantic-release/commit-analyzer",
@@ -19,7 +47,13 @@ const plugins = [
19
47
  ],
20
48
  [
21
49
  "@semantic-release/release-notes-generator",
22
- { preset: "conventionalcommits" },
50
+ {
51
+ preset: "conventionalcommits",
52
+ // Only the notes generator is configured: the commit analyzer keeps its
53
+ // own preset and releaseRules, so how the version is computed is
54
+ // untouched.
55
+ presetConfig: { types: commitTypes },
56
+ },
23
57
  ],
24
58
  [
25
59
  "@semantic-release/changelog",
@@ -1 +1 @@
1
- {"version":3,"file":"plugins.js","sourceRoot":"","sources":["../lib/plugins.ts"],"names":[],"mappings":";;;AAEA,yCAA+C;AAC/C,uDAAmD;AACnD,6CAA4D;AAE5D,MAAM,iBAAiB,GAAG,IAAA,yCAA4B,GAAE,CAAC;AAEzD;;;GAGG;AACH,MAAM,OAAO,GAAiB;IAC5B;QACE,mCAAmC;QACnC;YACE,MAAM,EAAE,qBAAqB;YAC7B,YAAY,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC;SACnE;KACF;IACD;QACE,2CAA2C;QAC3C,EAAE,MAAM,EAAE,qBAAqB,EAAE;KAClC;IACD;QACE,6BAA6B;QAC7B;YACE,aAAa,EAAE,wBAAwB,gCAAc,KAAK;SAC3D;KACF;CACF,CAAC;AAsFO,0BAAO;AApFhB,IAAI,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,CAAC;IAC7B,OAAO,CAAC,IAAI,CAAC,0BAA0B,CAAC,CAAC;AAC3C,CAAC;AAED,MAAM,kBAAkB,GAAG,OAAO,CAAC,GAAG,CAAC,4BAA4B,KAAK,MAAM,CAAC;AAE/E,IAAI,kBAAkB,IAAI,iBAAiB,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;IACzD,OAAO,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;AACxC,CAAC;KAAM,CAAC;IACN,OAA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AAwB;QACxB;YACE,UAAU,EAAE,gBAAgB;YAC5B,UAAU,EAAE,kBAAkB;gBAC5B,CAAC,CAAC,+CAA+C,MAAM,EAAE;gBACzD,CAAC,CAAC,SAAS;SACd;KACF,CAAC,CAAC;AACL,CAAC;AAED,IAAI,OAAO,CAAC,GAAG,CAAC,8BAA8B,EAAE,CAAC;IAC/C,OAAO,CAAC,IAAI,CAAC;QACX,4BAA4B;QAC5B;YACE,YAAY,EAAE,KAAK;YACnB,eAAe,EAAE,IAAI;YACrB,YAAY,EAAE,OAAO,CAAC,GAAG,CAAC,8BAA8B;SACzD;KACF,CAAC,CAAC;AACL,CAAC;AAED;;;GAGG;AACH,OAAO,CAAC,IAAI,CAAC;IACX,uBAAuB;IACvB;QACE,MAAM,EAAE;YACN,wBAAwB,gCAAc,KAAK;YAC3C,cAAc;YACd,mBAAmB;YACnB,gBAAgB;YAChB,WAAW;YACX,GAAG,iBAAiB;SACrB;KACF;CACF,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "semantic-release-config-kuzzle",
3
- "version": "1.7.1-develop.1",
3
+ "version": "1.7.2-develop.1",
4
4
  "description": "The semantic-release shareable config we use for Kuzzle projects.",
5
5
  "repository": {
6
6
  "type": "git",