@codabytez/create-next-template 0.1.0 → 0.1.1
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/README.md +3 -3
- package/dist/index.js +33 -33
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -7,14 +7,14 @@ An interactive CLI that scaffolds a production-ready Next.js project with your p
|
|
|
7
7
|
## Quick start
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npx create-next-template
|
|
10
|
+
npx @codabytez/create-next-template@latest
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
Or with a specific package manager:
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
pnpm dlx create-next-template
|
|
17
|
-
bunx create-next-template
|
|
16
|
+
pnpm dlx @codabytez/create-next-template
|
|
17
|
+
bunx @codabytez/create-next-template
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
---
|
package/dist/index.js
CHANGED
|
@@ -82,65 +82,65 @@ async function runCommand(command, args, cwd) {
|
|
|
82
82
|
|
|
83
83
|
// src/helpers/packages.ts
|
|
84
84
|
var BASE_DEPS = {
|
|
85
|
-
next: "^
|
|
86
|
-
react: "^
|
|
87
|
-
"react-dom": "^
|
|
85
|
+
next: "^16.2.0",
|
|
86
|
+
react: "^19.2.4",
|
|
87
|
+
"react-dom": "^19.2.4",
|
|
88
88
|
clsx: "^2.1.1",
|
|
89
|
-
"tailwind-merge": "^
|
|
90
|
-
"class-variance-authority": "^0.7.
|
|
91
|
-
zod: "^3.
|
|
92
|
-
"date-fns": "^
|
|
93
|
-
"cookies-next": "^
|
|
94
|
-
"lucide-react": "^0.
|
|
89
|
+
"tailwind-merge": "^3.5.0",
|
|
90
|
+
"class-variance-authority": "^0.7.1",
|
|
91
|
+
zod: "^4.3.6",
|
|
92
|
+
"date-fns": "^4.1.0",
|
|
93
|
+
"cookies-next": "^6.1.1",
|
|
94
|
+
"lucide-react": "^0.577.0"
|
|
95
95
|
};
|
|
96
96
|
var BASE_DEV_DEPS = {
|
|
97
|
-
typescript: "^5.
|
|
98
|
-
"@types/node": "^
|
|
99
|
-
"@types/react": "^
|
|
100
|
-
"@types/react-dom": "^
|
|
101
|
-
tailwindcss: "^4.
|
|
102
|
-
"@tailwindcss/postcss": "^4.
|
|
103
|
-
postcss: "^8.
|
|
97
|
+
typescript: "^5.9.3",
|
|
98
|
+
"@types/node": "^25.5.0",
|
|
99
|
+
"@types/react": "^19.2.14",
|
|
100
|
+
"@types/react-dom": "^19.2.3",
|
|
101
|
+
tailwindcss: "^4.2.2",
|
|
102
|
+
"@tailwindcss/postcss": "^4.2.2",
|
|
103
|
+
postcss: "^8.5.8",
|
|
104
104
|
// Code quality
|
|
105
|
-
"@eslint/eslintrc": "^3.
|
|
106
|
-
prettier: "^3.
|
|
107
|
-
"eslint-config-prettier": "^
|
|
108
|
-
"eslint-plugin-prettier": "^5.
|
|
105
|
+
"@eslint/eslintrc": "^3.3.5",
|
|
106
|
+
prettier: "^3.8.1",
|
|
107
|
+
"eslint-config-prettier": "^10.1.8",
|
|
108
|
+
"eslint-plugin-prettier": "^5.5.5",
|
|
109
109
|
// Git hooks
|
|
110
|
-
husky: "^9.1.
|
|
111
|
-
"lint-staged": "^
|
|
110
|
+
husky: "^9.1.7",
|
|
111
|
+
"lint-staged": "^16.4.0"
|
|
112
112
|
};
|
|
113
113
|
var FEATURE_DEPS = {
|
|
114
114
|
animations: {
|
|
115
|
-
"framer-motion": "^
|
|
115
|
+
"framer-motion": "^12.38.0"
|
|
116
116
|
},
|
|
117
117
|
dataFetching: {
|
|
118
|
-
"@tanstack/react-query": "^5.
|
|
119
|
-
axios: "^1.
|
|
118
|
+
"@tanstack/react-query": "^5.91.3",
|
|
119
|
+
axios: "^1.13.6"
|
|
120
120
|
},
|
|
121
121
|
forms: {
|
|
122
|
-
"react-hook-form": "^7.
|
|
123
|
-
"@hookform/resolvers": "^
|
|
122
|
+
"react-hook-form": "^7.71.2",
|
|
123
|
+
"@hookform/resolvers": "^5.2.2"
|
|
124
124
|
},
|
|
125
125
|
extraIcons: {
|
|
126
|
-
"iconsax-reactjs": "^
|
|
126
|
+
"iconsax-reactjs": "^0.0.8"
|
|
127
127
|
},
|
|
128
128
|
auth: {
|
|
129
|
-
"@clerk/nextjs": "^
|
|
129
|
+
"@clerk/nextjs": "^7.0.6"
|
|
130
130
|
},
|
|
131
131
|
prisma: {
|
|
132
|
-
"@prisma/client": "^5.
|
|
132
|
+
"@prisma/client": "^7.5.0"
|
|
133
133
|
},
|
|
134
134
|
convex: {
|
|
135
|
-
convex: "^1.
|
|
135
|
+
convex: "^1.34.0"
|
|
136
136
|
},
|
|
137
137
|
appwrite: {
|
|
138
|
-
appwrite: "^
|
|
138
|
+
appwrite: "^23.0.0"
|
|
139
139
|
}
|
|
140
140
|
};
|
|
141
141
|
var FEATURE_DEV_DEPS = {
|
|
142
142
|
prisma: {
|
|
143
|
-
prisma: "^5.
|
|
143
|
+
prisma: "^7.5.0"
|
|
144
144
|
}
|
|
145
145
|
};
|
|
146
146
|
function buildPackageJson(projectName, features) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codabytez/create-next-template",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "CLI to scaffold Next.js projects with your preferred stack",
|
|
5
5
|
"bin": {
|
|
6
6
|
"create-next-template": "./dist/index.js"
|
|
@@ -9,6 +9,11 @@
|
|
|
9
9
|
"dist",
|
|
10
10
|
"templates"
|
|
11
11
|
],
|
|
12
|
+
"scripts": {
|
|
13
|
+
"build": "tsup src/index.ts --format cjs --clean",
|
|
14
|
+
"dev": "tsx src/index.ts",
|
|
15
|
+
"lint": "tsc --noEmit"
|
|
16
|
+
},
|
|
12
17
|
"dependencies": {
|
|
13
18
|
"@clack/prompts": "^0.7.0",
|
|
14
19
|
"chalk": "^5.3.0",
|
|
@@ -22,10 +27,5 @@
|
|
|
22
27
|
"tsup": "^8.0.0",
|
|
23
28
|
"tsx": "^4.7.0",
|
|
24
29
|
"typescript": "^5.4.0"
|
|
25
|
-
},
|
|
26
|
-
"scripts": {
|
|
27
|
-
"build": "tsup src/index.ts --format cjs --clean",
|
|
28
|
-
"dev": "tsx src/index.ts",
|
|
29
|
-
"lint": "tsc --noEmit"
|
|
30
30
|
}
|
|
31
|
-
}
|
|
31
|
+
}
|