create-next-pro-cli 0.1.7 → 0.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-next-pro-cli",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "description": "Advanced Next.js project scaffolder with i18n, Tailwind, App Router and more.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -30,7 +30,13 @@ export async function addComponent(args: string[]) {
30
30
  }
31
31
 
32
32
  const componentNameUpper = capitalize(componentName);
33
- const templatePath = join(import.meta.dir, "..", "templates", "Component");
33
+ const templatePath = join(
34
+ import.meta.dir,
35
+ "..",
36
+ "..",
37
+ "templates",
38
+ "Component"
39
+ );
34
40
  const messagesPath = join(process.cwd(), "messages");
35
41
 
36
42
  // Determine target path for the component
@@ -1,6 +1,6 @@
1
1
  import templatePageUI from "@/ui/template/page-ui";
2
2
 
3
- export default function LoginPage() {
3
+ export default function templatePage() {
4
4
  return <templatePageUI />;
5
5
  }
6
6
 
package/bun.lock DELETED
@@ -1,27 +0,0 @@
1
- {
2
- "lockfileVersion": 1,
3
- "workspaces": {
4
- "": {
5
- "name": "create-next-pro",
6
- "dependencies": {
7
- "prompts": "^2.4.2",
8
- },
9
- "devDependencies": {
10
- "@types/prompts": "^2.4.9",
11
- },
12
- },
13
- },
14
- "packages": {
15
- "@types/node": ["@types/node@24.1.0", "", { "dependencies": { "undici-types": "~7.8.0" } }, "sha512-ut5FthK5moxFKH2T1CUOC6ctR67rQRvvHdFLCD2Ql6KXmMuCrjsSsRI9UsLCm9M18BMwClv4pn327UvB7eeO1w=="],
16
-
17
- "@types/prompts": ["@types/prompts@2.4.9", "", { "dependencies": { "@types/node": "*", "kleur": "^3.0.3" } }, "sha512-qTxFi6Buiu8+50/+3DGIWLHM6QuWsEKugJnnP6iv2Mc4ncxE4A/OJkjuVOA+5X0X1S/nq5VJRa8Lu+nwcvbrKA=="],
18
-
19
- "kleur": ["kleur@3.0.3", "", {}, "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w=="],
20
-
21
- "prompts": ["prompts@2.4.2", "", { "dependencies": { "kleur": "^3.0.3", "sisteransi": "^1.0.5" } }, "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q=="],
22
-
23
- "sisteransi": ["sisteransi@1.0.5", "", {}, "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg=="],
24
-
25
- "undici-types": ["undici-types@7.8.0", "", {}, "sha512-9UJ2xGDvQ43tYyVMpuHlsgApydB8ZKfVYTsLDhXkFL/6gfkp+U8xTGdh8pMJv1SpZna0zxG1DwsKZsreLbXBxw=="],
26
- }
27
- }