done-coding-template 0.8.7 → 0.8.10
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/README.md +1 -1
- package/es/cli.mjs +1 -1
- package/es/index.mjs +2 -2
- package/es/{main-a217c17b.js → main-8e07f653.js} +2 -2
- package/package.json +9 -10
- package/types/index.d.ts +1 -1
package/README.md
CHANGED
package/es/cli.mjs
CHANGED
package/es/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { M as r } from "./main-
|
|
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-
|
|
2
|
+
import { M as r } from "./main-8e07f653.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-8e07f653.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 {
|
|
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.
|
|
9
|
+
version: "0.8.10",
|
|
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.
|
|
3
|
+
"version": "0.8.10",
|
|
4
4
|
"description": "预编译命令行工具",
|
|
5
5
|
"private": false,
|
|
6
6
|
"module": "es/index.mjs",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
],
|
|
21
21
|
"repository": {
|
|
22
22
|
"type": "git",
|
|
23
|
-
"url": "https://
|
|
23
|
+
"url": "https://github.com/done-coding/done-coding-cli.git",
|
|
24
24
|
"directory": "packages/template"
|
|
25
25
|
},
|
|
26
26
|
"publishConfig": {
|
|
@@ -31,24 +31,23 @@
|
|
|
31
31
|
"license": "MIT",
|
|
32
32
|
"sideEffects": false,
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@done-coding/cli-inject": "0.5.
|
|
34
|
+
"@done-coding/cli-inject": "0.5.23",
|
|
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
|
-
"
|
|
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.
|
|
44
|
+
"@done-coding/cli-utils": "0.8.4",
|
|
49
45
|
"lodash.assign": "^4.2.0",
|
|
50
46
|
"lodash.template": "^4.5.0"
|
|
51
47
|
},
|
|
52
|
-
"
|
|
48
|
+
"engines": {
|
|
49
|
+
"node": ">=18.0.0"
|
|
50
|
+
},
|
|
51
|
+
"gitHead": "d90f437c0a716f3e62bd92a221341838710869ad",
|
|
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
|
|
9
|
+
extraEnvData?: object;
|
|
10
10
|
}>, paramsConfig?: CompileTemplateConfig) => Promise<(string | undefined)[]>;
|
|
11
11
|
|
|
12
12
|
/** 采集环境变量配置 */
|