@cabloy/cli 3.0.61 → 3.0.63

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.
@@ -145,7 +145,7 @@ export class LocalTemplate {
145
145
  // save
146
146
  fs.writeFileSync(targetFile, result);
147
147
  // format
148
- if (changed) {
148
+ if (changed && !this.context.argv.noformat) {
149
149
  await catchError(() => {
150
150
  return this.helper.formatFile({ fileName: targetFile, logPrefix: 'format: ' });
151
151
  });
@@ -5,6 +5,8 @@ export interface ICommandArgv {
5
5
  vscode: boolean;
6
6
  dummy: boolean;
7
7
  ci: boolean;
8
+ nometadata: boolean;
9
+ noformat: boolean;
8
10
  _: string[];
9
11
  }
10
12
  export interface ICommandContext {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cabloy/cli",
3
3
  "type": "module",
4
- "version": "3.0.61",
4
+ "version": "3.0.63",
5
5
  "description": "@cabloy/cli",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -27,10 +27,10 @@
27
27
  ],
28
28
  "dependencies": {
29
29
  "@babel/parser": "^7.26.5",
30
- "@cabloy/module-glob": "^5.2.32",
30
+ "@cabloy/module-glob": "^5.2.33",
31
31
  "@cabloy/module-info": "^1.3.31",
32
32
  "@cabloy/process-helper": "^2.0.21",
33
- "@cabloy/utils": "^1.0.47",
33
+ "@cabloy/utils": "^1.0.48",
34
34
  "@cabloy/word-utils": "^2.0.1",
35
35
  "@npmcli/config": "^10.4.2",
36
36
  "@zhennann/common-bin": "^4.0.0",