diff --git a/package-lock.json b/package-lock.json index 7d7aa57..4ea621a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3970,7 +3970,7 @@ }, "packages/cli": { "name": "@mcflyjs/cli", - "version": "0.0.20", + "version": "0.0.22", "license": "MIT", "dependencies": { "citty": "^0.1.4", @@ -4044,12 +4044,13 @@ } }, "templates/basic/node_modules/@mcflyjs/cli": { - "version": "0.0.19", - "resolved": "https://registry.npmjs.org/@mcflyjs/cli/-/cli-0.0.19.tgz", - "integrity": "sha512-dVicZeoL9Gkggbj2qQhXd7dzK7ZOLvh/fBwGVeHoCGEDzZAOIxgaqXl3wYrGcZIGTO6wGmLIqnaO3y3ZykLzPg==", + "version": "0.0.20", + "resolved": "https://registry.npmjs.org/@mcflyjs/cli/-/cli-0.0.20.tgz", + "integrity": "sha512-KmI0CYK3K5t2GRzv6WlXkTbTUiMi/+FZRwUHmeOkEFwmm4AyWVmh6UnDmNIGSpV61whxe2omDaO6Wz0g6nuUaQ==", "dependencies": { "citty": "^0.1.4", - "consola": "^3.2.3" + "consola": "^3.2.3", + "pathe": "^1.1.1" }, "bin": { "mcfly": "index.js" diff --git a/packages/cli/commands/build.mjs b/packages/cli/commands/build.mjs index 2d78fe3..834a3aa 100644 --- a/packages/cli/commands/build.mjs +++ b/packages/cli/commands/build.mjs @@ -2,7 +2,7 @@ import { consola } from "consola"; import { defineCommand } from "citty"; -import { execSync as exec } from "child_process"; +import { execSync as exec } from "node:child_process"; export default defineCommand({ meta: { diff --git a/packages/cli/commands/prepare.mjs b/packages/cli/commands/prepare.mjs index 9e248cd..f763c90 100755 --- a/packages/cli/commands/prepare.mjs +++ b/packages/cli/commands/prepare.mjs @@ -2,7 +2,7 @@ import { consola } from "consola"; import { defineCommand } from "citty"; -import { execSync as exec } from "child_process"; +import { execSync as exec } from "node:child_process"; export default defineCommand({ meta: { diff --git a/packages/cli/package.json b/packages/cli/package.json index edab382..4181ceb 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@mcflyjs/cli", - "version": "0.0.20", + "version": "0.0.22", "description": "McFly CLI tools", "type": "module", "main": "index.js",