@kimesh/cli 0.2.40 → 0.2.41
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/{_shared-D3uN5SoF.js → _shared-JV2GOe_2.mjs} +1 -1
- package/dist/{build-DeoCfEWa.js → build-Bq05aTM1.mjs} +3 -4
- package/dist/commands/{init.d.ts → init.d.mts} +2 -2
- package/dist/commands/{init.js → init.mjs} +13 -19
- package/dist/{dev-GvlWAVQg.js → dev-nJmJLBNi.mjs} +3 -4
- package/dist/{generate-wsf4mquZ.js → generate-B1_XPFaH.mjs} +1 -1
- package/dist/{index.d.ts → index.d.mts} +12 -12
- package/dist/{index.js → index.mjs} +6 -6
- package/dist/{kit-BcEYldTS.js → kit-Cj1Ou_JO.mjs} +2 -3
- package/dist/{layer-CMtAhoLY.js → layer-CHJQAFwQ.mjs} +10 -15
- package/dist/{main-Di3LTdeu.js → main-oFtD4eNz.mjs} +9 -11
- package/dist/main.d.mts +10 -0
- package/dist/main.mjs +3 -0
- package/dist/{prepare-VztJSQF3.js → prepare-Dxj92NpO.mjs} +3 -4
- package/dist/{run-DiuH8yNF.d.ts → run.d.mts} +1 -1
- package/dist/{run-CQnvUWbU.js → run.mjs} +1 -1
- package/package.json +14 -14
- package/dist/main-CnFffgxE.d.ts +0 -10
- package/dist/main.d.ts +0 -2
- package/dist/main.js +0 -3
- package/dist/run.d.ts +0 -2
- package/dist/run.js +0 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { loadKit } from "./kit-
|
|
2
|
-
import { buildArgs } from "./_shared-
|
|
1
|
+
import { r as loadKit } from "./kit-Cj1Ou_JO.mjs";
|
|
2
|
+
import { t as buildArgs } from "./_shared-JV2GOe_2.mjs";
|
|
3
3
|
import { defineCommand } from "citty";
|
|
4
4
|
import consola from "consola";
|
|
5
5
|
import { resolve } from "node:path";
|
|
@@ -14,8 +14,7 @@ var build_default = defineCommand({
|
|
|
14
14
|
async run({ args }) {
|
|
15
15
|
const root = resolve(args.root || process.cwd());
|
|
16
16
|
consola.info(`Building for production...`);
|
|
17
|
-
const
|
|
18
|
-
const { loadConfig, kimeshPlugin } = kit;
|
|
17
|
+
const { loadConfig, kimeshPlugin } = await loadKit(root);
|
|
19
18
|
const kmConfig = await loadConfig({
|
|
20
19
|
root,
|
|
21
20
|
configFile: args.config
|
|
@@ -41,14 +41,13 @@ var init_default = defineCommand({
|
|
|
41
41
|
consola.warn(`${pc.yellow("kimesh.config.ts already exists.")} Use ${pc.cyan("--force")} to overwrite.`);
|
|
42
42
|
return;
|
|
43
43
|
}
|
|
44
|
-
const
|
|
44
|
+
for (const dir of [
|
|
45
45
|
"routes",
|
|
46
46
|
"components",
|
|
47
47
|
"composables",
|
|
48
48
|
"utils",
|
|
49
49
|
"public"
|
|
50
|
-
]
|
|
51
|
-
for (const dir of dirs) {
|
|
50
|
+
]) {
|
|
52
51
|
const dirPath = join(root, dir);
|
|
53
52
|
if (!fs.existsSync(dirPath)) {
|
|
54
53
|
fs.mkdirSync(dirPath, { recursive: true });
|
|
@@ -79,9 +78,9 @@ var init_default = defineCommand({
|
|
|
79
78
|
consola.log(` ${pc.green("+")} kimesh.config.ts`);
|
|
80
79
|
const appVuePath = join(root, "app.vue");
|
|
81
80
|
if (!fs.existsSync(appVuePath) || args.force) {
|
|
82
|
-
|
|
81
|
+
fs.writeFileSync(appVuePath, `<script setup lang="ts">
|
|
83
82
|
// Your app setup goes here
|
|
84
|
-
|
|
83
|
+
<\/script>
|
|
85
84
|
|
|
86
85
|
<template>
|
|
87
86
|
<router-view />
|
|
@@ -93,15 +92,14 @@ var init_default = defineCommand({
|
|
|
93
92
|
--color-secondary: #6366f1;
|
|
94
93
|
}
|
|
95
94
|
</style>
|
|
96
|
-
|
|
97
|
-
fs.writeFileSync(appVuePath, appVueContent);
|
|
95
|
+
`);
|
|
98
96
|
consola.log(` ${pc.green("+")} app.vue`);
|
|
99
97
|
}
|
|
100
98
|
const indexRoutePath = join(root, "routes", "index.vue");
|
|
101
99
|
if (!fs.existsSync(indexRoutePath) || args.force) {
|
|
102
|
-
|
|
100
|
+
fs.writeFileSync(indexRoutePath, `<script setup lang="ts">
|
|
103
101
|
// Home page
|
|
104
|
-
|
|
102
|
+
<\/script>
|
|
105
103
|
|
|
106
104
|
<template>
|
|
107
105
|
<div class="home">
|
|
@@ -129,27 +127,25 @@ code {
|
|
|
129
127
|
border-radius: 4px;
|
|
130
128
|
}
|
|
131
129
|
</style>
|
|
132
|
-
|
|
133
|
-
fs.writeFileSync(indexRoutePath, indexRouteContent);
|
|
130
|
+
`);
|
|
134
131
|
consola.log(` ${pc.green("+")} routes/index.vue`);
|
|
135
132
|
}
|
|
136
133
|
if (args.typescript) {
|
|
137
134
|
const tsconfigPath = join(root, "tsconfig.json");
|
|
138
135
|
if (!fs.existsSync(tsconfigPath) || args.force) {
|
|
139
|
-
|
|
136
|
+
fs.writeFileSync(tsconfigPath, `{
|
|
140
137
|
"extends": "./.kimesh/tsconfig.json",
|
|
141
138
|
"compilerOptions": {
|
|
142
139
|
"strict": true
|
|
143
140
|
}
|
|
144
141
|
}
|
|
145
|
-
|
|
146
|
-
fs.writeFileSync(tsconfigPath, tsconfigContent);
|
|
142
|
+
`);
|
|
147
143
|
consola.log(` ${pc.green("+")} tsconfig.json`);
|
|
148
144
|
}
|
|
149
145
|
}
|
|
150
146
|
const gitignorePath = join(root, ".gitignore");
|
|
151
147
|
if (!fs.existsSync(gitignorePath) || args.force) {
|
|
152
|
-
|
|
148
|
+
fs.writeFileSync(gitignorePath, `# Dependencies
|
|
153
149
|
node_modules/
|
|
154
150
|
|
|
155
151
|
# Build output
|
|
@@ -171,8 +167,7 @@ dist/
|
|
|
171
167
|
# OS
|
|
172
168
|
.DS_Store
|
|
173
169
|
Thumbs.db
|
|
174
|
-
|
|
175
|
-
fs.writeFileSync(gitignorePath, gitignoreContent);
|
|
170
|
+
`);
|
|
176
171
|
consola.log(` ${pc.green("+")} .gitignore`);
|
|
177
172
|
}
|
|
178
173
|
consola.log("");
|
|
@@ -188,8 +183,7 @@ Thumbs.db
|
|
|
188
183
|
* Get project name from directory path
|
|
189
184
|
*/
|
|
190
185
|
function getProjectName(root) {
|
|
191
|
-
|
|
192
|
-
return basename.toLowerCase().replace(/[^a-z0-9-]/g, "-").replace(/-+/g, "-").replace(/^-|-$/g, "");
|
|
186
|
+
return (root.split(/[/\\]/).pop() || "my-app").toLowerCase().replace(/[^a-z0-9-]/g, "-").replace(/-+/g, "-").replace(/^-|-$/g, "");
|
|
193
187
|
}
|
|
194
188
|
|
|
195
189
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { loadKit } from "./kit-
|
|
2
|
-
import { devArgs } from "./_shared-
|
|
1
|
+
import { r as loadKit } from "./kit-Cj1Ou_JO.mjs";
|
|
2
|
+
import { n as devArgs } from "./_shared-JV2GOe_2.mjs";
|
|
3
3
|
import { defineCommand } from "citty";
|
|
4
4
|
import consola from "consola";
|
|
5
5
|
import pc from "picocolors";
|
|
@@ -16,8 +16,7 @@ var dev_default = defineCommand({
|
|
|
16
16
|
const root = resolve(args.root || process.cwd());
|
|
17
17
|
const verbose = args.verbose ?? false;
|
|
18
18
|
if (verbose) consola.level = 4;
|
|
19
|
-
const
|
|
20
|
-
const { loadConfig, kimeshPlugin } = kit;
|
|
19
|
+
const { loadConfig, kimeshPlugin } = await loadKit(root);
|
|
21
20
|
const kmConfig = await loadConfig({
|
|
22
21
|
root,
|
|
23
22
|
configFile: args.config
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { main
|
|
2
|
-
import { run
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
1
|
+
import { main, version } from "./main.mjs";
|
|
2
|
+
import { run } from "./run.mjs";
|
|
3
|
+
import * as citty from "citty";
|
|
4
|
+
import * as consola$1 from "consola";
|
|
5
5
|
import * as _kimesh_kit0 from "@kimesh/kit";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/index.d.ts
|
|
@@ -10,7 +10,7 @@ import * as _kimesh_kit0 from "@kimesh/kit";
|
|
|
10
10
|
* Commands are only imported when actually used
|
|
11
11
|
*/
|
|
12
12
|
declare const commands: {
|
|
13
|
-
readonly dev: () => Promise<
|
|
13
|
+
readonly dev: () => Promise<citty.CommandDef<{
|
|
14
14
|
port: {
|
|
15
15
|
type: "string";
|
|
16
16
|
alias: string;
|
|
@@ -59,7 +59,7 @@ declare const commands: {
|
|
|
59
59
|
description: string;
|
|
60
60
|
};
|
|
61
61
|
}>>;
|
|
62
|
-
readonly build: () => Promise<
|
|
62
|
+
readonly build: () => Promise<citty.CommandDef<{
|
|
63
63
|
minify: {
|
|
64
64
|
type: "boolean";
|
|
65
65
|
description: string;
|
|
@@ -85,7 +85,7 @@ declare const commands: {
|
|
|
85
85
|
description: string;
|
|
86
86
|
};
|
|
87
87
|
}>>;
|
|
88
|
-
readonly generate: () => Promise<
|
|
88
|
+
readonly generate: () => Promise<citty.CommandDef<{
|
|
89
89
|
root: {
|
|
90
90
|
type: "string";
|
|
91
91
|
alias: string;
|
|
@@ -101,7 +101,7 @@ declare const commands: {
|
|
|
101
101
|
description: string;
|
|
102
102
|
};
|
|
103
103
|
}>>;
|
|
104
|
-
readonly prepare: () => Promise<
|
|
104
|
+
readonly prepare: () => Promise<citty.CommandDef<{
|
|
105
105
|
verbose: {
|
|
106
106
|
type: "boolean";
|
|
107
107
|
alias: string;
|
|
@@ -123,8 +123,8 @@ declare const commands: {
|
|
|
123
123
|
description: string;
|
|
124
124
|
};
|
|
125
125
|
}>>;
|
|
126
|
-
readonly layer: () => Promise<
|
|
127
|
-
readonly init: () => Promise<
|
|
126
|
+
readonly layer: () => Promise<citty.CommandDef<citty.ArgsDef>>;
|
|
127
|
+
readonly init: () => Promise<citty.CommandDef<{
|
|
128
128
|
root: {
|
|
129
129
|
type: "string";
|
|
130
130
|
alias: string;
|
|
@@ -143,7 +143,7 @@ declare const commands: {
|
|
|
143
143
|
default: true;
|
|
144
144
|
};
|
|
145
145
|
}>>;
|
|
146
|
-
readonly start: () => Promise<
|
|
146
|
+
readonly start: () => Promise<citty.CommandDef<{
|
|
147
147
|
port: {
|
|
148
148
|
type: "string";
|
|
149
149
|
alias: string;
|
|
@@ -228,7 +228,7 @@ declare function getBuildDir(root: string): string;
|
|
|
228
228
|
declare function isGlobalInstall(): boolean;
|
|
229
229
|
//#endregion
|
|
230
230
|
//#region src/utils/logger.d.ts
|
|
231
|
-
declare const logger:
|
|
231
|
+
declare const logger: consola$1.ConsolaInstance;
|
|
232
232
|
/**
|
|
233
233
|
* Print a banner header
|
|
234
234
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { commands, main
|
|
2
|
-
import { run } from "./run
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { n as version, r as commands, t as main } from "./main-oFtD4eNz.mjs";
|
|
2
|
+
import { run } from "./run.mjs";
|
|
3
|
+
import { n as getKit, r as loadKit, t as clearKitCache } from "./kit-Cj1Ou_JO.mjs";
|
|
4
|
+
import { i as sharedArgs, n as devArgs, r as prepareArgs, t as buildArgs } from "./_shared-JV2GOe_2.mjs";
|
|
5
5
|
import consola from "consola";
|
|
6
6
|
import pc from "picocolors";
|
|
7
7
|
import { fileURLToPath } from "node:url";
|
|
@@ -41,8 +41,8 @@ const logger = consola.withTag("kmi");
|
|
|
41
41
|
/**
|
|
42
42
|
* Print a banner header
|
|
43
43
|
*/
|
|
44
|
-
function banner(text, version
|
|
45
|
-
const versionStr = version
|
|
44
|
+
function banner(text, version) {
|
|
45
|
+
const versionStr = version ? ` v${version}` : "";
|
|
46
46
|
consola.log(pc.cyan(`\n 🚀 ${text}${versionStr}\n`));
|
|
47
47
|
}
|
|
48
48
|
/**
|
|
@@ -12,8 +12,7 @@ async function loadKit(root = process.cwd()) {
|
|
|
12
12
|
if (_kit) return _kit;
|
|
13
13
|
try {
|
|
14
14
|
const kitPath = resolveModulePath("@kimesh/kit", { from: root });
|
|
15
|
-
|
|
16
|
-
_kit = await import(kitUrl);
|
|
15
|
+
_kit = await import(pathToFileURL(kitPath).href);
|
|
17
16
|
consola.debug(`Loaded @kimesh/kit from: ${kitPath}`);
|
|
18
17
|
} catch {
|
|
19
18
|
consola.debug("Using bundled @kimesh/kit");
|
|
@@ -36,4 +35,4 @@ function clearKitCache() {
|
|
|
36
35
|
}
|
|
37
36
|
|
|
38
37
|
//#endregion
|
|
39
|
-
export {
|
|
38
|
+
export { getKit as n, loadKit as r, clearKitCache as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { loadKit } from "./kit-
|
|
2
|
-
import { sharedArgs } from "./_shared-
|
|
1
|
+
import { r as loadKit } from "./kit-Cj1Ou_JO.mjs";
|
|
2
|
+
import { i as sharedArgs } from "./_shared-JV2GOe_2.mjs";
|
|
3
3
|
import { defineCommand } from "citty";
|
|
4
4
|
import consola from "consola";
|
|
5
5
|
import pc from "picocolors";
|
|
@@ -21,8 +21,7 @@ var layer_default = defineCommand({
|
|
|
21
21
|
args: sharedArgs,
|
|
22
22
|
async run({ args }) {
|
|
23
23
|
const root = resolve(typeof args.root === "string" ? args.root : process.cwd());
|
|
24
|
-
const
|
|
25
|
-
const { loadConfig } = kit;
|
|
24
|
+
const { loadConfig } = await loadKit(root);
|
|
26
25
|
const kmConfig = await loadConfig({ root });
|
|
27
26
|
consola.info(`${pc.cyan("Available layers:")}\n`);
|
|
28
27
|
const extendsLayers = kmConfig.extends || [];
|
|
@@ -36,8 +35,7 @@ var layer_default = defineCommand({
|
|
|
36
35
|
}
|
|
37
36
|
const layersDir = join(root, "layers");
|
|
38
37
|
if (fs.existsSync(layersDir)) {
|
|
39
|
-
const
|
|
40
|
-
const layers = entries.filter((e) => e.isDirectory());
|
|
38
|
+
const layers = fs.readdirSync(layersDir, { withFileTypes: true }).filter((e) => e.isDirectory());
|
|
41
39
|
if (layers.length > 0) {
|
|
42
40
|
consola.log(pc.bold("Auto-discovered (layers/):"));
|
|
43
41
|
for (const layer of layers) {
|
|
@@ -125,22 +123,20 @@ var layer_default = defineCommand({
|
|
|
125
123
|
const root = resolve(typeof args.root === "string" ? args.root : process.cwd());
|
|
126
124
|
const layerName = args.name;
|
|
127
125
|
const basePath = args.basePath || `/${layerName}`;
|
|
128
|
-
const
|
|
129
|
-
const layerPath = join(layersDir, layerName);
|
|
126
|
+
const layerPath = join(join(root, "layers"), layerName);
|
|
130
127
|
if (fs.existsSync(layerPath)) {
|
|
131
128
|
consola.error(`Layer already exists: ${layerPath}`);
|
|
132
129
|
process.exit(1);
|
|
133
130
|
}
|
|
134
131
|
consola.info(`Creating layer: ${pc.cyan(layerName)}`);
|
|
135
|
-
const
|
|
132
|
+
for (const dir of [
|
|
136
133
|
"",
|
|
137
134
|
"routes",
|
|
138
135
|
"components",
|
|
139
136
|
"composables",
|
|
140
137
|
"utils",
|
|
141
138
|
"stores"
|
|
142
|
-
]
|
|
143
|
-
for (const dir of dirs) {
|
|
139
|
+
]) {
|
|
144
140
|
const dirPath = join(layerPath, dir);
|
|
145
141
|
fs.mkdirSync(dirPath, { recursive: true });
|
|
146
142
|
consola.log(` ${pc.green("+")} ${dir || layerName}/`);
|
|
@@ -173,7 +169,7 @@ var layer_default = defineCommand({
|
|
|
173
169
|
consola.log(` ${pc.green("+")} kimesh.config.ts`);
|
|
174
170
|
const indexRouteContent = `<script setup lang="ts">
|
|
175
171
|
// ${layerName} layer index route
|
|
176
|
-
|
|
172
|
+
<\/script>
|
|
177
173
|
|
|
178
174
|
<template>
|
|
179
175
|
<div class="${layerName}-index">
|
|
@@ -186,7 +182,7 @@ var layer_default = defineCommand({
|
|
|
186
182
|
consola.log(` ${pc.green("+")} routes/index.vue`);
|
|
187
183
|
const layoutContent = `<script setup lang="ts">
|
|
188
184
|
// ${layerName} layer layout
|
|
189
|
-
|
|
185
|
+
<\/script>
|
|
190
186
|
|
|
191
187
|
<template>
|
|
192
188
|
<div class="${layerName}-layout">
|
|
@@ -219,8 +215,7 @@ var layer_default = defineCommand({
|
|
|
219
215
|
consola.info("No layers/ directory found");
|
|
220
216
|
return;
|
|
221
217
|
}
|
|
222
|
-
const
|
|
223
|
-
const layers = entries.filter((e) => e.isDirectory());
|
|
218
|
+
const layers = fs.readdirSync(layersDir, { withFileTypes: true }).filter((e) => e.isDirectory());
|
|
224
219
|
for (const layer of layers) {
|
|
225
220
|
const layerPath = join(layersDir, layer.name);
|
|
226
221
|
consola.log(`${pc.bold(layer.name)}:`);
|
|
@@ -9,20 +9,18 @@ import pc from "picocolors";
|
|
|
9
9
|
* Commands are only imported when actually used
|
|
10
10
|
*/
|
|
11
11
|
const commands = {
|
|
12
|
-
dev: () => import("./dev-
|
|
13
|
-
build: () => import("./build-
|
|
14
|
-
generate: () => import("./generate-
|
|
15
|
-
prepare: () => import("./prepare-
|
|
16
|
-
layer: () => import("./layer-
|
|
17
|
-
init: () => import("./commands/init.
|
|
18
|
-
start: () => import("./dev-
|
|
12
|
+
dev: () => import("./dev-nJmJLBNi.mjs").then((m) => m.default),
|
|
13
|
+
build: () => import("./build-Bq05aTM1.mjs").then((m) => m.default),
|
|
14
|
+
generate: () => import("./generate-B1_XPFaH.mjs").then((m) => m.default),
|
|
15
|
+
prepare: () => import("./prepare-Dxj92NpO.mjs").then((m) => m.default),
|
|
16
|
+
layer: () => import("./layer-CHJQAFwQ.mjs").then((m) => m.default),
|
|
17
|
+
init: () => import("./commands/init.mjs").then((m) => m.default),
|
|
18
|
+
start: () => import("./dev-nJmJLBNi.mjs").then((m) => m.default)
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
//#endregion
|
|
22
22
|
//#region src/main.ts
|
|
23
|
-
const
|
|
24
|
-
const pkg = require("../package.json");
|
|
25
|
-
const version = pkg.version;
|
|
23
|
+
const version = createRequire(import.meta.url)("../package.json").version;
|
|
26
24
|
/**
|
|
27
25
|
* Main CLI command definition
|
|
28
26
|
*/
|
|
@@ -47,4 +45,4 @@ const main = defineCommand({
|
|
|
47
45
|
});
|
|
48
46
|
|
|
49
47
|
//#endregion
|
|
50
|
-
export { commands, main
|
|
48
|
+
export { version as n, commands as r, main as t };
|
package/dist/main.d.mts
ADDED
package/dist/main.mjs
ADDED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { loadKit } from "./kit-
|
|
2
|
-
import { prepareArgs } from "./_shared-
|
|
1
|
+
import { r as loadKit } from "./kit-Cj1Ou_JO.mjs";
|
|
2
|
+
import { r as prepareArgs } from "./_shared-JV2GOe_2.mjs";
|
|
3
3
|
import { defineCommand } from "citty";
|
|
4
4
|
import consola from "consola";
|
|
5
5
|
import pc from "picocolors";
|
|
@@ -16,8 +16,7 @@ var prepare_default = defineCommand({
|
|
|
16
16
|
const root = resolve(args.root || process.cwd());
|
|
17
17
|
const startTime = Date.now();
|
|
18
18
|
consola.info(`Preparing ${pc.cyan(root)}...`);
|
|
19
|
-
const
|
|
20
|
-
const { prepare } = kit;
|
|
19
|
+
const { prepare } = await loadKit(root);
|
|
21
20
|
try {
|
|
22
21
|
const result = await prepare({
|
|
23
22
|
root,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kimesh/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.41",
|
|
4
4
|
"description": "Kimesh Framework CLI",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,20 +15,20 @@
|
|
|
15
15
|
"bin"
|
|
16
16
|
],
|
|
17
17
|
"type": "module",
|
|
18
|
-
"main": "./dist/index.
|
|
19
|
-
"types": "./dist/index.d.
|
|
18
|
+
"main": "./dist/index.mjs",
|
|
19
|
+
"types": "./dist/index.d.mts",
|
|
20
20
|
"exports": {
|
|
21
21
|
".": {
|
|
22
|
-
"types": "./dist/index.d.
|
|
23
|
-
"import": "./dist/index.
|
|
22
|
+
"types": "./dist/index.d.mts",
|
|
23
|
+
"import": "./dist/index.mjs"
|
|
24
24
|
},
|
|
25
25
|
"./cli": {
|
|
26
|
-
"types": "./dist/run.d.
|
|
27
|
-
"import": "./dist/run.
|
|
26
|
+
"types": "./dist/run.d.mts",
|
|
27
|
+
"import": "./dist/run.mjs"
|
|
28
28
|
},
|
|
29
29
|
"./commands/init": {
|
|
30
|
-
"types": "./dist/commands/init.d.
|
|
31
|
-
"import": "./dist/commands/init.
|
|
30
|
+
"types": "./dist/commands/init.d.mts",
|
|
31
|
+
"import": "./dist/commands/init.mjs"
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
@@ -37,19 +37,19 @@
|
|
|
37
37
|
"typecheck": "tsc --noEmit"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@kimesh/kit": "0.2.
|
|
40
|
+
"@kimesh/kit": "0.2.41",
|
|
41
41
|
"citty": "^0.1.6",
|
|
42
42
|
"consola": "^3.4.2",
|
|
43
43
|
"exsolve": "^1.0.8",
|
|
44
44
|
"picocolors": "^1.1.1"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@types/node": "^
|
|
48
|
-
"tsdown": "^0.
|
|
49
|
-
"typescript": "^5.
|
|
47
|
+
"@types/node": "^25.3.0",
|
|
48
|
+
"tsdown": "^0.20.3",
|
|
49
|
+
"typescript": "^5.9.3"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"vite": "^8.0.0-beta.
|
|
52
|
+
"vite": "^8.0.0-beta.15"
|
|
53
53
|
},
|
|
54
54
|
"peerDependenciesMeta": {
|
|
55
55
|
"vite": {
|
package/dist/main-CnFffgxE.d.ts
DELETED
package/dist/main.d.ts
DELETED
package/dist/main.js
DELETED
package/dist/run.d.ts
DELETED
package/dist/run.js
DELETED