@ckeditor/ckeditor5-dev-changelog 55.6.0-alpha.0 → 55.6.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/index.d.ts +6 -6
- package/dist/index.js +1217 -1384
- package/dist/tasks/generatechangelogformonorepository.d.ts +3 -7
- package/dist/tasks/generatechangelogforsinglerepository.d.ts +2 -6
- package/dist/template.d.ts +5 -9
- package/dist/template.js +96 -106
- package/dist/types.d.ts +97 -99
- package/dist/utils/asyncarray.d.ts +31 -31
- package/dist/utils/commitchanges.d.ts +2 -6
- package/dist/utils/composechangelog.d.ts +16 -20
- package/dist/utils/composereleasesummary.d.ts +17 -17
- package/dist/utils/constants.d.ts +34 -38
- package/dist/utils/detectreleasechannel.d.ts +3 -7
- package/dist/utils/determinenextversion.d.ts +14 -18
- package/dist/utils/displaychanges.d.ts +13 -17
- package/dist/utils/filtervisiblesections.d.ts +7 -11
- package/dist/utils/findchangelogentrypaths.d.ts +8 -12
- package/dist/utils/findpackages.d.ts +7 -11
- package/dist/utils/generatechangelog.d.ts +9 -13
- package/dist/utils/getdateformatted.d.ts +2 -6
- package/dist/utils/getreleasetype.d.ts +4 -4
- package/dist/utils/groupentriesbysection.d.ts +7 -11
- package/dist/utils/internalerror.d.ts +6 -7
- package/dist/utils/linktogithubuser.d.ts +8 -8
- package/dist/utils/loginfo.d.ts +8 -8
- package/dist/utils/modifychangelog.d.ts +5 -9
- package/dist/utils/movechangelogentryfiles.d.ts +5 -9
- package/dist/utils/normalizeentry.d.ts +4 -4
- package/dist/utils/parsechangelogentries.d.ts +3 -7
- package/dist/utils/promptreleasetype.d.ts +3 -7
- package/dist/utils/providenewversion.d.ts +15 -19
- package/dist/utils/removechangelogentryfiles.d.ts +4 -8
- package/dist/utils/sortentriesbyscopeanddate.d.ts +9 -9
- package/dist/utils/truncatechangelog.d.ts +2 -6
- package/dist/utils/useraborterror.d.ts +6 -7
- package/dist/utils/validateentry.d.ts +13 -13
- package/dist/utils/validateinputversion.d.ts +6 -10
- package/package.json +2 -2
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import type { ParsedFile } from
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md.
|
|
4
|
+
*/
|
|
5
|
+
import type { ParsedFile } from "../types.js";
|
|
6
6
|
/**
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
7
|
+
* Validates a changelog entry against expected types, scopes, and issue references.
|
|
8
|
+
*
|
|
9
|
+
* It checks if the type is valid and consistent with single or multi-package modes,
|
|
10
|
+
* verifies scopes against known package names, and ensures issue references are correctly formatted.
|
|
11
|
+
*
|
|
12
|
+
* Returns whether the entry is valid along with a validated version including any validation messages.
|
|
13
|
+
*/
|
|
14
14
|
export declare function validateEntry(entry: ParsedFile, packagesNames: Array<string>, singlePackage: boolean): {
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
isValid: boolean;
|
|
16
|
+
validatedEntry: ParsedFile;
|
|
17
17
|
};
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md.
|
|
4
|
-
*/
|
|
5
|
-
import type { ChangelogReleaseType } from '../types.js';
|
|
1
|
+
import type { ChangelogReleaseType } from "../types.js";
|
|
6
2
|
type ValidateOptions = {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
newVersion: string;
|
|
4
|
+
version: string;
|
|
5
|
+
releaseType: ChangelogReleaseType;
|
|
6
|
+
packageName: string;
|
|
7
|
+
suggestedVersion: string;
|
|
12
8
|
};
|
|
13
9
|
export declare function validateInputVersion(options: ValidateOptions): Promise<string | true>;
|
|
14
10
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-dev-changelog",
|
|
3
|
-
"version": "55.6.
|
|
3
|
+
"version": "55.6.1",
|
|
4
4
|
"description": "A CKEditor 5 development tool for handling changelogs.",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"ckeditor5-dev-changelog-create-entry": "bin/generate-template.js"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@ckeditor/ckeditor5-dev-utils": "^55.6.
|
|
31
|
+
"@ckeditor/ckeditor5-dev-utils": "^55.6.1",
|
|
32
32
|
"cac": "^7.0.0",
|
|
33
33
|
"date-fns": "^4.1.0",
|
|
34
34
|
"glob": "^13.0.6",
|