@djangocfg/nextjs 2.1.170 → 2.1.172
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/index.mjs +1 -1
- package/dist/config/index.mjs.map +1 -1
- package/dist/i18n/proxy.d.mts +2 -0
- package/dist/i18n/proxy.mjs +3 -1
- package/dist/i18n/proxy.mjs.map +1 -1
- package/dist/i18n/routing.d.mts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +8 -8
- package/src/i18n/proxy.ts +5 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@djangocfg/nextjs",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.172",
|
|
4
4
|
"description": "Next.js server utilities: sitemap, health, OG images, contact forms, navigation, config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"nextjs",
|
|
@@ -148,8 +148,8 @@
|
|
|
148
148
|
"ai-docs": "tsx src/ai/cli.ts"
|
|
149
149
|
},
|
|
150
150
|
"peerDependencies": {
|
|
151
|
-
"@djangocfg/i18n": "^2.1.
|
|
152
|
-
"@djangocfg/ui-core": "^2.1.
|
|
151
|
+
"@djangocfg/i18n": "^2.1.172",
|
|
152
|
+
"@djangocfg/ui-core": "^2.1.172",
|
|
153
153
|
"next": "^16.0.10"
|
|
154
154
|
},
|
|
155
155
|
"peerDependenciesMeta": {
|
|
@@ -168,11 +168,11 @@
|
|
|
168
168
|
"serwist": "^9.2.3"
|
|
169
169
|
},
|
|
170
170
|
"devDependencies": {
|
|
171
|
-
"@djangocfg/i18n": "^2.1.
|
|
172
|
-
"@djangocfg/ui-core": "^2.1.
|
|
173
|
-
"@djangocfg/imgai": "^2.1.
|
|
174
|
-
"@djangocfg/layouts": "^2.1.
|
|
175
|
-
"@djangocfg/typescript-config": "^2.1.
|
|
171
|
+
"@djangocfg/i18n": "^2.1.172",
|
|
172
|
+
"@djangocfg/ui-core": "^2.1.172",
|
|
173
|
+
"@djangocfg/imgai": "^2.1.172",
|
|
174
|
+
"@djangocfg/layouts": "^2.1.172",
|
|
175
|
+
"@djangocfg/typescript-config": "^2.1.172",
|
|
176
176
|
"@types/node": "^24.7.2",
|
|
177
177
|
"@types/react": "19.2.2",
|
|
178
178
|
"@types/react-dom": "19.2.1",
|
package/src/i18n/proxy.ts
CHANGED
|
@@ -72,6 +72,8 @@ export function proxy(request: NextRequest) {
|
|
|
72
72
|
* Default proxy config
|
|
73
73
|
* Matches all paths except static files, API routes, and Next.js internals
|
|
74
74
|
*
|
|
75
|
+
* Uses explicit _next/static and _next/image exclusions (required for Next.js 16 / Turbopack)
|
|
76
|
+
*
|
|
75
77
|
* @example
|
|
76
78
|
* ```ts
|
|
77
79
|
* // proxy.ts
|
|
@@ -79,5 +81,7 @@ export function proxy(request: NextRequest) {
|
|
|
79
81
|
* ```
|
|
80
82
|
*/
|
|
81
83
|
export const config = {
|
|
82
|
-
matcher: [
|
|
84
|
+
matcher: [
|
|
85
|
+
'/((?!api|_next/static|_next/image|favicon.ico|sitemap.xml|robots.txt).*)',
|
|
86
|
+
],
|
|
83
87
|
};
|