@storm-software/git-tools 2.96.11 → 2.96.13
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/bin/{chunk-M2LVPB4L.js → chunk-HQRC5X3M.js} +45 -2
- package/bin/{chunk-O2V4JHMG.cjs → chunk-X4ZORIOI.cjs} +45 -2
- package/bin/git.cjs +26439 -5464
- package/bin/git.js +26333 -5358
- package/bin/post-checkout.cjs +9 -9
- package/bin/post-checkout.js +1 -1
- package/bin/post-commit.cjs +9 -9
- package/bin/post-commit.js +1 -1
- package/bin/post-merge.cjs +9 -9
- package/bin/post-merge.js +1 -1
- package/bin/pre-commit.cjs +9 -9
- package/bin/pre-commit.js +1 -1
- package/bin/pre-install.cjs +9 -9
- package/bin/pre-install.js +1 -1
- package/bin/pre-push.cjs +13 -13
- package/bin/pre-push.js +1 -1
- package/bin/prepare.cjs +7 -7
- package/bin/prepare.js +1 -1
- package/bin/version-warning.cjs +5 -5
- package/bin/version-warning.js +1 -1
- package/dist/{chunk-QFZNPBUB.cjs → chunk-AZCYMACD.cjs} +3 -3
- package/dist/{chunk-XY4PXHHT.js → chunk-JPOOLWH4.js} +1 -1
- package/dist/{chunk-NXD22ACT.js → chunk-QRP3KP65.js} +1 -1
- package/dist/{chunk-6EYTSWXU.js → chunk-WEKKNQBE.js} +0 -1
- package/dist/{chunk-MIBBWD5T.cjs → chunk-WZADZNEI.cjs} +1 -2
- package/dist/chunk-YCY2PJXX.cjs +18 -0
- package/dist/commit/config.cjs +3 -3
- package/dist/commit/config.js +2 -2
- package/dist/commitlint/config.cjs +20 -20
- package/dist/commitlint/config.js +1 -1
- package/dist/index.cjs +4 -5
- package/dist/index.d.cts +0 -5
- package/dist/index.d.ts +0 -5
- package/dist/index.js +3 -4
- package/dist/release/config.cjs +3 -3
- package/dist/release/config.js +2 -2
- package/dist/types.cjs +2 -2
- package/dist/types.js +1 -1
- package/package.json +11 -11
- package/dist/chunk-FGIAHPQJ.js +0 -36
- package/dist/chunk-VOGVIPTZ.cjs +0 -18
- package/dist/chunk-WBWFRERX.cjs +0 -36
- package/dist/release/changelog-renderer.cjs +0 -7
- package/dist/release/changelog-renderer.d.cts +0 -60
- package/dist/release/changelog-renderer.d.ts +0 -60
- package/dist/release/changelog-renderer.js +0 -7
package/dist/index.cjs
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-WBWFRERX.cjs');
|
|
3
|
+
var _chunkYCY2PJXXcjs = require('./chunk-YCY2PJXX.cjs');
|
|
5
4
|
|
|
6
5
|
|
|
7
6
|
|
|
8
7
|
|
|
9
|
-
var
|
|
8
|
+
var _chunkAZCYMACDcjs = require('./chunk-AZCYMACD.cjs');
|
|
10
9
|
|
|
11
10
|
|
|
12
11
|
|
|
@@ -14,7 +13,7 @@ var _chunkQFZNPBUBcjs = require('./chunk-QFZNPBUB.cjs');
|
|
|
14
13
|
|
|
15
14
|
|
|
16
15
|
|
|
17
|
-
var
|
|
16
|
+
var _chunkWZADZNEIcjs = require('./chunk-WZADZNEI.cjs');
|
|
18
17
|
|
|
19
18
|
|
|
20
19
|
|
|
@@ -26,4 +25,4 @@ var _chunkMIBBWD5Tcjs = require('./chunk-MIBBWD5T.cjs');
|
|
|
26
25
|
|
|
27
26
|
|
|
28
27
|
|
|
29
|
-
exports.DEFAULT_COMMIT_CONFIG =
|
|
28
|
+
exports.DEFAULT_COMMIT_CONFIG = _chunkYCY2PJXXcjs.DEFAULT_COMMIT_CONFIG; exports.DEFAULT_COMMIT_MESSAGE_FORMAT = _chunkWZADZNEIcjs.DEFAULT_COMMIT_MESSAGE_FORMAT; exports.DEFAULT_COMMIT_PROMPT_MESSAGES = _chunkWZADZNEIcjs.DEFAULT_COMMIT_PROMPT_MESSAGES; exports.DEFAULT_COMMIT_QUESTIONS = _chunkWZADZNEIcjs.DEFAULT_COMMIT_QUESTIONS; exports.DEFAULT_COMMIT_SETTINGS = _chunkWZADZNEIcjs.DEFAULT_COMMIT_SETTINGS; exports.DEFAULT_COMMIT_TYPES = _chunkWZADZNEIcjs.DEFAULT_COMMIT_TYPES; exports.DEFAULT_CONVENTIONAL_COMMITS_CONFIG = _chunkAZCYMACDcjs.DEFAULT_CONVENTIONAL_COMMITS_CONFIG; exports.DEFAULT_RELEASE_CONFIG = _chunkAZCYMACDcjs.DEFAULT_RELEASE_CONFIG; exports.DEFAULT_RELEASE_GROUP_CONFIG = _chunkAZCYMACDcjs.DEFAULT_RELEASE_GROUP_CONFIG; exports.RuleConfigSeverity = _chunkWZADZNEIcjs.RuleConfigSeverity;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
export { DEFAULT_COMMIT_CONFIG } from './commit/config.cjs';
|
|
2
|
-
export { StormChangelogRenderOptions } from './release/changelog-renderer.cjs';
|
|
3
2
|
export { DEFAULT_CONVENTIONAL_COMMITS_CONFIG, DEFAULT_RELEASE_CONFIG, DEFAULT_RELEASE_GROUP_CONFIG } from './release/config.cjs';
|
|
4
3
|
export { CommitConfig, CommitEnumItemProps, CommitLintOutcome, CommitLintRuleOutcome, CommitPromptMessagesEnum, CommitQuestionAnswers, CommitQuestionEnum, CommitQuestionProps, CommitResolvedConfig, CommitRulesEnum, CommitScopeProps, CommitScopesEnum, CommitSettingsEnum, CommitState, CommitTypeProps, CommitTypesEnum, DEFAULT_COMMIT_MESSAGE_FORMAT, DEFAULT_COMMIT_PROMPT_MESSAGES, DEFAULT_COMMIT_QUESTIONS, DEFAULT_COMMIT_SETTINGS, DEFAULT_COMMIT_TYPES, DeepPartial, DefaultCommitPromptMessagesKeys, DefaultCommitQuestionKeys, DefaultCommitRulesEnum, DefaultCommitTypeKeys, DefaultResolvedCommitRulesEnum, NxReleaseChangelogConfig, NxReleaseConfig, NxReleaseConventionalCommitsConfig, NxReleaseGitConfig, NxReleaseGroupConfig, NxReleaseGroupsConfig, NxReleaseProjectsConfig, NxReleaseRequiredGitConfig, NxReleaseVersionConfig, ReadMeOptions, ReleaseConfig, ReleaseContext, RuleConfigCondition, RuleConfigSeverity } from './types.cjs';
|
|
5
|
-
import 'nx/release/changelog-renderer/index';
|
|
6
|
-
import 'nx/src/command-line/release/changelog';
|
|
7
|
-
import 'nx/src/command-line/release/config/config';
|
|
8
|
-
import 'nx/src/command-line/release/utils/github';
|
|
9
4
|
import '@nx/devkit';
|
|
10
5
|
import 'nx/src/config/nx-json';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
export { DEFAULT_COMMIT_CONFIG } from './commit/config.js';
|
|
2
|
-
export { StormChangelogRenderOptions } from './release/changelog-renderer.js';
|
|
3
2
|
export { DEFAULT_CONVENTIONAL_COMMITS_CONFIG, DEFAULT_RELEASE_CONFIG, DEFAULT_RELEASE_GROUP_CONFIG } from './release/config.js';
|
|
4
3
|
export { CommitConfig, CommitEnumItemProps, CommitLintOutcome, CommitLintRuleOutcome, CommitPromptMessagesEnum, CommitQuestionAnswers, CommitQuestionEnum, CommitQuestionProps, CommitResolvedConfig, CommitRulesEnum, CommitScopeProps, CommitScopesEnum, CommitSettingsEnum, CommitState, CommitTypeProps, CommitTypesEnum, DEFAULT_COMMIT_MESSAGE_FORMAT, DEFAULT_COMMIT_PROMPT_MESSAGES, DEFAULT_COMMIT_QUESTIONS, DEFAULT_COMMIT_SETTINGS, DEFAULT_COMMIT_TYPES, DeepPartial, DefaultCommitPromptMessagesKeys, DefaultCommitQuestionKeys, DefaultCommitRulesEnum, DefaultCommitTypeKeys, DefaultResolvedCommitRulesEnum, NxReleaseChangelogConfig, NxReleaseConfig, NxReleaseConventionalCommitsConfig, NxReleaseGitConfig, NxReleaseGroupConfig, NxReleaseGroupsConfig, NxReleaseProjectsConfig, NxReleaseRequiredGitConfig, NxReleaseVersionConfig, ReadMeOptions, ReleaseConfig, ReleaseContext, RuleConfigCondition, RuleConfigSeverity } from './types.js';
|
|
5
|
-
import 'nx/release/changelog-renderer/index';
|
|
6
|
-
import 'nx/src/command-line/release/changelog';
|
|
7
|
-
import 'nx/src/command-line/release/config/config';
|
|
8
|
-
import 'nx/src/command-line/release/utils/github';
|
|
9
4
|
import '@nx/devkit';
|
|
10
5
|
import 'nx/src/config/nx-json';
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEFAULT_COMMIT_CONFIG
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-FGIAHPQJ.js";
|
|
3
|
+
} from "./chunk-JPOOLWH4.js";
|
|
5
4
|
import {
|
|
6
5
|
DEFAULT_CONVENTIONAL_COMMITS_CONFIG,
|
|
7
6
|
DEFAULT_RELEASE_CONFIG,
|
|
8
7
|
DEFAULT_RELEASE_GROUP_CONFIG
|
|
9
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-QRP3KP65.js";
|
|
10
9
|
import {
|
|
11
10
|
DEFAULT_COMMIT_MESSAGE_FORMAT,
|
|
12
11
|
DEFAULT_COMMIT_PROMPT_MESSAGES,
|
|
@@ -14,7 +13,7 @@ import {
|
|
|
14
13
|
DEFAULT_COMMIT_SETTINGS,
|
|
15
14
|
DEFAULT_COMMIT_TYPES,
|
|
16
15
|
RuleConfigSeverity
|
|
17
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-WEKKNQBE.js";
|
|
18
17
|
export {
|
|
19
18
|
DEFAULT_COMMIT_CONFIG,
|
|
20
19
|
DEFAULT_COMMIT_MESSAGE_FORMAT,
|
package/dist/release/config.cjs
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../chunk-
|
|
5
|
+
var _chunkAZCYMACDcjs = require('../chunk-AZCYMACD.cjs');
|
|
6
|
+
require('../chunk-WZADZNEI.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.DEFAULT_CONVENTIONAL_COMMITS_CONFIG =
|
|
11
|
+
exports.DEFAULT_CONVENTIONAL_COMMITS_CONFIG = _chunkAZCYMACDcjs.DEFAULT_CONVENTIONAL_COMMITS_CONFIG; exports.DEFAULT_RELEASE_CONFIG = _chunkAZCYMACDcjs.DEFAULT_RELEASE_CONFIG; exports.DEFAULT_RELEASE_GROUP_CONFIG = _chunkAZCYMACDcjs.DEFAULT_RELEASE_GROUP_CONFIG;
|
package/dist/release/config.js
CHANGED
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
DEFAULT_CONVENTIONAL_COMMITS_CONFIG,
|
|
3
3
|
DEFAULT_RELEASE_CONFIG,
|
|
4
4
|
DEFAULT_RELEASE_GROUP_CONFIG
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-QRP3KP65.js";
|
|
6
|
+
import "../chunk-WEKKNQBE.js";
|
|
7
7
|
export {
|
|
8
8
|
DEFAULT_CONVENTIONAL_COMMITS_CONFIG,
|
|
9
9
|
DEFAULT_RELEASE_CONFIG,
|
package/dist/types.cjs
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkWZADZNEIcjs = require('./chunk-WZADZNEI.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -13,4 +13,4 @@ var _chunkMIBBWD5Tcjs = require('./chunk-MIBBWD5T.cjs');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
exports.DEFAULT_COMMIT_MESSAGE_FORMAT =
|
|
16
|
+
exports.DEFAULT_COMMIT_MESSAGE_FORMAT = _chunkWZADZNEIcjs.DEFAULT_COMMIT_MESSAGE_FORMAT; exports.DEFAULT_COMMIT_PROMPT_MESSAGES = _chunkWZADZNEIcjs.DEFAULT_COMMIT_PROMPT_MESSAGES; exports.DEFAULT_COMMIT_QUESTIONS = _chunkWZADZNEIcjs.DEFAULT_COMMIT_QUESTIONS; exports.DEFAULT_COMMIT_SETTINGS = _chunkWZADZNEIcjs.DEFAULT_COMMIT_SETTINGS; exports.DEFAULT_COMMIT_TYPES = _chunkWZADZNEIcjs.DEFAULT_COMMIT_TYPES; exports.RuleConfigSeverity = _chunkWZADZNEIcjs.RuleConfigSeverity;
|
package/dist/types.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/git-tools",
|
|
3
|
-
"version": "2.96.
|
|
3
|
+
"version": "2.96.13",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Tools for managing Git repositories within a Nx workspace.",
|
|
6
6
|
"repository": {
|
|
@@ -185,16 +185,16 @@
|
|
|
185
185
|
},
|
|
186
186
|
"./changelog-renderer": {
|
|
187
187
|
"import": {
|
|
188
|
-
"types": "./
|
|
189
|
-
"default": "./dist/
|
|
188
|
+
"types": "./changelog-renderer/changelog-renderer.d.ts",
|
|
189
|
+
"default": "./dist/changelog-renderer/changelog-renderer.js"
|
|
190
190
|
},
|
|
191
191
|
"require": {
|
|
192
|
-
"types": "./
|
|
193
|
-
"default": "./
|
|
192
|
+
"types": "./changelog-renderer/changelog-renderer.d.cts",
|
|
193
|
+
"default": "./changelog-renderer/changelog-renderer.cjs"
|
|
194
194
|
},
|
|
195
195
|
"default": {
|
|
196
|
-
"types": "./
|
|
197
|
-
"default": "./
|
|
196
|
+
"types": "./changelog-renderer/changelog-renderer.d.ts",
|
|
197
|
+
"default": "./changelog-renderer/changelog-renderer.js"
|
|
198
198
|
}
|
|
199
199
|
},
|
|
200
200
|
"./lefthook/*": "./dist/lefthook/*",
|
|
@@ -216,7 +216,7 @@
|
|
|
216
216
|
],
|
|
217
217
|
"dependencies": {
|
|
218
218
|
"@angular-devkit/architect": "0.1900.6",
|
|
219
|
-
"nx": "
|
|
219
|
+
"nx": "20.6.0",
|
|
220
220
|
"prettier": "^3.5.1",
|
|
221
221
|
"tsconfig-paths": "4.2.0"
|
|
222
222
|
},
|
|
@@ -238,14 +238,14 @@
|
|
|
238
238
|
"@inquirer/rawlist": "4.0.4",
|
|
239
239
|
"@inquirer/search": "3.0.4",
|
|
240
240
|
"@inquirer/select": "4.0.4",
|
|
241
|
-
"@nx/devkit": "
|
|
242
|
-
"@nx/js": "
|
|
241
|
+
"@nx/devkit": "20.6.0",
|
|
242
|
+
"@nx/js": "20.6.0",
|
|
243
243
|
"@textlint/ast-node-types": "14.4.2",
|
|
244
244
|
"@textlint/markdown-to-ast": "14.4.2",
|
|
245
245
|
"@types/node": "^22.10.2",
|
|
246
246
|
"anchor-markdown-header": "0.7.0",
|
|
247
247
|
"any-shell-escape": "0.1.1",
|
|
248
|
-
"axios": "1.
|
|
248
|
+
"axios": "^1.8.3",
|
|
249
249
|
"chalk": "^4.1.2",
|
|
250
250
|
"chalk-template": "1.1.0",
|
|
251
251
|
"commander": "^12.1.0",
|
package/dist/chunk-FGIAHPQJ.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
DEFAULT_COMMIT_TYPES,
|
|
3
|
-
__name
|
|
4
|
-
} from "./chunk-6EYTSWXU.js";
|
|
5
|
-
|
|
6
|
-
// src/release/changelog-renderer.ts
|
|
7
|
-
import ChangelogRenderer from "nx/release/changelog-renderer/index";
|
|
8
|
-
var StormChangelogRenderer = class extends ChangelogRenderer {
|
|
9
|
-
static {
|
|
10
|
-
__name(this, "StormChangelogRenderer");
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* A ChangelogRenderer class takes in the determined changes and other relevant metadata
|
|
14
|
-
* and returns a string, or a Promise of a string of changelog contents (usually markdown).
|
|
15
|
-
*
|
|
16
|
-
* @param config The configuration object for the ChangelogRenderer
|
|
17
|
-
* @param config.changes The collection of changes to show in the changelog
|
|
18
|
-
* @param config.changelogEntryVersion The version for which we are rendering the current changelog entry
|
|
19
|
-
* @param config.project The name of specific project to generate a changelog entry for, or `null` if the overall workspace changelog
|
|
20
|
-
* @param config.entryWhenNoChanges The (already interpolated) string to use as the changelog entry when there are no changes, or `false` if no entry should be generated
|
|
21
|
-
* @param config.isVersionPlans Whether or not Nx release version plans are the source of truth for the changelog entry
|
|
22
|
-
* @param config.changelogRenderOptions The options specific to the ChangelogRenderer implementation
|
|
23
|
-
* @param config.dependencyBumps Optional list of additional dependency bumps that occurred as part of the release, outside of the change data
|
|
24
|
-
* @param config.repoData Resolved data for the current GitHub repository
|
|
25
|
-
* @param config.conventionalCommitsConfig The configuration for conventional commits, or null if version plans are being used
|
|
26
|
-
*/
|
|
27
|
-
constructor(config) {
|
|
28
|
-
super(config);
|
|
29
|
-
this.conventionalCommitsConfig ??= config.conventionalCommitsConfig;
|
|
30
|
-
this.conventionalCommitsConfig.types ??= DEFAULT_COMMIT_TYPES;
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
export {
|
|
35
|
-
StormChangelogRenderer
|
|
36
|
-
};
|
package/dist/chunk-VOGVIPTZ.cjs
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var _chunkMIBBWD5Tcjs = require('./chunk-MIBBWD5T.cjs');
|
|
7
|
-
|
|
8
|
-
// src/commit/config.ts
|
|
9
|
-
var DEFAULT_COMMIT_CONFIG = {
|
|
10
|
-
settings: _chunkMIBBWD5Tcjs.DEFAULT_COMMIT_SETTINGS,
|
|
11
|
-
messages: _chunkMIBBWD5Tcjs.DEFAULT_COMMIT_PROMPT_MESSAGES,
|
|
12
|
-
questions: _chunkMIBBWD5Tcjs.DEFAULT_COMMIT_QUESTIONS,
|
|
13
|
-
types: _chunkMIBBWD5Tcjs.DEFAULT_COMMIT_TYPES
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
exports.DEFAULT_COMMIT_CONFIG = DEFAULT_COMMIT_CONFIG;
|
package/dist/chunk-WBWFRERX.cjs
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var _chunkMIBBWD5Tcjs = require('./chunk-MIBBWD5T.cjs');
|
|
5
|
-
|
|
6
|
-
// src/release/changelog-renderer.ts
|
|
7
|
-
var _index = require('nx/release/changelog-renderer/index'); var _index2 = _interopRequireDefault(_index);
|
|
8
|
-
var StormChangelogRenderer = class extends _index2.default {
|
|
9
|
-
static {
|
|
10
|
-
_chunkMIBBWD5Tcjs.__name.call(void 0, this, "StormChangelogRenderer");
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* A ChangelogRenderer class takes in the determined changes and other relevant metadata
|
|
14
|
-
* and returns a string, or a Promise of a string of changelog contents (usually markdown).
|
|
15
|
-
*
|
|
16
|
-
* @param config The configuration object for the ChangelogRenderer
|
|
17
|
-
* @param config.changes The collection of changes to show in the changelog
|
|
18
|
-
* @param config.changelogEntryVersion The version for which we are rendering the current changelog entry
|
|
19
|
-
* @param config.project The name of specific project to generate a changelog entry for, or `null` if the overall workspace changelog
|
|
20
|
-
* @param config.entryWhenNoChanges The (already interpolated) string to use as the changelog entry when there are no changes, or `false` if no entry should be generated
|
|
21
|
-
* @param config.isVersionPlans Whether or not Nx release version plans are the source of truth for the changelog entry
|
|
22
|
-
* @param config.changelogRenderOptions The options specific to the ChangelogRenderer implementation
|
|
23
|
-
* @param config.dependencyBumps Optional list of additional dependency bumps that occurred as part of the release, outside of the change data
|
|
24
|
-
* @param config.repoData Resolved data for the current GitHub repository
|
|
25
|
-
* @param config.conventionalCommitsConfig The configuration for conventional commits, or null if version plans are being used
|
|
26
|
-
*/
|
|
27
|
-
constructor(config) {
|
|
28
|
-
super(config);
|
|
29
|
-
this.conventionalCommitsConfig ??= config.conventionalCommitsConfig;
|
|
30
|
-
this.conventionalCommitsConfig.types ??= _chunkMIBBWD5Tcjs.DEFAULT_COMMIT_TYPES;
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
exports.StormChangelogRenderer = StormChangelogRenderer;
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import ChangelogRenderer, { DefaultChangelogRenderOptions, DependencyBump } from 'nx/release/changelog-renderer/index';
|
|
2
|
-
import { ChangelogChange } from 'nx/src/command-line/release/changelog';
|
|
3
|
-
import { NxReleaseConfig } from 'nx/src/command-line/release/config/config';
|
|
4
|
-
import { GithubRepoData } from 'nx/src/command-line/release/utils/github';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* The specific options available to the default implementation of the ChangelogRenderer that nx exports
|
|
8
|
-
* for the common case.
|
|
9
|
-
*/
|
|
10
|
-
interface StormChangelogRenderOptions extends Record<string, unknown> {
|
|
11
|
-
/**
|
|
12
|
-
* Whether or not the commit authors should be added to the bottom of the changelog in a "Thank You"
|
|
13
|
-
* section. Defaults to true.
|
|
14
|
-
*/
|
|
15
|
-
authors?: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* Whether or not the commit references (such as commit and/or PR links) should be included in the changelog.
|
|
18
|
-
* Defaults to true.
|
|
19
|
-
*/
|
|
20
|
-
commitReferences?: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Whether or not to include the date in the version title. It can be set to false to disable it, or true to enable
|
|
23
|
-
* with the default of (YYYY-MM-DD). Defaults to true.
|
|
24
|
-
*/
|
|
25
|
-
versionTitleDate?: boolean;
|
|
26
|
-
}
|
|
27
|
-
type StormChangelogRendererConfig = {
|
|
28
|
-
changes: ChangelogChange[];
|
|
29
|
-
changelogEntryVersion: string;
|
|
30
|
-
project: string | null;
|
|
31
|
-
entryWhenNoChanges: string | false;
|
|
32
|
-
isVersionPlans: boolean;
|
|
33
|
-
changelogRenderOptions: DefaultChangelogRenderOptions;
|
|
34
|
-
dependencyBumps?: DependencyBump[];
|
|
35
|
-
repoData?: GithubRepoData;
|
|
36
|
-
conventionalCommitsConfig: NxReleaseConfig["conventionalCommits"] | null;
|
|
37
|
-
};
|
|
38
|
-
/**
|
|
39
|
-
* The Storm ChangelogRenderer for generating markdown from the given commits and other metadata.
|
|
40
|
-
*/
|
|
41
|
-
declare class StormChangelogRenderer extends ChangelogRenderer {
|
|
42
|
-
/**
|
|
43
|
-
* A ChangelogRenderer class takes in the determined changes and other relevant metadata
|
|
44
|
-
* and returns a string, or a Promise of a string of changelog contents (usually markdown).
|
|
45
|
-
*
|
|
46
|
-
* @param config The configuration object for the ChangelogRenderer
|
|
47
|
-
* @param config.changes The collection of changes to show in the changelog
|
|
48
|
-
* @param config.changelogEntryVersion The version for which we are rendering the current changelog entry
|
|
49
|
-
* @param config.project The name of specific project to generate a changelog entry for, or `null` if the overall workspace changelog
|
|
50
|
-
* @param config.entryWhenNoChanges The (already interpolated) string to use as the changelog entry when there are no changes, or `false` if no entry should be generated
|
|
51
|
-
* @param config.isVersionPlans Whether or not Nx release version plans are the source of truth for the changelog entry
|
|
52
|
-
* @param config.changelogRenderOptions The options specific to the ChangelogRenderer implementation
|
|
53
|
-
* @param config.dependencyBumps Optional list of additional dependency bumps that occurred as part of the release, outside of the change data
|
|
54
|
-
* @param config.repoData Resolved data for the current GitHub repository
|
|
55
|
-
* @param config.conventionalCommitsConfig The configuration for conventional commits, or null if version plans are being used
|
|
56
|
-
*/
|
|
57
|
-
constructor(config: StormChangelogRendererConfig);
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export { type StormChangelogRenderOptions, StormChangelogRenderer as default };
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import ChangelogRenderer, { DefaultChangelogRenderOptions, DependencyBump } from 'nx/release/changelog-renderer/index';
|
|
2
|
-
import { ChangelogChange } from 'nx/src/command-line/release/changelog';
|
|
3
|
-
import { NxReleaseConfig } from 'nx/src/command-line/release/config/config';
|
|
4
|
-
import { GithubRepoData } from 'nx/src/command-line/release/utils/github';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* The specific options available to the default implementation of the ChangelogRenderer that nx exports
|
|
8
|
-
* for the common case.
|
|
9
|
-
*/
|
|
10
|
-
interface StormChangelogRenderOptions extends Record<string, unknown> {
|
|
11
|
-
/**
|
|
12
|
-
* Whether or not the commit authors should be added to the bottom of the changelog in a "Thank You"
|
|
13
|
-
* section. Defaults to true.
|
|
14
|
-
*/
|
|
15
|
-
authors?: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* Whether or not the commit references (such as commit and/or PR links) should be included in the changelog.
|
|
18
|
-
* Defaults to true.
|
|
19
|
-
*/
|
|
20
|
-
commitReferences?: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Whether or not to include the date in the version title. It can be set to false to disable it, or true to enable
|
|
23
|
-
* with the default of (YYYY-MM-DD). Defaults to true.
|
|
24
|
-
*/
|
|
25
|
-
versionTitleDate?: boolean;
|
|
26
|
-
}
|
|
27
|
-
type StormChangelogRendererConfig = {
|
|
28
|
-
changes: ChangelogChange[];
|
|
29
|
-
changelogEntryVersion: string;
|
|
30
|
-
project: string | null;
|
|
31
|
-
entryWhenNoChanges: string | false;
|
|
32
|
-
isVersionPlans: boolean;
|
|
33
|
-
changelogRenderOptions: DefaultChangelogRenderOptions;
|
|
34
|
-
dependencyBumps?: DependencyBump[];
|
|
35
|
-
repoData?: GithubRepoData;
|
|
36
|
-
conventionalCommitsConfig: NxReleaseConfig["conventionalCommits"] | null;
|
|
37
|
-
};
|
|
38
|
-
/**
|
|
39
|
-
* The Storm ChangelogRenderer for generating markdown from the given commits and other metadata.
|
|
40
|
-
*/
|
|
41
|
-
declare class StormChangelogRenderer extends ChangelogRenderer {
|
|
42
|
-
/**
|
|
43
|
-
* A ChangelogRenderer class takes in the determined changes and other relevant metadata
|
|
44
|
-
* and returns a string, or a Promise of a string of changelog contents (usually markdown).
|
|
45
|
-
*
|
|
46
|
-
* @param config The configuration object for the ChangelogRenderer
|
|
47
|
-
* @param config.changes The collection of changes to show in the changelog
|
|
48
|
-
* @param config.changelogEntryVersion The version for which we are rendering the current changelog entry
|
|
49
|
-
* @param config.project The name of specific project to generate a changelog entry for, or `null` if the overall workspace changelog
|
|
50
|
-
* @param config.entryWhenNoChanges The (already interpolated) string to use as the changelog entry when there are no changes, or `false` if no entry should be generated
|
|
51
|
-
* @param config.isVersionPlans Whether or not Nx release version plans are the source of truth for the changelog entry
|
|
52
|
-
* @param config.changelogRenderOptions The options specific to the ChangelogRenderer implementation
|
|
53
|
-
* @param config.dependencyBumps Optional list of additional dependency bumps that occurred as part of the release, outside of the change data
|
|
54
|
-
* @param config.repoData Resolved data for the current GitHub repository
|
|
55
|
-
* @param config.conventionalCommitsConfig The configuration for conventional commits, or null if version plans are being used
|
|
56
|
-
*/
|
|
57
|
-
constructor(config: StormChangelogRendererConfig);
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export { type StormChangelogRenderOptions, StormChangelogRenderer as default };
|