done-coding-template 0.8.7 → 0.8.9

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/es/cli.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { e as m } from "./main-a217c17b.js";
2
+ import { e as m } from "./main-40d8112f.js";
3
3
  import "node:path";
4
4
  import "node:fs";
5
5
  import "@done-coding/cli-utils";
package/es/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
- import { M as r } from "./main-a217c17b.js";
3
- import { d as f, O as T, S as _, T as h, b as A, a as O, c as b, h as L } from "./main-a217c17b.js";
2
+ import { M as r } from "./main-40d8112f.js";
3
+ import { d as f, O as T, S as _, T as h, b as A, a as O, c as b, h as L } from "./main-40d8112f.js";
4
4
  import t from "node:path";
5
5
  import { existsSync as m } from "node:fs";
6
6
  import "@done-coding/cli-utils";
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import y from "node:path";
3
3
  import p from "node:fs";
4
- import { log as a, xPrompts as A, getConfigFileCommonOptions as P, getUseDefaultConfig as V, initHandlerCommon as W, readConfigFile as G, createSubcommand as S, getRootScriptName as J, createMainCommand as K } from "@done-coding/cli-utils";
4
+ import { outputConsole as a, xPrompts as A, getConfigFileCommonOptions as P, getUseDefaultConfig as V, initHandlerCommon as W, readConfigFile as G, createSubcommand as S, getRootScriptName as J, createMainCommand as K } from "@done-coding/cli-utils";
5
5
  import L from "lodash.template";
6
6
  import q from "lodash.assign";
7
7
  const h = {
8
8
  name: "@done-coding/cli-template",
9
- version: "0.8.7",
9
+ version: "0.8.9",
10
10
  description: "预编译命令行工具",
11
11
  bin: {
12
12
  "dc-template": "es/cli.mjs"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "done-coding-template",
3
- "version": "0.8.7",
3
+ "version": "0.8.9",
4
4
  "description": "预编译命令行工具",
5
5
  "private": false,
6
6
  "module": "es/index.mjs",
@@ -31,24 +31,23 @@
31
31
  "license": "MIT",
32
32
  "sideEffects": false,
33
33
  "devDependencies": {
34
- "@done-coding/cli-inject": "0.5.20",
34
+ "@done-coding/cli-inject": "0.5.22",
35
35
  "@types/lodash.assign": "^4.2.9",
36
36
  "@types/lodash.template": "^4.5.3",
37
37
  "@types/node": "^18.0.0",
38
38
  "@types/yargs": "^17.0.28",
39
- "rimraf": "^6.0.1",
40
- "typescript": "^5.2.2",
39
+ "typescript": "^5.8.3",
41
40
  "vite": "^4.4.11",
42
41
  "vite-plugin-dts": "^3.6.0"
43
42
  },
44
- "engines": {
45
- "node": ">=18.0.0"
46
- },
47
43
  "dependencies": {
48
- "@done-coding/cli-utils": "0.8.1",
44
+ "@done-coding/cli-utils": "0.8.3",
49
45
  "lodash.assign": "^4.2.0",
50
46
  "lodash.template": "^4.5.0"
51
47
  },
52
- "gitHead": "0930f800167c04a86b56eae9741872dd51bec0c6",
48
+ "engines": {
49
+ "node": ">=18.0.0"
50
+ },
51
+ "gitHead": "4893b466954ef5925151d8dfc8fc8aa558ce654c",
53
52
  "scripts": {}
54
53
  }
package/types/index.d.ts CHANGED
@@ -6,7 +6,7 @@ import type { ReadConfigFileOptions } from '@done-coding/cli-utils';
6
6
  /** 批量编译模板 */
7
7
  export declare const batchCompileHandler: ({ extraEnvData, ...args }: CliHandlerArgv<CompileBatchOptions & {
8
8
  /** 额外的环境变量 */
9
- extraEnvData?: object | undefined;
9
+ extraEnvData?: object;
10
10
  }>, paramsConfig?: CompileTemplateConfig) => Promise<(string | undefined)[]>;
11
11
 
12
12
  /** 采集环境变量配置 */