conventional-changelog-storm-software 0.3.93 → 0.3.97
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/README.md +1 -1
- package/dist/{chunk-3XSE7OXQ.cjs → chunk-34DKTHHF.cjs} +87 -40
- package/dist/{chunk-QQPFD35P.js → chunk-MTAXNPVC.js} +87 -39
- package/dist/{chunk-BQICBM4S.cjs → chunk-NDCLGZOF.cjs} +1 -1
- package/dist/commit-types.cjs +1 -1
- package/dist/configs/index.cjs +1 -1
- package/dist/configs/index.d.cts +3 -3
- package/dist/configs/index.d.ts +3 -3
- package/dist/configs/minimal.cjs +1 -1
- package/dist/configs/minimal.d.cts +2 -2
- package/dist/configs/minimal.d.ts +2 -2
- package/dist/configs/monorepo.cjs +1 -1
- package/dist/configs/monorepo.d.cts +4 -4
- package/dist/configs/monorepo.d.ts +4 -4
- package/dist/index.cjs +4 -4
- package/dist/index.js +1 -1
- package/dist/parser.cjs +3 -3
- package/dist/parser.js +1 -1
- package/dist/types/commit-types.cjs +1 -1
- package/dist/types/commitlint.cjs +1 -1
- package/dist/types/config.cjs +1 -1
- package/dist/types/index.cjs +1 -1
- package/dist/types/misc.cjs +1 -1
- package/dist/types/preset.cjs +1 -1
- package/dist/types/write.cjs +1 -1
- package/dist/utilities/constants.cjs +1 -1
- package/dist/utilities/helpers.cjs +1 -1
- package/dist/utilities/index.cjs +1 -1
- package/dist/utilities/nx-scopes.cjs +1 -1
- package/dist/whatBump.cjs +1 -1
- package/dist/writer.cjs +2 -2
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
27
27
|
|
|
28
28
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
29
29
|
|
|
30
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
31
31
|
|
|
32
32
|
<!-- prettier-ignore-start -->
|
|
33
33
|
<!-- markdownlint-disable -->
|
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var chunkBQICBM4S_cjs = require('./chunk-BQICBM4S.cjs');
|
|
4
|
-
var promises = require('fs/promises');
|
|
5
|
-
var path = require('path');
|
|
6
|
-
var url = require('url');
|
|
7
3
|
var compareFunc = require('compare-func');
|
|
8
4
|
|
|
9
5
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
6
|
|
|
11
7
|
var compareFunc__default = /*#__PURE__*/_interopDefault(compareFunc);
|
|
12
8
|
|
|
13
|
-
// ../../node_modules/.pnpm/conventional-changelog-conventionalcommits@9.
|
|
9
|
+
// ../../node_modules/.pnpm/conventional-changelog-conventionalcommits@9.3.0/node_modules/conventional-changelog-conventionalcommits/src/constants.js
|
|
14
10
|
var DEFAULT_COMMIT_TYPES = Object.freeze([
|
|
15
11
|
{
|
|
16
12
|
type: "feat",
|
|
@@ -69,7 +65,7 @@ var DEFAULT_COMMIT_TYPES = Object.freeze([
|
|
|
69
65
|
}
|
|
70
66
|
].map(Object.freeze));
|
|
71
67
|
|
|
72
|
-
// ../../node_modules/.pnpm/conventional-changelog-conventionalcommits@9.
|
|
68
|
+
// ../../node_modules/.pnpm/conventional-changelog-conventionalcommits@9.3.0/node_modules/conventional-changelog-conventionalcommits/src/parser.js
|
|
73
69
|
function createParserOpts(config) {
|
|
74
70
|
return {
|
|
75
71
|
headerPattern: /^(\w*)(?:\((.*)\))?!?: (.*)$/,
|
|
@@ -86,7 +82,7 @@ function createParserOpts(config) {
|
|
|
86
82
|
};
|
|
87
83
|
}
|
|
88
84
|
|
|
89
|
-
// ../../node_modules/.pnpm/conventional-changelog-conventionalcommits@9.
|
|
85
|
+
// ../../node_modules/.pnpm/conventional-changelog-conventionalcommits@9.3.0/node_modules/conventional-changelog-conventionalcommits/src/utils.js
|
|
90
86
|
function hasIntersection(a, b) {
|
|
91
87
|
if (!a || !b) {
|
|
92
88
|
return false;
|
|
@@ -113,14 +109,80 @@ function matchScope(config = {}, commit) {
|
|
|
113
109
|
return !targetScope || scopeOnly && includesScope || !scopeOnly && (!commit.scope || includesScope);
|
|
114
110
|
}
|
|
115
111
|
|
|
116
|
-
// ../../node_modules/.pnpm/conventional-changelog-conventionalcommits@9.
|
|
117
|
-
var
|
|
112
|
+
// ../../node_modules/.pnpm/conventional-changelog-conventionalcommits@9.3.0/node_modules/conventional-changelog-conventionalcommits/src/templates.js
|
|
113
|
+
var mainTemplate = `{{> header}}
|
|
114
|
+
{{#if noteGroups}}
|
|
115
|
+
{{#each noteGroups}}
|
|
116
|
+
|
|
117
|
+
### \u26A0 {{title}}
|
|
118
|
+
|
|
119
|
+
{{#each notes}}
|
|
120
|
+
* {{#if commit.scope}}**{{commit.scope}}:** {{/if}}{{text}}
|
|
121
|
+
{{/each}}
|
|
122
|
+
{{/each}}
|
|
123
|
+
{{/if}}
|
|
124
|
+
{{#each commitGroups}}
|
|
125
|
+
|
|
126
|
+
{{#if title}}
|
|
127
|
+
### {{title}}
|
|
128
|
+
|
|
129
|
+
{{/if}}
|
|
130
|
+
{{#each commits}}
|
|
131
|
+
{{> commit root=@root}}
|
|
132
|
+
{{/each}}
|
|
133
|
+
{{/each}}
|
|
134
|
+
{{> footer}}
|
|
135
|
+
`;
|
|
136
|
+
var headerPartial = `## {{#if @root.linkCompare~}}
|
|
137
|
+
[{{version}}]({{compareUrlFormat}})
|
|
138
|
+
{{~else}}
|
|
139
|
+
{{~version}}
|
|
140
|
+
{{~/if}}
|
|
141
|
+
{{~#if title}} "{{title}}"
|
|
142
|
+
{{~/if}}
|
|
143
|
+
{{~#if date}} ({{date}})
|
|
144
|
+
{{/if}}
|
|
145
|
+
`;
|
|
146
|
+
var commitPartial = `*{{#if scope}} **{{scope}}:**
|
|
147
|
+
{{~/if}} {{#if subject}}
|
|
148
|
+
{{~subject}}
|
|
149
|
+
{{~else}}
|
|
150
|
+
{{~header}}
|
|
151
|
+
{{~/if}}
|
|
152
|
+
|
|
153
|
+
{{~!-- commit link --}}{{~#if hash}} {{#if @root.linkReferences~}}
|
|
154
|
+
([{{shortHash}}]({{commitUrlFormat}}))
|
|
155
|
+
{{~else}}
|
|
156
|
+
{{~shortHash}}
|
|
157
|
+
{{~/if}}{{~/if}}
|
|
158
|
+
|
|
159
|
+
{{~!-- commit references --}}
|
|
160
|
+
{{~#if references~}}
|
|
161
|
+
, closes
|
|
162
|
+
{{~#each references}} {{#if @root.linkReferences~}}
|
|
163
|
+
[
|
|
164
|
+
{{~#if this.owner}}
|
|
165
|
+
{{~this.owner}}/
|
|
166
|
+
{{~/if}}
|
|
167
|
+
{{~this.repository}}{{this.prefix}}{{this.issue}}]({{issueUrlFormat}})
|
|
168
|
+
{{~else}}
|
|
169
|
+
{{~#if this.owner}}
|
|
170
|
+
{{~this.owner}}/
|
|
171
|
+
{{~/if}}
|
|
172
|
+
{{~this.repository}}{{this.prefix}}{{this.issue}}
|
|
173
|
+
{{~/if}}{{/each}}
|
|
174
|
+
{{~/if}}
|
|
175
|
+
|
|
176
|
+
`;
|
|
177
|
+
var footerPartial = ``;
|
|
178
|
+
|
|
179
|
+
// ../../node_modules/.pnpm/conventional-changelog-conventionalcommits@9.3.0/node_modules/conventional-changelog-conventionalcommits/src/writer.js
|
|
118
180
|
var COMMIT_HASH_LENGTH = 7;
|
|
119
181
|
var releaseAsRegex = /release-as:\s*\w*@?([0-9]+\.[0-9]+\.[0-9a-z]+(-[0-9a-z.]+)?)\s*/i;
|
|
120
182
|
var owner = "{{#if this.owner}}{{~this.owner}}{{else}}{{~@root.owner}}{{/if}}";
|
|
121
183
|
var host = "{{~@root.host}}";
|
|
122
184
|
var repository = "{{#if this.repository}}{{~this.repository}}{{else}}{{~@root.repository}}{{/if}}";
|
|
123
|
-
|
|
185
|
+
function createWriterOpts(config) {
|
|
124
186
|
const finalConfig = {
|
|
125
187
|
types: DEFAULT_COMMIT_TYPES,
|
|
126
188
|
issueUrlFormat: "{{host}}/{{owner}}/{{repository}}/issues/{{id}}",
|
|
@@ -147,31 +209,16 @@ async function createWriterOpts(config) {
|
|
|
147
209
|
id: "{{this.issue}}",
|
|
148
210
|
prefix: "{{this.prefix}}"
|
|
149
211
|
});
|
|
150
|
-
const
|
|
151
|
-
template,
|
|
152
|
-
header,
|
|
153
|
-
commit,
|
|
154
|
-
footer
|
|
155
|
-
] = await Promise.all([
|
|
156
|
-
promises.readFile(path.resolve(dirname, "./templates/template.hbs"), "utf-8"),
|
|
157
|
-
promises.readFile(path.resolve(dirname, "./templates/header.hbs"), "utf-8"),
|
|
158
|
-
promises.readFile(path.resolve(dirname, "./templates/commit.hbs"), "utf-8"),
|
|
159
|
-
promises.readFile(path.resolve(dirname, "./templates/footer.hbs"), "utf-8")
|
|
160
|
-
]);
|
|
161
|
-
const writerOpts = getWriterOpts(finalConfig);
|
|
162
|
-
writerOpts.mainTemplate = template;
|
|
163
|
-
writerOpts.headerPartial = header.replace(/{{compareUrlFormat}}/g, compareUrlFormat);
|
|
164
|
-
writerOpts.commitPartial = commit.replace(/{{commitUrlFormat}}/g, commitUrlFormat).replace(/{{issueUrlFormat}}/g, issueUrlFormat);
|
|
165
|
-
writerOpts.footerPartial = footer;
|
|
166
|
-
return writerOpts;
|
|
167
|
-
}
|
|
168
|
-
function getWriterOpts(config) {
|
|
169
|
-
const commitGroupOrder = config.types.flatMap((t) => t.section).filter((t) => t);
|
|
212
|
+
const commitGroupOrder = finalConfig.types.flatMap((t) => t.section).filter((t) => t);
|
|
170
213
|
return {
|
|
214
|
+
mainTemplate,
|
|
215
|
+
headerPartial: headerPartial.replace(/{{compareUrlFormat}}/g, compareUrlFormat),
|
|
216
|
+
commitPartial: commitPartial.replace(/{{commitUrlFormat}}/g, commitUrlFormat).replace(/{{issueUrlFormat}}/g, issueUrlFormat),
|
|
217
|
+
footerPartial,
|
|
171
218
|
transform: (commit, context) => {
|
|
172
219
|
let discard = true;
|
|
173
220
|
const issues = [];
|
|
174
|
-
const entry = findTypeEntry(
|
|
221
|
+
const entry = findTypeEntry(finalConfig.types, commit);
|
|
175
222
|
if (commit.footer && releaseAsRegex.test(commit.footer) || commit.body && releaseAsRegex.test(commit.body)) {
|
|
176
223
|
discard = false;
|
|
177
224
|
}
|
|
@@ -184,20 +231,20 @@ function getWriterOpts(config) {
|
|
|
184
231
|
});
|
|
185
232
|
if (
|
|
186
233
|
// breaking changes attached to any type are still displayed.
|
|
187
|
-
discard && (entry === void 0 || entry.hidden) || !matchScope(
|
|
234
|
+
discard && (entry === void 0 || entry.hidden) || !matchScope(finalConfig, commit)
|
|
188
235
|
) {
|
|
189
236
|
return void 0;
|
|
190
237
|
}
|
|
191
238
|
const type = entry ? entry.section : commit.type;
|
|
192
|
-
const scope = commit.scope === "*" ||
|
|
239
|
+
const scope = commit.scope === "*" || finalConfig.scope ? "" : commit.scope;
|
|
193
240
|
const shortHash = typeof commit.hash === "string" ? commit.hash.substring(0, COMMIT_HASH_LENGTH) : commit.shortHash;
|
|
194
241
|
let { subject } = commit;
|
|
195
242
|
if (typeof subject === "string") {
|
|
196
|
-
const issueRegEx = `(${
|
|
243
|
+
const issueRegEx = `(${finalConfig.issuePrefixes.join("|")})([a-z0-9]+)`;
|
|
197
244
|
const re = new RegExp(issueRegEx, "g");
|
|
198
245
|
subject = subject.replace(re, (_, prefix, issue) => {
|
|
199
246
|
issues.push(prefix + issue);
|
|
200
|
-
const url = expandTemplate(
|
|
247
|
+
const url = expandTemplate(finalConfig.issueUrlFormat, {
|
|
201
248
|
host: context.host,
|
|
202
249
|
owner: context.owner,
|
|
203
250
|
repository: context.repository,
|
|
@@ -210,7 +257,7 @@ function getWriterOpts(config) {
|
|
|
210
257
|
if (user.includes("/")) {
|
|
211
258
|
return `@${user}`;
|
|
212
259
|
}
|
|
213
|
-
const usernameUrl = expandTemplate(
|
|
260
|
+
const usernameUrl = expandTemplate(finalConfig.userUrlFormat, {
|
|
214
261
|
host: context.host,
|
|
215
262
|
owner: context.owner,
|
|
216
263
|
repository: context.repository,
|
|
@@ -262,7 +309,7 @@ function expandTemplate(template, context) {
|
|
|
262
309
|
return expanded;
|
|
263
310
|
}
|
|
264
311
|
|
|
265
|
-
// ../../node_modules/.pnpm/conventional-changelog-conventionalcommits@9.
|
|
312
|
+
// ../../node_modules/.pnpm/conventional-changelog-conventionalcommits@9.3.0/node_modules/conventional-changelog-conventionalcommits/src/whatBump.js
|
|
266
313
|
function createWhatBump(config = {}) {
|
|
267
314
|
const {
|
|
268
315
|
types = DEFAULT_COMMIT_TYPES,
|
|
@@ -307,15 +354,15 @@ function createWhatBump(config = {}) {
|
|
|
307
354
|
};
|
|
308
355
|
}
|
|
309
356
|
|
|
310
|
-
// ../../node_modules/.pnpm/conventional-changelog-conventionalcommits@9.
|
|
311
|
-
|
|
357
|
+
// ../../node_modules/.pnpm/conventional-changelog-conventionalcommits@9.3.0/node_modules/conventional-changelog-conventionalcommits/src/index.js
|
|
358
|
+
function createPreset(config) {
|
|
312
359
|
return {
|
|
313
360
|
commits: {
|
|
314
361
|
ignore: config?.ignoreCommits,
|
|
315
362
|
merges: false
|
|
316
363
|
},
|
|
317
364
|
parser: createParserOpts(config),
|
|
318
|
-
writer:
|
|
365
|
+
writer: createWriterOpts(config),
|
|
319
366
|
whatBump: createWhatBump(config)
|
|
320
367
|
};
|
|
321
368
|
}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import { readFile } from 'fs/promises';
|
|
2
|
-
import { resolve } from 'path';
|
|
3
|
-
import { fileURLToPath } from 'url';
|
|
4
1
|
import compareFunc from 'compare-func';
|
|
5
2
|
|
|
6
|
-
// ../../node_modules/.pnpm/conventional-changelog-conventionalcommits@9.
|
|
3
|
+
// ../../node_modules/.pnpm/conventional-changelog-conventionalcommits@9.3.0/node_modules/conventional-changelog-conventionalcommits/src/constants.js
|
|
7
4
|
var DEFAULT_COMMIT_TYPES = Object.freeze([
|
|
8
5
|
{
|
|
9
6
|
type: "feat",
|
|
@@ -62,7 +59,7 @@ var DEFAULT_COMMIT_TYPES = Object.freeze([
|
|
|
62
59
|
}
|
|
63
60
|
].map(Object.freeze));
|
|
64
61
|
|
|
65
|
-
// ../../node_modules/.pnpm/conventional-changelog-conventionalcommits@9.
|
|
62
|
+
// ../../node_modules/.pnpm/conventional-changelog-conventionalcommits@9.3.0/node_modules/conventional-changelog-conventionalcommits/src/parser.js
|
|
66
63
|
function createParserOpts(config) {
|
|
67
64
|
return {
|
|
68
65
|
headerPattern: /^(\w*)(?:\((.*)\))?!?: (.*)$/,
|
|
@@ -79,7 +76,7 @@ function createParserOpts(config) {
|
|
|
79
76
|
};
|
|
80
77
|
}
|
|
81
78
|
|
|
82
|
-
// ../../node_modules/.pnpm/conventional-changelog-conventionalcommits@9.
|
|
79
|
+
// ../../node_modules/.pnpm/conventional-changelog-conventionalcommits@9.3.0/node_modules/conventional-changelog-conventionalcommits/src/utils.js
|
|
83
80
|
function hasIntersection(a, b) {
|
|
84
81
|
if (!a || !b) {
|
|
85
82
|
return false;
|
|
@@ -106,14 +103,80 @@ function matchScope(config = {}, commit) {
|
|
|
106
103
|
return !targetScope || scopeOnly && includesScope || !scopeOnly && (!commit.scope || includesScope);
|
|
107
104
|
}
|
|
108
105
|
|
|
109
|
-
// ../../node_modules/.pnpm/conventional-changelog-conventionalcommits@9.
|
|
110
|
-
var
|
|
106
|
+
// ../../node_modules/.pnpm/conventional-changelog-conventionalcommits@9.3.0/node_modules/conventional-changelog-conventionalcommits/src/templates.js
|
|
107
|
+
var mainTemplate = `{{> header}}
|
|
108
|
+
{{#if noteGroups}}
|
|
109
|
+
{{#each noteGroups}}
|
|
110
|
+
|
|
111
|
+
### \u26A0 {{title}}
|
|
112
|
+
|
|
113
|
+
{{#each notes}}
|
|
114
|
+
* {{#if commit.scope}}**{{commit.scope}}:** {{/if}}{{text}}
|
|
115
|
+
{{/each}}
|
|
116
|
+
{{/each}}
|
|
117
|
+
{{/if}}
|
|
118
|
+
{{#each commitGroups}}
|
|
119
|
+
|
|
120
|
+
{{#if title}}
|
|
121
|
+
### {{title}}
|
|
122
|
+
|
|
123
|
+
{{/if}}
|
|
124
|
+
{{#each commits}}
|
|
125
|
+
{{> commit root=@root}}
|
|
126
|
+
{{/each}}
|
|
127
|
+
{{/each}}
|
|
128
|
+
{{> footer}}
|
|
129
|
+
`;
|
|
130
|
+
var headerPartial = `## {{#if @root.linkCompare~}}
|
|
131
|
+
[{{version}}]({{compareUrlFormat}})
|
|
132
|
+
{{~else}}
|
|
133
|
+
{{~version}}
|
|
134
|
+
{{~/if}}
|
|
135
|
+
{{~#if title}} "{{title}}"
|
|
136
|
+
{{~/if}}
|
|
137
|
+
{{~#if date}} ({{date}})
|
|
138
|
+
{{/if}}
|
|
139
|
+
`;
|
|
140
|
+
var commitPartial = `*{{#if scope}} **{{scope}}:**
|
|
141
|
+
{{~/if}} {{#if subject}}
|
|
142
|
+
{{~subject}}
|
|
143
|
+
{{~else}}
|
|
144
|
+
{{~header}}
|
|
145
|
+
{{~/if}}
|
|
146
|
+
|
|
147
|
+
{{~!-- commit link --}}{{~#if hash}} {{#if @root.linkReferences~}}
|
|
148
|
+
([{{shortHash}}]({{commitUrlFormat}}))
|
|
149
|
+
{{~else}}
|
|
150
|
+
{{~shortHash}}
|
|
151
|
+
{{~/if}}{{~/if}}
|
|
152
|
+
|
|
153
|
+
{{~!-- commit references --}}
|
|
154
|
+
{{~#if references~}}
|
|
155
|
+
, closes
|
|
156
|
+
{{~#each references}} {{#if @root.linkReferences~}}
|
|
157
|
+
[
|
|
158
|
+
{{~#if this.owner}}
|
|
159
|
+
{{~this.owner}}/
|
|
160
|
+
{{~/if}}
|
|
161
|
+
{{~this.repository}}{{this.prefix}}{{this.issue}}]({{issueUrlFormat}})
|
|
162
|
+
{{~else}}
|
|
163
|
+
{{~#if this.owner}}
|
|
164
|
+
{{~this.owner}}/
|
|
165
|
+
{{~/if}}
|
|
166
|
+
{{~this.repository}}{{this.prefix}}{{this.issue}}
|
|
167
|
+
{{~/if}}{{/each}}
|
|
168
|
+
{{~/if}}
|
|
169
|
+
|
|
170
|
+
`;
|
|
171
|
+
var footerPartial = ``;
|
|
172
|
+
|
|
173
|
+
// ../../node_modules/.pnpm/conventional-changelog-conventionalcommits@9.3.0/node_modules/conventional-changelog-conventionalcommits/src/writer.js
|
|
111
174
|
var COMMIT_HASH_LENGTH = 7;
|
|
112
175
|
var releaseAsRegex = /release-as:\s*\w*@?([0-9]+\.[0-9]+\.[0-9a-z]+(-[0-9a-z.]+)?)\s*/i;
|
|
113
176
|
var owner = "{{#if this.owner}}{{~this.owner}}{{else}}{{~@root.owner}}{{/if}}";
|
|
114
177
|
var host = "{{~@root.host}}";
|
|
115
178
|
var repository = "{{#if this.repository}}{{~this.repository}}{{else}}{{~@root.repository}}{{/if}}";
|
|
116
|
-
|
|
179
|
+
function createWriterOpts(config) {
|
|
117
180
|
const finalConfig = {
|
|
118
181
|
types: DEFAULT_COMMIT_TYPES,
|
|
119
182
|
issueUrlFormat: "{{host}}/{{owner}}/{{repository}}/issues/{{id}}",
|
|
@@ -140,31 +203,16 @@ async function createWriterOpts(config) {
|
|
|
140
203
|
id: "{{this.issue}}",
|
|
141
204
|
prefix: "{{this.prefix}}"
|
|
142
205
|
});
|
|
143
|
-
const
|
|
144
|
-
template,
|
|
145
|
-
header,
|
|
146
|
-
commit,
|
|
147
|
-
footer
|
|
148
|
-
] = await Promise.all([
|
|
149
|
-
readFile(resolve(dirname, "./templates/template.hbs"), "utf-8"),
|
|
150
|
-
readFile(resolve(dirname, "./templates/header.hbs"), "utf-8"),
|
|
151
|
-
readFile(resolve(dirname, "./templates/commit.hbs"), "utf-8"),
|
|
152
|
-
readFile(resolve(dirname, "./templates/footer.hbs"), "utf-8")
|
|
153
|
-
]);
|
|
154
|
-
const writerOpts = getWriterOpts(finalConfig);
|
|
155
|
-
writerOpts.mainTemplate = template;
|
|
156
|
-
writerOpts.headerPartial = header.replace(/{{compareUrlFormat}}/g, compareUrlFormat);
|
|
157
|
-
writerOpts.commitPartial = commit.replace(/{{commitUrlFormat}}/g, commitUrlFormat).replace(/{{issueUrlFormat}}/g, issueUrlFormat);
|
|
158
|
-
writerOpts.footerPartial = footer;
|
|
159
|
-
return writerOpts;
|
|
160
|
-
}
|
|
161
|
-
function getWriterOpts(config) {
|
|
162
|
-
const commitGroupOrder = config.types.flatMap((t) => t.section).filter((t) => t);
|
|
206
|
+
const commitGroupOrder = finalConfig.types.flatMap((t) => t.section).filter((t) => t);
|
|
163
207
|
return {
|
|
208
|
+
mainTemplate,
|
|
209
|
+
headerPartial: headerPartial.replace(/{{compareUrlFormat}}/g, compareUrlFormat),
|
|
210
|
+
commitPartial: commitPartial.replace(/{{commitUrlFormat}}/g, commitUrlFormat).replace(/{{issueUrlFormat}}/g, issueUrlFormat),
|
|
211
|
+
footerPartial,
|
|
164
212
|
transform: (commit, context) => {
|
|
165
213
|
let discard = true;
|
|
166
214
|
const issues = [];
|
|
167
|
-
const entry = findTypeEntry(
|
|
215
|
+
const entry = findTypeEntry(finalConfig.types, commit);
|
|
168
216
|
if (commit.footer && releaseAsRegex.test(commit.footer) || commit.body && releaseAsRegex.test(commit.body)) {
|
|
169
217
|
discard = false;
|
|
170
218
|
}
|
|
@@ -177,20 +225,20 @@ function getWriterOpts(config) {
|
|
|
177
225
|
});
|
|
178
226
|
if (
|
|
179
227
|
// breaking changes attached to any type are still displayed.
|
|
180
|
-
discard && (entry === void 0 || entry.hidden) || !matchScope(
|
|
228
|
+
discard && (entry === void 0 || entry.hidden) || !matchScope(finalConfig, commit)
|
|
181
229
|
) {
|
|
182
230
|
return void 0;
|
|
183
231
|
}
|
|
184
232
|
const type = entry ? entry.section : commit.type;
|
|
185
|
-
const scope = commit.scope === "*" ||
|
|
233
|
+
const scope = commit.scope === "*" || finalConfig.scope ? "" : commit.scope;
|
|
186
234
|
const shortHash = typeof commit.hash === "string" ? commit.hash.substring(0, COMMIT_HASH_LENGTH) : commit.shortHash;
|
|
187
235
|
let { subject } = commit;
|
|
188
236
|
if (typeof subject === "string") {
|
|
189
|
-
const issueRegEx = `(${
|
|
237
|
+
const issueRegEx = `(${finalConfig.issuePrefixes.join("|")})([a-z0-9]+)`;
|
|
190
238
|
const re = new RegExp(issueRegEx, "g");
|
|
191
239
|
subject = subject.replace(re, (_, prefix, issue) => {
|
|
192
240
|
issues.push(prefix + issue);
|
|
193
|
-
const url = expandTemplate(
|
|
241
|
+
const url = expandTemplate(finalConfig.issueUrlFormat, {
|
|
194
242
|
host: context.host,
|
|
195
243
|
owner: context.owner,
|
|
196
244
|
repository: context.repository,
|
|
@@ -203,7 +251,7 @@ function getWriterOpts(config) {
|
|
|
203
251
|
if (user.includes("/")) {
|
|
204
252
|
return `@${user}`;
|
|
205
253
|
}
|
|
206
|
-
const usernameUrl = expandTemplate(
|
|
254
|
+
const usernameUrl = expandTemplate(finalConfig.userUrlFormat, {
|
|
207
255
|
host: context.host,
|
|
208
256
|
owner: context.owner,
|
|
209
257
|
repository: context.repository,
|
|
@@ -255,7 +303,7 @@ function expandTemplate(template, context) {
|
|
|
255
303
|
return expanded;
|
|
256
304
|
}
|
|
257
305
|
|
|
258
|
-
// ../../node_modules/.pnpm/conventional-changelog-conventionalcommits@9.
|
|
306
|
+
// ../../node_modules/.pnpm/conventional-changelog-conventionalcommits@9.3.0/node_modules/conventional-changelog-conventionalcommits/src/whatBump.js
|
|
259
307
|
function createWhatBump(config = {}) {
|
|
260
308
|
const {
|
|
261
309
|
types = DEFAULT_COMMIT_TYPES,
|
|
@@ -300,15 +348,15 @@ function createWhatBump(config = {}) {
|
|
|
300
348
|
};
|
|
301
349
|
}
|
|
302
350
|
|
|
303
|
-
// ../../node_modules/.pnpm/conventional-changelog-conventionalcommits@9.
|
|
304
|
-
|
|
351
|
+
// ../../node_modules/.pnpm/conventional-changelog-conventionalcommits@9.3.0/node_modules/conventional-changelog-conventionalcommits/src/index.js
|
|
352
|
+
function createPreset(config) {
|
|
305
353
|
return {
|
|
306
354
|
commits: {
|
|
307
355
|
ignore: config?.ignoreCommits,
|
|
308
356
|
merges: false
|
|
309
357
|
},
|
|
310
358
|
parser: createParserOpts(config),
|
|
311
|
-
writer:
|
|
359
|
+
writer: createWriterOpts(config),
|
|
312
360
|
whatBump: createWhatBump(config)
|
|
313
361
|
};
|
|
314
362
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
3
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__a9cefbd35e33069f17719a3a61e5a32e/node_modules/tsup/assets/cjs_shims.js
|
|
4
4
|
var getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
5
5
|
var importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
6
6
|
|
package/dist/commit-types.cjs
CHANGED
package/dist/configs/index.cjs
CHANGED
package/dist/configs/index.d.cts
CHANGED
|
@@ -189,7 +189,7 @@ declare const COMMIT_CONFIGS: {
|
|
|
189
189
|
"footer-max-line-length": (string | number)[];
|
|
190
190
|
"header-max-length": (string | number)[];
|
|
191
191
|
"header-trim": (string | RuleConfigSeverity)[];
|
|
192
|
-
"subject-case": (string |
|
|
192
|
+
"subject-case": (string | string[] | RuleConfigSeverity)[];
|
|
193
193
|
"subject-empty": (string | RuleConfigSeverity)[];
|
|
194
194
|
"subject-full-stop": (string | RuleConfigSeverity)[];
|
|
195
195
|
"subject-max-length": (string | number)[];
|
|
@@ -398,7 +398,7 @@ declare const COMMIT_CONFIGS: {
|
|
|
398
398
|
"footer-max-line-length": (string | number)[];
|
|
399
399
|
"header-max-length": (string | number)[];
|
|
400
400
|
"header-trim": (string | RuleConfigSeverity)[];
|
|
401
|
-
"subject-case": (string |
|
|
401
|
+
"subject-case": (string | string[] | RuleConfigSeverity)[];
|
|
402
402
|
"subject-empty": (string | RuleConfigSeverity)[];
|
|
403
403
|
"subject-full-stop": (string | RuleConfigSeverity)[];
|
|
404
404
|
"subject-max-length": (string | number)[];
|
|
@@ -408,7 +408,7 @@ declare const COMMIT_CONFIGS: {
|
|
|
408
408
|
"type-enum": [RuleConfigSeverity, RuleConfigCondition, string[]];
|
|
409
409
|
"type-max-length": (string | number)[];
|
|
410
410
|
"type-min-length": (string | number)[];
|
|
411
|
-
"scope-case": (string |
|
|
411
|
+
"scope-case": (string | string[] | RuleConfigSeverity)[];
|
|
412
412
|
"scope-empty": (string | RuleConfigSeverity)[];
|
|
413
413
|
};
|
|
414
414
|
settings: {
|
package/dist/configs/index.d.ts
CHANGED
|
@@ -189,7 +189,7 @@ declare const COMMIT_CONFIGS: {
|
|
|
189
189
|
"footer-max-line-length": (string | number)[];
|
|
190
190
|
"header-max-length": (string | number)[];
|
|
191
191
|
"header-trim": (string | RuleConfigSeverity)[];
|
|
192
|
-
"subject-case": (string |
|
|
192
|
+
"subject-case": (string | string[] | RuleConfigSeverity)[];
|
|
193
193
|
"subject-empty": (string | RuleConfigSeverity)[];
|
|
194
194
|
"subject-full-stop": (string | RuleConfigSeverity)[];
|
|
195
195
|
"subject-max-length": (string | number)[];
|
|
@@ -398,7 +398,7 @@ declare const COMMIT_CONFIGS: {
|
|
|
398
398
|
"footer-max-line-length": (string | number)[];
|
|
399
399
|
"header-max-length": (string | number)[];
|
|
400
400
|
"header-trim": (string | RuleConfigSeverity)[];
|
|
401
|
-
"subject-case": (string |
|
|
401
|
+
"subject-case": (string | string[] | RuleConfigSeverity)[];
|
|
402
402
|
"subject-empty": (string | RuleConfigSeverity)[];
|
|
403
403
|
"subject-full-stop": (string | RuleConfigSeverity)[];
|
|
404
404
|
"subject-max-length": (string | number)[];
|
|
@@ -408,7 +408,7 @@ declare const COMMIT_CONFIGS: {
|
|
|
408
408
|
"type-enum": [RuleConfigSeverity, RuleConfigCondition, string[]];
|
|
409
409
|
"type-max-length": (string | number)[];
|
|
410
410
|
"type-min-length": (string | number)[];
|
|
411
|
-
"scope-case": (string |
|
|
411
|
+
"scope-case": (string | string[] | RuleConfigSeverity)[];
|
|
412
412
|
"scope-empty": (string | RuleConfigSeverity)[];
|
|
413
413
|
};
|
|
414
414
|
settings: {
|
package/dist/configs/minimal.cjs
CHANGED
|
@@ -62,7 +62,7 @@ declare const commitlint: {
|
|
|
62
62
|
"footer-max-line-length": (string | number)[];
|
|
63
63
|
"header-max-length": (string | number)[];
|
|
64
64
|
"header-trim": (string | RuleConfigSeverity)[];
|
|
65
|
-
"subject-case": (string |
|
|
65
|
+
"subject-case": (string | string[] | RuleConfigSeverity)[];
|
|
66
66
|
"subject-empty": (string | RuleConfigSeverity)[];
|
|
67
67
|
"subject-full-stop": (string | RuleConfigSeverity)[];
|
|
68
68
|
"subject-max-length": (string | number)[];
|
|
@@ -270,7 +270,7 @@ declare const config: {
|
|
|
270
270
|
"footer-max-line-length": (string | number)[];
|
|
271
271
|
"header-max-length": (string | number)[];
|
|
272
272
|
"header-trim": (string | RuleConfigSeverity)[];
|
|
273
|
-
"subject-case": (string |
|
|
273
|
+
"subject-case": (string | string[] | RuleConfigSeverity)[];
|
|
274
274
|
"subject-empty": (string | RuleConfigSeverity)[];
|
|
275
275
|
"subject-full-stop": (string | RuleConfigSeverity)[];
|
|
276
276
|
"subject-max-length": (string | number)[];
|
|
@@ -62,7 +62,7 @@ declare const commitlint: {
|
|
|
62
62
|
"footer-max-line-length": (string | number)[];
|
|
63
63
|
"header-max-length": (string | number)[];
|
|
64
64
|
"header-trim": (string | RuleConfigSeverity)[];
|
|
65
|
-
"subject-case": (string |
|
|
65
|
+
"subject-case": (string | string[] | RuleConfigSeverity)[];
|
|
66
66
|
"subject-empty": (string | RuleConfigSeverity)[];
|
|
67
67
|
"subject-full-stop": (string | RuleConfigSeverity)[];
|
|
68
68
|
"subject-max-length": (string | number)[];
|
|
@@ -270,7 +270,7 @@ declare const config: {
|
|
|
270
270
|
"footer-max-line-length": (string | number)[];
|
|
271
271
|
"header-max-length": (string | number)[];
|
|
272
272
|
"header-trim": (string | RuleConfigSeverity)[];
|
|
273
|
-
"subject-case": (string |
|
|
273
|
+
"subject-case": (string | string[] | RuleConfigSeverity)[];
|
|
274
274
|
"subject-empty": (string | RuleConfigSeverity)[];
|
|
275
275
|
"subject-full-stop": (string | RuleConfigSeverity)[];
|
|
276
276
|
"subject-max-length": (string | number)[];
|
|
@@ -62,7 +62,7 @@ declare const commitlint: {
|
|
|
62
62
|
"footer-max-line-length": (string | number)[];
|
|
63
63
|
"header-max-length": (string | number)[];
|
|
64
64
|
"header-trim": (string | RuleConfigSeverity)[];
|
|
65
|
-
"subject-case": (string |
|
|
65
|
+
"subject-case": (string | string[] | RuleConfigSeverity)[];
|
|
66
66
|
"subject-empty": (string | RuleConfigSeverity)[];
|
|
67
67
|
"subject-full-stop": (string | RuleConfigSeverity)[];
|
|
68
68
|
"subject-max-length": (string | number)[];
|
|
@@ -72,7 +72,7 @@ declare const commitlint: {
|
|
|
72
72
|
"type-enum": [RuleConfigSeverity, RuleConfigCondition, string[]];
|
|
73
73
|
"type-max-length": (string | number)[];
|
|
74
74
|
"type-min-length": (string | number)[];
|
|
75
|
-
"scope-case": (string |
|
|
75
|
+
"scope-case": (string | string[] | RuleConfigSeverity)[];
|
|
76
76
|
"scope-empty": (string | RuleConfigSeverity)[];
|
|
77
77
|
};
|
|
78
78
|
settings: {
|
|
@@ -271,7 +271,7 @@ declare const config: {
|
|
|
271
271
|
"footer-max-line-length": (string | number)[];
|
|
272
272
|
"header-max-length": (string | number)[];
|
|
273
273
|
"header-trim": (string | RuleConfigSeverity)[];
|
|
274
|
-
"subject-case": (string |
|
|
274
|
+
"subject-case": (string | string[] | RuleConfigSeverity)[];
|
|
275
275
|
"subject-empty": (string | RuleConfigSeverity)[];
|
|
276
276
|
"subject-full-stop": (string | RuleConfigSeverity)[];
|
|
277
277
|
"subject-max-length": (string | number)[];
|
|
@@ -281,7 +281,7 @@ declare const config: {
|
|
|
281
281
|
"type-enum": [RuleConfigSeverity, RuleConfigCondition, string[]];
|
|
282
282
|
"type-max-length": (string | number)[];
|
|
283
283
|
"type-min-length": (string | number)[];
|
|
284
|
-
"scope-case": (string |
|
|
284
|
+
"scope-case": (string | string[] | RuleConfigSeverity)[];
|
|
285
285
|
"scope-empty": (string | RuleConfigSeverity)[];
|
|
286
286
|
};
|
|
287
287
|
settings: {
|
|
@@ -62,7 +62,7 @@ declare const commitlint: {
|
|
|
62
62
|
"footer-max-line-length": (string | number)[];
|
|
63
63
|
"header-max-length": (string | number)[];
|
|
64
64
|
"header-trim": (string | RuleConfigSeverity)[];
|
|
65
|
-
"subject-case": (string |
|
|
65
|
+
"subject-case": (string | string[] | RuleConfigSeverity)[];
|
|
66
66
|
"subject-empty": (string | RuleConfigSeverity)[];
|
|
67
67
|
"subject-full-stop": (string | RuleConfigSeverity)[];
|
|
68
68
|
"subject-max-length": (string | number)[];
|
|
@@ -72,7 +72,7 @@ declare const commitlint: {
|
|
|
72
72
|
"type-enum": [RuleConfigSeverity, RuleConfigCondition, string[]];
|
|
73
73
|
"type-max-length": (string | number)[];
|
|
74
74
|
"type-min-length": (string | number)[];
|
|
75
|
-
"scope-case": (string |
|
|
75
|
+
"scope-case": (string | string[] | RuleConfigSeverity)[];
|
|
76
76
|
"scope-empty": (string | RuleConfigSeverity)[];
|
|
77
77
|
};
|
|
78
78
|
settings: {
|
|
@@ -271,7 +271,7 @@ declare const config: {
|
|
|
271
271
|
"footer-max-line-length": (string | number)[];
|
|
272
272
|
"header-max-length": (string | number)[];
|
|
273
273
|
"header-trim": (string | RuleConfigSeverity)[];
|
|
274
|
-
"subject-case": (string |
|
|
274
|
+
"subject-case": (string | string[] | RuleConfigSeverity)[];
|
|
275
275
|
"subject-empty": (string | RuleConfigSeverity)[];
|
|
276
276
|
"subject-full-stop": (string | RuleConfigSeverity)[];
|
|
277
277
|
"subject-max-length": (string | number)[];
|
|
@@ -281,7 +281,7 @@ declare const config: {
|
|
|
281
281
|
"type-enum": [RuleConfigSeverity, RuleConfigCondition, string[]];
|
|
282
282
|
"type-max-length": (string | number)[];
|
|
283
283
|
"type-min-length": (string | number)[];
|
|
284
|
-
"scope-case": (string |
|
|
284
|
+
"scope-case": (string | string[] | RuleConfigSeverity)[];
|
|
285
285
|
"scope-empty": (string | RuleConfigSeverity)[];
|
|
286
286
|
};
|
|
287
287
|
settings: {
|
package/dist/index.cjs
CHANGED
|
@@ -8,14 +8,14 @@ require('./chunk-SPHHWYOU.cjs');
|
|
|
8
8
|
require('./chunk-XHJNEOAM.cjs');
|
|
9
9
|
require('./chunk-5GQ7ZUDG.cjs');
|
|
10
10
|
require('./chunk-ZPVHPMDE.cjs');
|
|
11
|
-
var
|
|
11
|
+
var chunk34DKTHHF_cjs = require('./chunk-34DKTHHF.cjs');
|
|
12
12
|
var chunkBYHEPM6H_cjs = require('./chunk-BYHEPM6H.cjs');
|
|
13
13
|
require('./chunk-NBWP5FXE.cjs');
|
|
14
14
|
require('./chunk-MOSKPEIX.cjs');
|
|
15
15
|
require('./chunk-FK6SU6OS.cjs');
|
|
16
16
|
var chunkKZ3J3GGS_cjs = require('./chunk-KZ3J3GGS.cjs');
|
|
17
17
|
var chunk5N2ARSSR_cjs = require('./chunk-5N2ARSSR.cjs');
|
|
18
|
-
require('./chunk-
|
|
18
|
+
require('./chunk-NDCLGZOF.cjs');
|
|
19
19
|
var fs = require('fs');
|
|
20
20
|
var path = require('path');
|
|
21
21
|
var chalk = require('chalk');
|
|
@@ -1540,7 +1540,7 @@ async function createPreset2(variant = "monorepo") {
|
|
|
1540
1540
|
const workspaceConfig = await getWorkspaceConfig();
|
|
1541
1541
|
if (variant === "minimal") {
|
|
1542
1542
|
return defu__default.default(
|
|
1543
|
-
await
|
|
1543
|
+
await chunk34DKTHHF_cjs.createPreset({ ...chunkBYHEPM6H_cjs.COMMIT_CONFIGS.minimal.changelogs.props }),
|
|
1544
1544
|
{
|
|
1545
1545
|
...chunkBYHEPM6H_cjs.COMMIT_CONFIGS.minimal,
|
|
1546
1546
|
commitlint: {
|
|
@@ -1554,7 +1554,7 @@ async function createPreset2(variant = "monorepo") {
|
|
|
1554
1554
|
}
|
|
1555
1555
|
const nxScopes = await chunkX636N6E2_cjs.getNxScopes({ config: workspaceConfig });
|
|
1556
1556
|
return defu__default.default(
|
|
1557
|
-
await
|
|
1557
|
+
await chunk34DKTHHF_cjs.createPreset({
|
|
1558
1558
|
...chunkBYHEPM6H_cjs.COMMIT_CONFIGS.monorepo.changelogs.props,
|
|
1559
1559
|
scope: nxScopes
|
|
1560
1560
|
}),
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import './chunk-S5TOCB3P.js';
|
|
|
4
4
|
import './chunk-KTGUQC7L.js';
|
|
5
5
|
import './chunk-3KLR5ZGK.js';
|
|
6
6
|
import './chunk-UXD2EFE6.js';
|
|
7
|
-
import { createPreset } from './chunk-
|
|
7
|
+
import { createPreset } from './chunk-MTAXNPVC.js';
|
|
8
8
|
import { COMMIT_CONFIGS } from './chunk-MFPYRGZG.js';
|
|
9
9
|
export { COMMIT_CONFIGS } from './chunk-MFPYRGZG.js';
|
|
10
10
|
import './chunk-VDNSOTXE.js';
|
package/dist/parser.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunk34DKTHHF_cjs = require('./chunk-34DKTHHF.cjs');
|
|
4
|
+
require('./chunk-NDCLGZOF.cjs');
|
|
5
5
|
|
|
6
6
|
// src/parser.ts
|
|
7
7
|
function createParserOpts(variant) {
|
|
8
|
-
return
|
|
8
|
+
return chunk34DKTHHF_cjs.createPreset(variant === "minimal").parser;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
exports.createParserOpts = createParserOpts;
|
package/dist/parser.js
CHANGED
package/dist/types/config.cjs
CHANGED
package/dist/types/index.cjs
CHANGED
package/dist/types/misc.cjs
CHANGED
package/dist/types/preset.cjs
CHANGED
package/dist/types/write.cjs
CHANGED
package/dist/utilities/index.cjs
CHANGED
|
@@ -10,7 +10,7 @@ var chunkZMGLMEH4_cjs = require('../chunk-ZMGLMEH4.cjs');
|
|
|
10
10
|
require('../chunk-FK6SU6OS.cjs');
|
|
11
11
|
var chunkKZ3J3GGS_cjs = require('../chunk-KZ3J3GGS.cjs');
|
|
12
12
|
require('../chunk-5N2ARSSR.cjs');
|
|
13
|
-
require('../chunk-
|
|
13
|
+
require('../chunk-NDCLGZOF.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
package/dist/whatBump.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var chunkZMGLMEH4_cjs = require('./chunk-ZMGLMEH4.cjs');
|
|
4
4
|
var chunkKZ3J3GGS_cjs = require('./chunk-KZ3J3GGS.cjs');
|
|
5
5
|
require('./chunk-5N2ARSSR.cjs');
|
|
6
|
-
require('./chunk-
|
|
6
|
+
require('./chunk-NDCLGZOF.cjs');
|
|
7
7
|
|
|
8
8
|
// src/whatBump.ts
|
|
9
9
|
function createWhatBump(options) {
|
package/dist/writer.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var chunkZMGLMEH4_cjs = require('./chunk-ZMGLMEH4.cjs');
|
|
4
4
|
var chunkKZ3J3GGS_cjs = require('./chunk-KZ3J3GGS.cjs');
|
|
5
5
|
require('./chunk-5N2ARSSR.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkNDCLGZOF_cjs = require('./chunk-NDCLGZOF.cjs');
|
|
7
7
|
var compareFunc = require('compare-func');
|
|
8
8
|
var promises = require('fs/promises');
|
|
9
9
|
var path = require('path');
|
|
@@ -13,7 +13,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
|
13
13
|
|
|
14
14
|
var compareFunc__default = /*#__PURE__*/_interopDefault(compareFunc);
|
|
15
15
|
|
|
16
|
-
var dirname = url.fileURLToPath(new URL(".",
|
|
16
|
+
var dirname = url.fileURLToPath(new URL(".", chunkNDCLGZOF_cjs.importMetaUrl));
|
|
17
17
|
var releaseAsRegex = /release-as:\s*\w*@?([0-9]+\.[0-9]+\.[0-9a-z]+(-[0-9a-z.]+)?)\s*/i;
|
|
18
18
|
var owner = "{{#if this.owner}}{{~this.owner}}{{else}}{{~@root.owner}}{{/if}}";
|
|
19
19
|
var host = "{{~@root.host}}";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "conventional-changelog-storm-software",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.97",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "This package contains the shared conventional-changelog configuration used in Storm Software projects.",
|
|
6
6
|
"repository": {
|
|
@@ -213,20 +213,20 @@
|
|
|
213
213
|
"storm-software"
|
|
214
214
|
],
|
|
215
215
|
"dependencies": {
|
|
216
|
-
"@storm-software/config": "^1.135.
|
|
217
|
-
"@storm-software/config-tools": "^1.189.
|
|
216
|
+
"@storm-software/config": "^1.135.17",
|
|
217
|
+
"@storm-software/config-tools": "^1.189.16",
|
|
218
218
|
"compare-func": "^2.0.0",
|
|
219
|
-
"conventional-changelog-conventionalcommits": "^9.
|
|
220
|
-
"conventional-changelog-writer": "^8.
|
|
219
|
+
"conventional-changelog-conventionalcommits": "^9.3.0",
|
|
220
|
+
"conventional-changelog-writer": "^8.4.0",
|
|
221
221
|
"defu": "6.1.4"
|
|
222
222
|
},
|
|
223
223
|
"devDependencies": {
|
|
224
224
|
"@types/compare-func": "^1.3.3",
|
|
225
|
-
"@types/node": "^25.3.
|
|
225
|
+
"@types/node": "^25.3.5",
|
|
226
226
|
"tsup": "8.4.0",
|
|
227
227
|
"typescript": "^5.9.3"
|
|
228
228
|
},
|
|
229
229
|
"publishConfig": { "access": "public" },
|
|
230
230
|
"sideEffects": false,
|
|
231
|
-
"gitHead": "
|
|
231
|
+
"gitHead": "082d71d3d16ea8d29abe946dc2f87d08c26d7012"
|
|
232
232
|
}
|