@agntcms/next 0.3.0 → 0.3.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/dist/config.cjs +0 -1
- package/dist/config.d.cts +4 -7
- package/dist/config.d.ts +4 -7
- package/dist/config.mjs +0 -1
- package/package.json +1 -1
package/dist/config.cjs
CHANGED
package/dist/config.d.cts
CHANGED
|
@@ -99,20 +99,17 @@ declare function defineConfig(config: AgentCmsConfig): ResolvedConfig;
|
|
|
99
99
|
/**
|
|
100
100
|
* Wrap a Next.js configuration object for agntcms.
|
|
101
101
|
*
|
|
102
|
-
*
|
|
103
|
-
* (which copies `.next/standalone/`) works out of the box.
|
|
104
|
-
*
|
|
105
|
-
* Also injects a `pageExtensions` default: in dev we accept `.dev.ts` /
|
|
102
|
+
* Injects a `pageExtensions` default: in dev we accept `.dev.ts` /
|
|
106
103
|
* `.dev.tsx` so dev-only routes (preview, admin, MCP) can be named
|
|
107
104
|
* `route.dev.ts` and excluded from the production build automatically.
|
|
108
105
|
* If the user already provided `pageExtensions`, theirs wins — the
|
|
109
106
|
* convention is opt-in.
|
|
110
107
|
*
|
|
111
|
-
*
|
|
112
|
-
* image
|
|
108
|
+
* Exists as the stable wrapping point for future framework-level
|
|
109
|
+
* Next.js config (webpack aliases, image domains, middleware), so the
|
|
110
|
+
* template's call site does not need to change as the framework grows.
|
|
113
111
|
*/
|
|
114
112
|
declare function withagntcms<T extends Record<string, unknown>>(nextConfig: T): T & {
|
|
115
|
-
output: 'standalone';
|
|
116
113
|
pageExtensions: string[];
|
|
117
114
|
};
|
|
118
115
|
|
package/dist/config.d.ts
CHANGED
|
@@ -99,20 +99,17 @@ declare function defineConfig(config: AgentCmsConfig): ResolvedConfig;
|
|
|
99
99
|
/**
|
|
100
100
|
* Wrap a Next.js configuration object for agntcms.
|
|
101
101
|
*
|
|
102
|
-
*
|
|
103
|
-
* (which copies `.next/standalone/`) works out of the box.
|
|
104
|
-
*
|
|
105
|
-
* Also injects a `pageExtensions` default: in dev we accept `.dev.ts` /
|
|
102
|
+
* Injects a `pageExtensions` default: in dev we accept `.dev.ts` /
|
|
106
103
|
* `.dev.tsx` so dev-only routes (preview, admin, MCP) can be named
|
|
107
104
|
* `route.dev.ts` and excluded from the production build automatically.
|
|
108
105
|
* If the user already provided `pageExtensions`, theirs wins — the
|
|
109
106
|
* convention is opt-in.
|
|
110
107
|
*
|
|
111
|
-
*
|
|
112
|
-
* image
|
|
108
|
+
* Exists as the stable wrapping point for future framework-level
|
|
109
|
+
* Next.js config (webpack aliases, image domains, middleware), so the
|
|
110
|
+
* template's call site does not need to change as the framework grows.
|
|
113
111
|
*/
|
|
114
112
|
declare function withagntcms<T extends Record<string, unknown>>(nextConfig: T): T & {
|
|
115
|
-
output: 'standalone';
|
|
116
113
|
pageExtensions: string[];
|
|
117
114
|
};
|
|
118
115
|
|
package/dist/config.mjs
CHANGED