@khalisoft/nexcl 1.0.0 → 1.0.2

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.ts CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  import { Command } from "commander";
4
4
  import prompts from "prompts";
5
- import createProject from "../utils/createProject";
5
+ import createProject from "../utils/createProject.js";
6
6
 
7
7
  const program = new Command();
8
8
 
package/dist/bin/cli.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { Command } from "commander";
3
3
  import prompts from "prompts";
4
- import createProject from "../utils/createProject";
4
+ import createProject from "../utils/createProject.js";
5
5
  const program = new Command();
6
6
  program
7
7
  .name("nexcl")
@@ -1,7 +1,7 @@
1
1
  import { execa } from "execa";
2
2
  import ora from "ora";
3
3
  import path from "path";
4
- import injectCtrl from "./injectCtrl";
4
+ import injectCtrl from "./injectCtrl.js";
5
5
  export default async function createProject({ projectName, addAdmin, }) {
6
6
  const spinner = ora("Creating Next.js app...").start();
7
7
  try {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@khalisoft/nexcl",
3
3
  "type": "module",
4
- "version": "1.0.0",
4
+ "version": "1.0.2",
5
5
  "description": "Next.js CLI with built-in admin (/ctrl)",
6
6
  "bin": {
7
7
  "nexcl": "./dist/bin/cli.js"
@@ -1,7 +1,7 @@
1
1
  import { execa } from "execa";
2
2
  import ora from "ora";
3
3
  import path from "path";
4
- import injectCtrl from "./injectCtrl";
4
+ import injectCtrl from "./injectCtrl.js";
5
5
 
6
6
  interface Options {
7
7
  projectName: string;