@kimesh/cli 0.2.8 → 0.2.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/dist/commands/init.d.ts +2 -2
- package/dist/commands/init.js +1 -3
- package/dist/index.js +2 -2
- package/dist/{layer-BmGxsxYn.js → layer-CMtAhoLY.js} +1 -3
- package/dist/{main-D9ydI3Ey.js → main-Di3LTdeu.js} +1 -1
- package/dist/main.js +1 -1
- package/dist/{run-C6bKT4oh.js → run-CQnvUWbU.js} +1 -1
- package/dist/run.js +2 -2
- package/package.json +2 -2
package/dist/commands/init.d.ts
CHANGED
package/dist/commands/init.js
CHANGED
|
@@ -55,9 +55,7 @@ var init_default = defineCommand({
|
|
|
55
55
|
consola.log(` ${pc.green("+")} ${dir}/`);
|
|
56
56
|
} else consola.log(` ${pc.dim("○")} ${dir}/ (exists)`);
|
|
57
57
|
}
|
|
58
|
-
const configContent = `
|
|
59
|
-
|
|
60
|
-
export default defineKmConfig({
|
|
58
|
+
const configContent = `export default defineKmConfig({
|
|
61
59
|
// Application name
|
|
62
60
|
name: '${getProjectName(root)}',
|
|
63
61
|
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { commands, main, version } from "./main-
|
|
2
|
-
import { run } from "./run-
|
|
1
|
+
import { commands, main, version } from "./main-Di3LTdeu.js";
|
|
2
|
+
import { run } from "./run-CQnvUWbU.js";
|
|
3
3
|
import { clearKitCache, getKit, loadKit } from "./kit-BcEYldTS.js";
|
|
4
4
|
import { buildArgs, devArgs, prepareArgs, sharedArgs } from "./_shared-D3uN5SoF.js";
|
|
5
5
|
import consola from "consola";
|
|
@@ -145,9 +145,7 @@ var layer_default = defineCommand({
|
|
|
145
145
|
fs.mkdirSync(dirPath, { recursive: true });
|
|
146
146
|
consola.log(` ${pc.green("+")} ${dir || layerName}/`);
|
|
147
147
|
}
|
|
148
|
-
const configContent = `
|
|
149
|
-
|
|
150
|
-
export default defineKmConfig({
|
|
148
|
+
const configContent = `export default defineKmConfig({
|
|
151
149
|
name: '${layerName}',
|
|
152
150
|
|
|
153
151
|
// Base path for all routes in this layer
|
|
@@ -13,7 +13,7 @@ const commands = {
|
|
|
13
13
|
build: () => import("./build-DeoCfEWa.js").then((m) => m.default),
|
|
14
14
|
generate: () => import("./generate-wsf4mquZ.js").then((m) => m.default),
|
|
15
15
|
prepare: () => import("./prepare-VztJSQF3.js").then((m) => m.default),
|
|
16
|
-
layer: () => import("./layer-
|
|
16
|
+
layer: () => import("./layer-CMtAhoLY.js").then((m) => m.default),
|
|
17
17
|
init: () => import("./commands/init.js").then((m) => m.default),
|
|
18
18
|
start: () => import("./dev-GvlWAVQg.js").then((m) => m.default)
|
|
19
19
|
};
|
package/dist/main.js
CHANGED
package/dist/run.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kimesh/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.9",
|
|
4
4
|
"description": "Kimesh Framework CLI",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"typecheck": "tsc --noEmit"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@kimesh/kit": "0.2.
|
|
40
|
+
"@kimesh/kit": "0.2.9",
|
|
41
41
|
"citty": "^0.1.6",
|
|
42
42
|
"consola": "^3.4.2",
|
|
43
43
|
"exsolve": "^1.0.8",
|