@beaket/ui 0.1.3 → 0.1.5

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/bin/cli.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beaket/ui",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "CLI for adding Beaket UI components to your project",
5
5
  "type": "module",
6
6
  "bin": {
@@ -23,9 +23,9 @@
23
23
  "url": "https://github.com/beaket/ui"
24
24
  },
25
25
  "dependencies": {
26
- "commander": "13.1.0",
27
- "fs-extra": "11.3.0",
26
+ "commander": "14.0.2",
27
+ "fs-extra": "11.3.3",
28
28
  "picocolors": "1.1.1",
29
29
  "prompts": "2.4.2"
30
30
  }
31
- }
31
+ }
package/src/index.ts CHANGED
@@ -1,14 +1,19 @@
1
1
  #!/usr/bin/env -S npx tsx
2
+ // Test comment for changeset verification
2
3
  import { Command } from "commander";
4
+ import { createRequire } from "module";
3
5
  import { add } from "./commands/add.ts";
4
6
  import { init } from "./commands/init.ts";
5
7
 
8
+ const require = createRequire(import.meta.url);
9
+ const { version } = require("../package.json");
10
+
6
11
  const program = new Command();
7
12
 
8
13
  program
9
14
  .name("@beaket/ui")
10
15
  .description("CLI for adding Beaket UI components to your project")
11
- .version("0.1.2");
16
+ .version(version);
12
17
 
13
18
  program.command("init").description("Initialize Beaket UI in your project").action(init);
14
19