modal-system 2.0.2 → 2.0.4

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/cli/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { init } from "./init";
2
+ import { init } from "./init.js";
3
3
  const command = process.argv[2];
4
4
  if (command === "init") {
5
5
  init();
package/dist/cli/init.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import fs from "fs";
2
2
  import path from "path";
3
3
  import inquirer from "inquirer";
4
- import { shadcnTemplate } from "../templates/shadcn";
5
- import { daisyTemplate } from "../templates/daisy";
4
+ import { shadcnTemplate } from "../templates/shadcn.js";
5
+ import { daisyTemplate } from "../templates/daisy.js";
6
6
  export async function init() {
7
7
  const { ui } = await inquirer.prompt([
8
8
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "modal-system",
3
- "version": "2.0.2",
3
+ "version": "2.0.4",
4
4
  "description": "Flexible modal system with CLI and type-safe API",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",