create-nextly-app 0.0.2-alpha.2 → 0.0.2-alpha.20
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/{chunk-AYJ2RKVJ.mjs → chunk-6HFD2Q2U.mjs} +1021 -904
- package/dist/chunk-6HFD2Q2U.mjs.map +1 -0
- package/dist/cli.cjs +1040 -925
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.mjs +24 -27
- package/dist/cli.mjs.map +1 -1
- package/dist/index.cjs +1058 -939
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +4 -4
- package/templates/base/next.config.ts +11 -17
- package/templates/base/src/app/admin/[[...params]]/page.tsx +0 -9
- package/dist/chunk-AYJ2RKVJ.mjs.map +0 -1
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-nextly-app",
|
|
3
|
-
"version": "0.0.2-alpha.
|
|
3
|
+
"version": "0.0.2-alpha.20",
|
|
4
4
|
"description": "CLI to scaffold Nextly in your Next.js project",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
"typescript": "^5.9.3",
|
|
43
43
|
"vite-tsconfig-paths": "^5.1.4",
|
|
44
44
|
"vitest": "^4.0.8",
|
|
45
|
-
"@nextlyhq/eslint-config": "0.0.2-alpha.
|
|
46
|
-
"@nextlyhq/telemetry": "0.0.2-alpha.
|
|
47
|
-
"@nextlyhq/tsconfig": "0.0.2-alpha.
|
|
45
|
+
"@nextlyhq/eslint-config": "0.0.2-alpha.18",
|
|
46
|
+
"@nextlyhq/telemetry": "0.0.2-alpha.18",
|
|
47
|
+
"@nextlyhq/tsconfig": "0.0.2-alpha.18"
|
|
48
48
|
},
|
|
49
49
|
"engines": {
|
|
50
50
|
"node": ">=20.0.0"
|
|
@@ -1,21 +1,15 @@
|
|
|
1
1
|
import type { NextConfig } from "next";
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
"better-sqlite3",
|
|
15
|
-
"bcryptjs",
|
|
16
|
-
"sharp",
|
|
17
|
-
"esbuild",
|
|
18
|
-
],
|
|
19
|
-
};
|
|
3
|
+
/**
|
|
4
|
+
* Minimal base `next.config.ts` for bundled templates.
|
|
5
|
+
*
|
|
6
|
+
* This file is intentionally left minimal (no adapter whitelist). The
|
|
7
|
+
* scaffolder will generate or patch a database-specific `next.config.ts`
|
|
8
|
+
* that includes only the selected adapter and driver in
|
|
9
|
+
* `serverExternalPackages`. Keeping the base file minimal avoids
|
|
10
|
+
* advertising adapters the user didn't choose and prevents misleading
|
|
11
|
+
* generated projects.
|
|
12
|
+
*/
|
|
13
|
+
const nextConfig: NextConfig = {};
|
|
20
14
|
|
|
21
15
|
export default nextConfig;
|
|
@@ -1,15 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
// Plugin-side admin imports. Every scaffold ships @nextlyhq/plugin-form-builder
|
|
4
|
-
// as a dependency (see packages/create-nextly-app utils/template.ts). These
|
|
5
|
-
// three lines register the plugin's custom admin field components and load its
|
|
6
|
-
// CSS so the Forms collection's drag-and-drop field builder and Submissions
|
|
7
|
-
// filter UI render correctly. Without them, Forms still appears in the sidebar
|
|
8
|
-
// but the builder falls back to plain JSON/text inputs.
|
|
9
3
|
import "@nextlyhq/admin/style.css";
|
|
10
|
-
import "@nextlyhq/plugin-form-builder/admin";
|
|
11
|
-
import "@nextlyhq/plugin-form-builder/styles/builder.css";
|
|
12
|
-
import "@nextlyhq/plugin-form-builder/styles/submissions-filter.css";
|
|
13
4
|
import { RootLayout, QueryProvider, ErrorBoundary } from "@nextlyhq/admin";
|
|
14
5
|
|
|
15
6
|
export default function AdminPage() {
|