@djangocfg/nextjs 2.1.470 → 2.1.471
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 +2 -1
- package/dist/config/index.mjs.map +1 -1
- package/dist/i18n/routing.d.mts +2 -2
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/dist/og-image/index.d.mts +5 -1
- package/dist/og-image/index.mjs +10 -5
- package/dist/og-image/index.mjs.map +1 -1
- package/package.json +10 -9
- package/src/og-image/metadata-factory.test.ts +136 -0
- package/src/og-image/metadata-factory.ts +35 -8
package/dist/i18n/routing.d.mts
CHANGED
|
@@ -24,7 +24,6 @@ declare function createRouting(config?: Partial<I18nConfig>): {
|
|
|
24
24
|
localePrefix?: next_intl_routing.LocalePrefix<string[], "always" | "as-needed" | "never">;
|
|
25
25
|
domains?: never;
|
|
26
26
|
localeCookie?: boolean | {
|
|
27
|
-
name?: string;
|
|
28
27
|
maxAge?: number | undefined;
|
|
29
28
|
priority?: "low" | "medium" | "high" | undefined;
|
|
30
29
|
domain?: string | undefined;
|
|
@@ -32,6 +31,7 @@ declare function createRouting(config?: Partial<I18nConfig>): {
|
|
|
32
31
|
secure?: boolean | undefined;
|
|
33
32
|
sameSite?: true | false | "lax" | "strict" | "none" | undefined;
|
|
34
33
|
partitioned?: boolean | undefined;
|
|
34
|
+
name?: string;
|
|
35
35
|
};
|
|
36
36
|
alternateLinks?: boolean;
|
|
37
37
|
localeDetection?: boolean;
|
|
@@ -46,7 +46,6 @@ declare const routing: {
|
|
|
46
46
|
localePrefix?: next_intl_routing.LocalePrefix<string[], "always" | "as-needed" | "never">;
|
|
47
47
|
domains?: never;
|
|
48
48
|
localeCookie?: boolean | {
|
|
49
|
-
name?: string;
|
|
50
49
|
maxAge?: number | undefined;
|
|
51
50
|
priority?: "low" | "medium" | "high" | undefined;
|
|
52
51
|
domain?: string | undefined;
|
|
@@ -54,6 +53,7 @@ declare const routing: {
|
|
|
54
53
|
secure?: boolean | undefined;
|
|
55
54
|
sameSite?: true | false | "lax" | "strict" | "none" | undefined;
|
|
56
55
|
partitioned?: boolean | undefined;
|
|
56
|
+
name?: string;
|
|
57
57
|
};
|
|
58
58
|
alternateLinks?: boolean;
|
|
59
59
|
localeDetection?: boolean;
|
package/dist/index.mjs
CHANGED
|
@@ -14,7 +14,7 @@ var require_package = __commonJS({
|
|
|
14
14
|
"package.json"(exports, module) {
|
|
15
15
|
module.exports = {
|
|
16
16
|
name: "@djangocfg/nextjs",
|
|
17
|
-
version: "2.1.
|
|
17
|
+
version: "2.1.471",
|
|
18
18
|
description: "Next.js server utilities: sitemap, health, OG images, contact forms, navigation, config",
|
|
19
19
|
keywords: [
|
|
20
20
|
"nextjs",
|
|
@@ -154,6 +154,7 @@ var require_package = __commonJS({
|
|
|
154
154
|
clean: "rm -rf dist",
|
|
155
155
|
lint: "eslint .",
|
|
156
156
|
check: "tsc --noEmit",
|
|
157
|
+
test: "tsx --test src/**/*.test.ts",
|
|
157
158
|
"ai-docs": "tsx src/ai/cli.ts"
|
|
158
159
|
},
|
|
159
160
|
peerDependencies: {
|