@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.
@@ -1,7 +1,7 @@
1
- import * as citty1 from "citty";
1
+ import * as citty0 from "citty";
2
2
 
3
3
  //#region src/commands/init.d.ts
4
- declare const _default: citty1.CommandDef<{
4
+ declare const _default: citty0.CommandDef<{
5
5
  root: {
6
6
  type: "string";
7
7
  alias: string;
@@ -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 = `import { defineKmConfig } from '@kimesh/kit'
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-D9ydI3Ey.js";
2
- import { run } from "./run-C6bKT4oh.js";
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 = `import { defineKmConfig } from '@kimesh/kit'
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-BmGxsxYn.js").then((m) => m.default),
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
@@ -1,3 +1,3 @@
1
- import { main, version } from "./main-D9ydI3Ey.js";
1
+ import { main, version } from "./main-Di3LTdeu.js";
2
2
 
3
3
  export { main, version };
@@ -1,4 +1,4 @@
1
- import { main } from "./main-D9ydI3Ey.js";
1
+ import { main } from "./main-Di3LTdeu.js";
2
2
  import { runMain } from "citty";
3
3
 
4
4
  //#region src/run.ts
package/dist/run.js CHANGED
@@ -1,4 +1,4 @@
1
- import "./main-D9ydI3Ey.js";
2
- import { run } from "./run-C6bKT4oh.js";
1
+ import "./main-Di3LTdeu.js";
2
+ import { run } from "./run-CQnvUWbU.js";
3
3
 
4
4
  export { run };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kimesh/cli",
3
- "version": "0.2.8",
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.8",
40
+ "@kimesh/kit": "0.2.9",
41
41
  "citty": "^0.1.6",
42
42
  "consola": "^3.4.2",
43
43
  "exsolve": "^1.0.8",