@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.
Files changed (35) hide show
  1. package/dist_ts/00_commitinfo_data.js +1 -1
  2. package/dist_ts/gitzone.cli.d.ts +1 -1
  3. package/dist_ts/gitzone.cli.js +100 -126
  4. package/dist_ts/helpers.climode.d.ts +2 -0
  5. package/dist_ts/helpers.climode.js +31 -2
  6. package/dist_ts/helpers.smartconfigmigrations.js +34 -2
  7. package/dist_ts/mod_config/index.js +51 -10
  8. package/dist_ts/mod_format/classes.baseformatter.d.ts +3 -1
  9. package/dist_ts/mod_format/classes.baseformatter.js +7 -1
  10. package/dist_ts/mod_format/classes.formatplanner.d.ts +2 -0
  11. package/dist_ts/mod_format/classes.formatplanner.js +48 -4
  12. package/dist_ts/mod_format/formatters/license.formatter.d.ts +4 -1
  13. package/dist_ts/mod_format/formatters/license.formatter.js +32 -10
  14. package/dist_ts/mod_format/formatters/prettier.formatter.d.ts +0 -3
  15. package/dist_ts/mod_format/formatters/prettier.formatter.js +53 -62
  16. package/dist_ts/mod_format/index.d.ts +1 -1
  17. package/dist_ts/mod_format/index.js +237 -8
  18. package/dist_ts/mod_format/interfaces.format.d.ts +7 -11
  19. package/dist_ts/mod_format/interfaces.format.js +1 -1
  20. package/dist_ts/mod_standard/index.js +2 -1
  21. package/package.json +1 -1
  22. package/readme.hints.md +10 -0
  23. package/readme.md +11 -0
  24. package/ts/00_commitinfo_data.ts +1 -1
  25. package/ts/gitzone.cli.ts +104 -144
  26. package/ts/helpers.climode.ts +36 -1
  27. package/ts/helpers.smartconfigmigrations.ts +37 -1
  28. package/ts/mod_config/index.ts +60 -9
  29. package/ts/mod_format/classes.baseformatter.ts +13 -1
  30. package/ts/mod_format/classes.formatplanner.ts +66 -4
  31. package/ts/mod_format/formatters/license.formatter.ts +43 -15
  32. package/ts/mod_format/formatters/prettier.formatter.ts +54 -66
  33. package/ts/mod_format/index.ts +289 -8
  34. package/ts/mod_format/interfaces.format.ts +8 -11
  35. 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: Array<{
9
- type: 'create' | 'modify' | 'delete';
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 = {
@@ -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("");