conventional-changelog-storm-software 0.1.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/LICENSE +201 -0
- package/README.md +278 -0
- package/dist/chunk-2MZWLEPP.js +132 -0
- package/dist/chunk-3KLR5ZGK.js +1 -0
- package/dist/chunk-5GQ7ZUDG.cjs +2 -0
- package/dist/chunk-63544DKM.js +153 -0
- package/dist/chunk-DL5576FZ.cjs +10 -0
- package/dist/chunk-HVVJTAOT.cjs +160 -0
- package/dist/chunk-I6KKIB6V.js +77 -0
- package/dist/chunk-IJLTWVLG.js +57 -0
- package/dist/chunk-KRZANN66.cjs +82 -0
- package/dist/chunk-KTGUQC7L.js +1 -0
- package/dist/chunk-LPCM2SVA.js +45 -0
- package/dist/chunk-M7BTBQHL.cjs +134 -0
- package/dist/chunk-O35EG2LQ.js +8 -0
- package/dist/chunk-RR5776TG.cjs +7 -0
- package/dist/chunk-S5TOCB3P.js +1 -0
- package/dist/chunk-SPHHWYOU.cjs +2 -0
- package/dist/chunk-UK5DQTL2.cjs +47 -0
- package/dist/chunk-UXD2EFE6.js +1 -0
- package/dist/chunk-UZZOYD6Y.cjs +2360 -0
- package/dist/chunk-XHJNEOAM.cjs +2 -0
- package/dist/chunk-YBJMQHWU.cjs +67 -0
- package/dist/chunk-ZLZS2G36.js +2353 -0
- package/dist/chunk-ZPVHPMDE.cjs +2 -0
- package/dist/commit-types.cjs +11 -0
- package/dist/commit-types.d.cts +130 -0
- package/dist/commit-types.d.ts +130 -0
- package/dist/commit-types.js +1 -0
- package/dist/index.cjs +36 -0
- package/dist/index.d.cts +16 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.js +23 -0
- package/dist/parser.cjs +13 -0
- package/dist/parser.d.cts +12 -0
- package/dist/parser.d.ts +12 -0
- package/dist/parser.js +3 -0
- package/dist/types/commit-types.cjs +4 -0
- package/dist/types/commit-types.d.cts +19 -0
- package/dist/types/commit-types.d.ts +19 -0
- package/dist/types/commit-types.js +1 -0
- package/dist/types/config.cjs +5 -0
- package/dist/types/config.d.cts +67 -0
- package/dist/types/config.d.ts +67 -0
- package/dist/types/config.js +1 -0
- package/dist/types/index.cjs +8 -0
- package/dist/types/index.d.cts +5 -0
- package/dist/types/index.d.ts +5 -0
- package/dist/types/index.js +4 -0
- package/dist/types/misc.cjs +5 -0
- package/dist/types/misc.d.cts +3 -0
- package/dist/types/misc.d.ts +3 -0
- package/dist/types/misc.js +1 -0
- package/dist/types/preset.cjs +5 -0
- package/dist/types/preset.d.cts +12 -0
- package/dist/types/preset.d.ts +12 -0
- package/dist/types/preset.js +1 -0
- package/dist/types/write.cjs +5 -0
- package/dist/types/write.d.cts +78 -0
- package/dist/types/write.d.ts +78 -0
- package/dist/types/write.js +1 -0
- package/dist/utilities/constants.cjs +44 -0
- package/dist/utilities/constants.d.cts +75 -0
- package/dist/utilities/constants.d.ts +75 -0
- package/dist/utilities/constants.js +2 -0
- package/dist/utilities/helpers.cjs +25 -0
- package/dist/utilities/helpers.d.cts +30 -0
- package/dist/utilities/helpers.d.ts +30 -0
- package/dist/utilities/helpers.js +3 -0
- package/dist/utilities/index.cjs +66 -0
- package/dist/utilities/index.d.cts +6 -0
- package/dist/utilities/index.d.ts +6 -0
- package/dist/utilities/index.js +4 -0
- package/dist/utilities/options.cjs +14 -0
- package/dist/utilities/options.d.cts +12 -0
- package/dist/utilities/options.d.ts +12 -0
- package/dist/utilities/options.js +4 -0
- package/dist/whatBump.cjs +14 -0
- package/dist/whatBump.d.cts +6 -0
- package/dist/whatBump.d.ts +6 -0
- package/dist/whatBump.js +4 -0
- package/dist/writer.cjs +14 -0
- package/dist/writer.d.cts +13 -0
- package/dist/writer.d.ts +13 -0
- package/dist/writer.js +4 -0
- package/package.json +203 -0
- package/templates/templates/commit.hbd +29 -0
- package/templates/templates/footer.hbd +9 -0
- package/templates/templates/header.hbd +9 -0
- package/templates/templates/template.hbd +21 -0
package/dist/writer.cjs
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkHVVJTAOT_cjs = require('./chunk-HVVJTAOT.cjs');
|
|
4
|
+
require('./chunk-KRZANN66.cjs');
|
|
5
|
+
require('./chunk-YBJMQHWU.cjs');
|
|
6
|
+
require('./chunk-M7BTBQHL.cjs');
|
|
7
|
+
require('./chunk-RR5776TG.cjs');
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
Object.defineProperty(exports, "createWriterOpts", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunkHVVJTAOT_cjs.createWriterOpts; }
|
|
14
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ResolvedPresetOptions } from './types/config.cjs';
|
|
2
|
+
import { WriteConfig } from './types/write.cjs';
|
|
3
|
+
import '@storm-software/config/types';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Create writer options based on the provided config.
|
|
7
|
+
*
|
|
8
|
+
* @param config The configuration object.
|
|
9
|
+
* @returns The writer options.
|
|
10
|
+
*/
|
|
11
|
+
declare function createWriterOpts(options: ResolvedPresetOptions): Promise<WriteConfig>;
|
|
12
|
+
|
|
13
|
+
export { createWriterOpts };
|
package/dist/writer.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ResolvedPresetOptions } from './types/config.js';
|
|
2
|
+
import { WriteConfig } from './types/write.js';
|
|
3
|
+
import '@storm-software/config/types';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Create writer options based on the provided config.
|
|
7
|
+
*
|
|
8
|
+
* @param config The configuration object.
|
|
9
|
+
* @returns The writer options.
|
|
10
|
+
*/
|
|
11
|
+
declare function createWriterOpts(options: ResolvedPresetOptions): Promise<WriteConfig>;
|
|
12
|
+
|
|
13
|
+
export { createWriterOpts };
|
package/dist/writer.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "conventional-changelog-storm-software",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "This package contains the shared conventional-changelog configuration used in Storm Software projects.",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "github",
|
|
8
|
+
"url": "https://github.com/storm-software/storm-ops.git",
|
|
9
|
+
"directory": "packages/conventional-changelog"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://stormsoftware.com",
|
|
12
|
+
"bugs": "https://github.com/storm-software/storm-ops/issues",
|
|
13
|
+
"author": {
|
|
14
|
+
"name": "Storm Software",
|
|
15
|
+
"email": "contact@stormsoftware.com",
|
|
16
|
+
"url": "https://stormsoftware.com"
|
|
17
|
+
},
|
|
18
|
+
"maintainers": [
|
|
19
|
+
{
|
|
20
|
+
"name": "Storm Software",
|
|
21
|
+
"email": "contact@stormsoftware.com",
|
|
22
|
+
"url": "https://stormsoftware.com"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "Pat Sullivan",
|
|
26
|
+
"email": "admin@stormsoftware.com",
|
|
27
|
+
"url": "https://patsullivan.org"
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"contributors": [
|
|
31
|
+
{
|
|
32
|
+
"name": "Storm Software",
|
|
33
|
+
"email": "contact@stormsoftware.com",
|
|
34
|
+
"url": "https://stormsoftware.com"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"funding": {
|
|
38
|
+
"type": "github",
|
|
39
|
+
"url": "https://github.com/sponsors/storm-software"
|
|
40
|
+
},
|
|
41
|
+
"license": "Apache-2.0",
|
|
42
|
+
"private": false,
|
|
43
|
+
"main": "./dist/index.cjs",
|
|
44
|
+
"module": "./dist/index.js",
|
|
45
|
+
"exports": {
|
|
46
|
+
"./package.json": "./package.json",
|
|
47
|
+
".": {
|
|
48
|
+
"import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" },
|
|
49
|
+
"require": {
|
|
50
|
+
"types": "./dist/index.d.cts",
|
|
51
|
+
"default": "./dist/index.cjs"
|
|
52
|
+
},
|
|
53
|
+
"default": { "types": "./dist/index.d.ts", "default": "./dist/index.cjs" }
|
|
54
|
+
},
|
|
55
|
+
"./index": {
|
|
56
|
+
"import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" },
|
|
57
|
+
"require": {
|
|
58
|
+
"types": "./dist/index.d.cts",
|
|
59
|
+
"default": "./dist/index.cjs"
|
|
60
|
+
},
|
|
61
|
+
"default": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }
|
|
62
|
+
},
|
|
63
|
+
"./commit-types": {
|
|
64
|
+
"import": {
|
|
65
|
+
"types": "./dist/commit-types.d.ts",
|
|
66
|
+
"default": "./dist/commit-types.js"
|
|
67
|
+
},
|
|
68
|
+
"require": {
|
|
69
|
+
"types": "./dist/commit-types.d.cts",
|
|
70
|
+
"default": "./dist/commit-types.cjs"
|
|
71
|
+
},
|
|
72
|
+
"default": {
|
|
73
|
+
"types": "./dist/commit-types.d.ts",
|
|
74
|
+
"default": "./dist/commit-types.js"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"./parser": {
|
|
78
|
+
"import": {
|
|
79
|
+
"types": "./dist/parser.d.ts",
|
|
80
|
+
"default": "./dist/parser.js"
|
|
81
|
+
},
|
|
82
|
+
"require": {
|
|
83
|
+
"types": "./dist/parser.d.cts",
|
|
84
|
+
"default": "./dist/parser.cjs"
|
|
85
|
+
},
|
|
86
|
+
"default": {
|
|
87
|
+
"types": "./dist/parser.d.ts",
|
|
88
|
+
"default": "./dist/parser.js"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"./whatBump": {
|
|
92
|
+
"import": {
|
|
93
|
+
"types": "./dist/whatBump.d.ts",
|
|
94
|
+
"default": "./dist/whatBump.js"
|
|
95
|
+
},
|
|
96
|
+
"require": {
|
|
97
|
+
"types": "./dist/whatBump.d.cts",
|
|
98
|
+
"default": "./dist/whatBump.cjs"
|
|
99
|
+
},
|
|
100
|
+
"default": {
|
|
101
|
+
"types": "./dist/whatBump.d.ts",
|
|
102
|
+
"default": "./dist/whatBump.js"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"./writer": {
|
|
106
|
+
"import": {
|
|
107
|
+
"types": "./dist/writer.d.ts",
|
|
108
|
+
"default": "./dist/writer.js"
|
|
109
|
+
},
|
|
110
|
+
"require": {
|
|
111
|
+
"types": "./dist/writer.d.cts",
|
|
112
|
+
"default": "./dist/writer.cjs"
|
|
113
|
+
},
|
|
114
|
+
"default": {
|
|
115
|
+
"types": "./dist/writer.d.ts",
|
|
116
|
+
"default": "./dist/writer.js"
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"./types": {
|
|
120
|
+
"import": {
|
|
121
|
+
"types": "./dist/types/index.d.ts",
|
|
122
|
+
"default": "./dist/types/index.js"
|
|
123
|
+
},
|
|
124
|
+
"require": {
|
|
125
|
+
"types": "./dist/types/index.d.cts",
|
|
126
|
+
"default": "./dist/types/index.cjs"
|
|
127
|
+
},
|
|
128
|
+
"default": {
|
|
129
|
+
"types": "./dist/types/index.d.ts",
|
|
130
|
+
"default": "./dist/types/index.js"
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"./types/*": {
|
|
134
|
+
"import": {
|
|
135
|
+
"types": "./dist/types/*.d.ts",
|
|
136
|
+
"default": "./dist/types/*.js"
|
|
137
|
+
},
|
|
138
|
+
"require": {
|
|
139
|
+
"types": "./dist/types/*.d.cts",
|
|
140
|
+
"default": "./dist/types/*.cjs"
|
|
141
|
+
},
|
|
142
|
+
"default": {
|
|
143
|
+
"types": "./dist/types/*.d.ts",
|
|
144
|
+
"default": "./dist/types/*.js"
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"./utilities": {
|
|
148
|
+
"import": {
|
|
149
|
+
"types": "./dist/utilities/index.d.ts",
|
|
150
|
+
"default": "./dist/utilities/index.js"
|
|
151
|
+
},
|
|
152
|
+
"require": {
|
|
153
|
+
"types": "./dist/utilities/index.d.cts",
|
|
154
|
+
"default": "./dist/utilities/index.cjs"
|
|
155
|
+
},
|
|
156
|
+
"default": {
|
|
157
|
+
"types": "./dist/utilities/index.d.ts",
|
|
158
|
+
"default": "./dist/utilities/index.js"
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
"./utilities/*": {
|
|
162
|
+
"import": {
|
|
163
|
+
"types": "./dist/utilities/*.d.ts",
|
|
164
|
+
"default": "./dist/utilities/*.js"
|
|
165
|
+
},
|
|
166
|
+
"require": {
|
|
167
|
+
"types": "./dist/utilities/*.d.cts",
|
|
168
|
+
"default": "./dist/utilities/*.cjs"
|
|
169
|
+
},
|
|
170
|
+
"default": {
|
|
171
|
+
"types": "./dist/utilities/*.d.ts",
|
|
172
|
+
"default": "./dist/utilities/*.js"
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
"./templates/*": "./dist/templates/*"
|
|
176
|
+
},
|
|
177
|
+
"types": "./dist/index.d.ts",
|
|
178
|
+
"files": ["dist/**/*", "templates/**/*"],
|
|
179
|
+
"keywords": [
|
|
180
|
+
"conventional-changelog",
|
|
181
|
+
"commitlint",
|
|
182
|
+
"changelog",
|
|
183
|
+
"storm",
|
|
184
|
+
"storm-ops",
|
|
185
|
+
"storm-software"
|
|
186
|
+
],
|
|
187
|
+
"dependencies": {
|
|
188
|
+
"@storm-software/config": "^1.131.0",
|
|
189
|
+
"@storm-software/config-tools": "^1.185.0",
|
|
190
|
+
"compare-func": "^2.0.0",
|
|
191
|
+
"conventional-changelog-writer": "^8.2.0",
|
|
192
|
+
"defu": "6.1.4"
|
|
193
|
+
},
|
|
194
|
+
"devDependencies": {
|
|
195
|
+
"@types/compare-func": "^1.3.3",
|
|
196
|
+
"@types/node": "^22.10.2",
|
|
197
|
+
"tsup": "8.4.0",
|
|
198
|
+
"typescript": "^5.9.2"
|
|
199
|
+
},
|
|
200
|
+
"publishConfig": { "access": "public" },
|
|
201
|
+
"sideEffects": false,
|
|
202
|
+
"gitHead": "026eb81c70b21b9e4defb0b5c4dc078bbdaa7ca9"
|
|
203
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
*{{#if scope}} **{{scope}}:**
|
|
2
|
+
{{~/if}} {{#if subject}}
|
|
3
|
+
{{~subject}}
|
|
4
|
+
{{~else}}
|
|
5
|
+
{{~header}}
|
|
6
|
+
{{~/if}}
|
|
7
|
+
|
|
8
|
+
{{~!-- commit link --}}{{~#if hash}} {{#if @root.linkReferences~}}
|
|
9
|
+
([{{shortHash}}]({{commitUrlFormat}}))
|
|
10
|
+
{{~else}}
|
|
11
|
+
{{~shortHash}}
|
|
12
|
+
{{~/if}}{{~/if}}
|
|
13
|
+
|
|
14
|
+
{{~!-- commit references --}}
|
|
15
|
+
{{~#if references~}}
|
|
16
|
+
, closes
|
|
17
|
+
{{~#each references}} {{#if @root.linkReferences~}}
|
|
18
|
+
[
|
|
19
|
+
{{~#if this.owner}}
|
|
20
|
+
{{~this.owner}}/
|
|
21
|
+
{{~/if}}
|
|
22
|
+
{{~this.repository}}{{this.prefix}}{{this.issue}}]({{issueUrlFormat}})
|
|
23
|
+
{{~else}}
|
|
24
|
+
{{~#if this.owner}}
|
|
25
|
+
{{~this.owner}}/
|
|
26
|
+
{{~/if}}
|
|
27
|
+
{{~this.repository}}{{this.prefix}}{{this.issue}}
|
|
28
|
+
{{~/if}}{{/each}}
|
|
29
|
+
{{~/if}}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{{> header}}
|
|
2
|
+
{{#if noteGroups}}
|
|
3
|
+
{{#each noteGroups}}
|
|
4
|
+
|
|
5
|
+
### ⚠ {{title}}
|
|
6
|
+
|
|
7
|
+
{{#each notes}}
|
|
8
|
+
* {{#if commit.scope}}**{{commit.scope}}:** {{/if}}{{text}}
|
|
9
|
+
{{/each}}
|
|
10
|
+
{{/each}}
|
|
11
|
+
{{/if}}
|
|
12
|
+
{{#each commitGroups}}
|
|
13
|
+
|
|
14
|
+
{{#if title}}
|
|
15
|
+
### {{title}}
|
|
16
|
+
|
|
17
|
+
{{/if}}
|
|
18
|
+
{{#each commits}}
|
|
19
|
+
{{> commit root=@root}}
|
|
20
|
+
{{/each}}
|
|
21
|
+
{{/each}}
|