@done-coding/cli-template 0.8.8-alpha.1 → 0.8.9-alpha.0
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 +1 -1
- package/es/index.mjs +2 -2
- package/es/{main-b04c01dc.js → main-bca30209.js} +2 -2
- package/package.json +8 -12
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-bca30209.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-bca30209.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 N = {
|
|
8
8
|
name: "@done-coding/cli-template",
|
|
9
|
-
version: "0.8.
|
|
9
|
+
version: "0.8.9-alpha.0",
|
|
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/cli-template",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.9-alpha.0",
|
|
4
4
|
"description": "预编译命令行工具",
|
|
5
5
|
"private": false,
|
|
6
6
|
"module": "es/index.mjs",
|
|
@@ -21,10 +21,7 @@
|
|
|
21
21
|
"types"
|
|
22
22
|
],
|
|
23
23
|
"scripts": {
|
|
24
|
-
"
|
|
25
|
-
"predev": "pnpm run clean",
|
|
26
|
-
"dev": "vite build --watch",
|
|
27
|
-
"prebuild": "pnpm run clean",
|
|
24
|
+
"dev": "vite build -w -m hotBuild",
|
|
28
25
|
"build": "vite build",
|
|
29
26
|
"prepack": "pnpm build"
|
|
30
27
|
},
|
|
@@ -41,23 +38,22 @@
|
|
|
41
38
|
"license": "MIT",
|
|
42
39
|
"sideEffects": false,
|
|
43
40
|
"devDependencies": {
|
|
44
|
-
"@done-coding/cli-inject": "0.5.
|
|
41
|
+
"@done-coding/cli-inject": "0.5.22-alpha.0",
|
|
45
42
|
"@types/lodash.assign": "^4.2.9",
|
|
46
43
|
"@types/lodash.template": "^4.5.3",
|
|
47
44
|
"@types/node": "^18.0.0",
|
|
48
45
|
"@types/yargs": "^17.0.28",
|
|
49
|
-
"rimraf": "^6.0.1",
|
|
50
46
|
"typescript": "^5.8.3",
|
|
51
47
|
"vite": "^4.4.11",
|
|
52
48
|
"vite-plugin-dts": "^3.6.0"
|
|
53
49
|
},
|
|
54
|
-
"engines": {
|
|
55
|
-
"node": ">=18.0.0"
|
|
56
|
-
},
|
|
57
50
|
"dependencies": {
|
|
58
|
-
"@done-coding/cli-utils": "0.8.
|
|
51
|
+
"@done-coding/cli-utils": "0.8.3-alpha.0",
|
|
59
52
|
"lodash.assign": "^4.2.0",
|
|
60
53
|
"lodash.template": "^4.5.0"
|
|
61
54
|
},
|
|
62
|
-
"
|
|
55
|
+
"engines": {
|
|
56
|
+
"node": ">=18.0.0"
|
|
57
|
+
},
|
|
58
|
+
"gitHead": "906b7683d9e4dc75fb07806b12e5507827122a16"
|
|
63
59
|
}
|