@git.zone/cli 2.19.0 → 2.19.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_ts/00_commitinfo_data.js +1 -1
- package/dist_ts/gitzone.cli.d.ts +1 -1
- package/dist_ts/gitzone.cli.js +100 -126
- package/dist_ts/helpers.climode.d.ts +2 -0
- package/dist_ts/helpers.climode.js +31 -2
- package/dist_ts/helpers.smartconfigmigrations.js +34 -2
- package/dist_ts/mod_config/index.js +51 -10
- package/dist_ts/mod_format/classes.baseformatter.d.ts +3 -1
- package/dist_ts/mod_format/classes.baseformatter.js +7 -1
- package/dist_ts/mod_format/classes.formatplanner.d.ts +2 -0
- package/dist_ts/mod_format/classes.formatplanner.js +48 -4
- package/dist_ts/mod_format/formatters/license.formatter.d.ts +4 -1
- package/dist_ts/mod_format/formatters/license.formatter.js +32 -10
- package/dist_ts/mod_format/formatters/prettier.formatter.d.ts +0 -3
- package/dist_ts/mod_format/formatters/prettier.formatter.js +53 -62
- package/dist_ts/mod_format/index.d.ts +1 -1
- package/dist_ts/mod_format/index.js +237 -8
- package/dist_ts/mod_format/interfaces.format.d.ts +7 -11
- package/dist_ts/mod_format/interfaces.format.js +1 -1
- package/dist_ts/mod_standard/index.js +2 -1
- package/package.json +1 -1
- package/readme.hints.md +10 -0
- package/readme.md +11 -0
- package/ts/00_commitinfo_data.ts +1 -1
- package/ts/gitzone.cli.ts +104 -144
- package/ts/helpers.climode.ts +36 -1
- package/ts/helpers.smartconfigmigrations.ts +37 -1
- package/ts/mod_config/index.ts +60 -9
- package/ts/mod_format/classes.baseformatter.ts +13 -1
- package/ts/mod_format/classes.formatplanner.ts +66 -4
- package/ts/mod_format/formatters/license.formatter.ts +43 -15
- package/ts/mod_format/formatters/prettier.formatter.ts +54 -66
- package/ts/mod_format/index.ts +289 -8
- package/ts/mod_format/interfaces.format.ts +8 -11
- package/ts/mod_standard/index.ts +1 -0
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
export type IFormatWarning = {
|
|
2
|
+
level: 'info' | 'warning' | 'error';
|
|
3
|
+
message: string;
|
|
4
|
+
module: string;
|
|
5
|
+
};
|
|
6
|
+
|
|
1
7
|
export type IFormatPlan = {
|
|
2
8
|
summary: {
|
|
3
9
|
totalFiles: number;
|
|
@@ -5,17 +11,8 @@ export type IFormatPlan = {
|
|
|
5
11
|
filesModified: number;
|
|
6
12
|
filesRemoved: number;
|
|
7
13
|
};
|
|
8
|
-
changes:
|
|
9
|
-
|
|
10
|
-
path: string;
|
|
11
|
-
module: string;
|
|
12
|
-
description: string;
|
|
13
|
-
}>;
|
|
14
|
-
warnings: Array<{
|
|
15
|
-
level: 'info' | 'warning' | 'error';
|
|
16
|
-
message: string;
|
|
17
|
-
module: string;
|
|
18
|
-
}>;
|
|
14
|
+
changes: IPlannedChange[];
|
|
15
|
+
warnings: IFormatWarning[];
|
|
19
16
|
};
|
|
20
17
|
|
|
21
18
|
export type IPlannedChange = {
|
package/ts/mod_standard/index.ts
CHANGED
|
@@ -202,6 +202,7 @@ export async function showHelp(
|
|
|
202
202
|
console.log(" gitzone commit recommend --json");
|
|
203
203
|
console.log(" gitzone release --plan");
|
|
204
204
|
console.log(" gitzone format plan --json");
|
|
205
|
+
console.log(" gitzone format check");
|
|
205
206
|
console.log(" gitzone services set mongodb,minio");
|
|
206
207
|
console.log(" gitzone tools update");
|
|
207
208
|
console.log("");
|