@h3ravel/musket 0.6.8 → 0.6.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/index.cjs CHANGED
@@ -28,7 +28,7 @@ let tsdown = require("tsdown");
28
28
  let glob = require("glob");
29
29
  let node_path = require("node:path");
30
30
  node_path = __toESM(node_path);
31
- let node_module = require("node:module");
31
+ let module$1 = require("module");
32
32
  let node_fs_promises = require("node:fs/promises");
33
33
 
34
34
  //#region src/Core/Command.ts
@@ -995,7 +995,7 @@ var Kernel = class Kernel {
995
995
  */
996
996
  bootstrap() {
997
997
  let version = this.config.version;
998
- const require$1 = (0, node_module.createRequire)(require("url").pathToFileURL(__filename).href);
998
+ const require$1 = (0, module$1.createRequire)(require("url").pathToFileURL(__filename).href);
999
999
  this.cwd ??= node_path.default.join(process.cwd(), this.basePath);
1000
1000
  if (!this.config.hideMusketInfo) try {
1001
1001
  const pkg = require$1(node_path.default.join(process.cwd(), "package.json"));
package/dist/index.js CHANGED
@@ -1,10 +1,10 @@
1
- import { createRequire } from "node:module";
2
1
  import { FileSystem, Logger, Prompts } from "@h3ravel/shared";
3
2
  import { Argument, Command as Command$1, Option } from "commander";
4
3
  import { Arr, Str } from "@h3ravel/support";
5
4
  import { build } from "tsdown";
6
5
  import { glob } from "glob";
7
6
  import path from "node:path";
7
+ import { createRequire } from "module";
8
8
  import { mkdir } from "node:fs/promises";
9
9
 
10
10
  //#region src/Core/Command.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@h3ravel/musket",
3
- "version": "0.6.8",
3
+ "version": "0.6.9",
4
4
  "description": "Musket CLI is a framework-agnostic CLI framework designed to allow you build artisan-like CLI apps and for use in the H3ravel framework.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -50,7 +50,7 @@
50
50
  "console"
51
51
  ],
52
52
  "peerDependencies": {
53
- "@h3ravel/support": "^0.15.6"
53
+ "@h3ravel/support": "^0.16.1"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@types/node": "^24.7.2",
@@ -66,7 +66,7 @@
66
66
  "vitest": "^3.2.4"
67
67
  },
68
68
  "dependencies": {
69
- "@h3ravel/shared": "^0.27.7",
69
+ "@h3ravel/shared": "^0.28.4",
70
70
  "chalk": "^5.6.2",
71
71
  "commander": "^14.0.1",
72
72
  "dayjs": "^1.11.18",