@codabytez/create-next-template 0.1.7 → 0.1.8
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/index.js +17 -6
- package/package.json +1 -1
- package/templates/base/eslint.config.mjs +2 -9
package/dist/index.js
CHANGED
|
@@ -109,7 +109,6 @@ var BASE_DEV_DEPS = {
|
|
|
109
109
|
// Code quality
|
|
110
110
|
eslint: "^10.1.0",
|
|
111
111
|
"eslint-config-next": "^16.2.0",
|
|
112
|
-
"@eslint/eslintrc": "^3.3.5",
|
|
113
112
|
prettier: "^3.8.1",
|
|
114
113
|
"eslint-config-prettier": "^10.1.8",
|
|
115
114
|
// Git hooks
|
|
@@ -459,10 +458,10 @@ async function main() {
|
|
|
459
458
|
const packageManager = await p2.select({
|
|
460
459
|
message: "Which package manager?",
|
|
461
460
|
options: [
|
|
462
|
-
{ value: "npm", label: "npm" },
|
|
463
461
|
{ value: "pnpm", label: "pnpm" },
|
|
464
462
|
{ value: "yarn", label: "yarn" },
|
|
465
|
-
{ value: "bun", label: "bun" }
|
|
463
|
+
{ value: "bun", label: "bun" },
|
|
464
|
+
{ value: "npm", label: "npm" }
|
|
466
465
|
]
|
|
467
466
|
});
|
|
468
467
|
if (p2.isCancel(packageManager)) {
|
|
@@ -485,9 +484,21 @@ async function main() {
|
|
|
485
484
|
},
|
|
486
485
|
{ value: "extraIcons", label: "Extra Icons", hint: "iconsax-reactjs" },
|
|
487
486
|
{ value: "auth", label: "Auth", hint: "Clerk" },
|
|
488
|
-
{
|
|
489
|
-
|
|
490
|
-
|
|
487
|
+
{
|
|
488
|
+
value: "prisma",
|
|
489
|
+
label: "Database \u2014 Prisma",
|
|
490
|
+
hint: "Prisma + PostgreSQL"
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
value: "convex",
|
|
494
|
+
label: "Database \u2014 Convex",
|
|
495
|
+
hint: "Convex real-time backend"
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
value: "appwrite",
|
|
499
|
+
label: "Database \u2014 Appwrite",
|
|
500
|
+
hint: "Appwrite BaaS"
|
|
501
|
+
},
|
|
491
502
|
{ value: "ui", label: "UI Components", hint: "shadcn/ui" }
|
|
492
503
|
],
|
|
493
504
|
required: false
|
package/package.json
CHANGED
|
@@ -1,15 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { fileURLToPath } from "url";
|
|
3
|
-
import { FlatCompat } from "@eslint/eslintrc";
|
|
1
|
+
import nextCoreWebVitals from "eslint-config-next/core-web-vitals";
|
|
4
2
|
import eslintConfigPrettier from "eslint-config-prettier";
|
|
5
3
|
|
|
6
|
-
const __filename = fileURLToPath(import.meta.url);
|
|
7
|
-
const __dirname = dirname(__filename);
|
|
8
|
-
|
|
9
|
-
const compat = new FlatCompat({ baseDirectory: __dirname });
|
|
10
|
-
|
|
11
4
|
const eslintConfig = [
|
|
12
|
-
...
|
|
5
|
+
...nextCoreWebVitals,
|
|
13
6
|
eslintConfigPrettier,
|
|
14
7
|
{
|
|
15
8
|
rules: {
|