@djangocfg/nextjs 2.1.464 → 2.1.465

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.
@@ -3,7 +3,7 @@ export { useFormatter, useMessages, useNow, useTimeZone } from 'next-intl';
3
3
  export { I18nProvider, NextIntlProvider } from './provider.mjs';
4
4
  import { LocaleCode } from '@djangocfg/i18n';
5
5
  import 'react';
6
- import '../types-Cy349X20.mjs';
6
+ import '../types-DZTgCl85.mjs';
7
7
 
8
8
  /**
9
9
  * Get translations in Client Components
@@ -1,4 +1,4 @@
1
- export { E as ExtensionMessages, I as I18nConfig, a as I18nPluginOptions, b as I18nProviderProps, d as LocaleLayoutProps, e as LocalePageProps, L as LocaleParams, M as Messages, c as MessagesLoader } from '../types-Cy349X20.mjs';
1
+ export { E as ExtensionMessages, I as I18nConfig, a as I18nPluginOptions, b as I18nProviderProps, L as LocaleLayoutProps, c as LocalePageProps, d as LocaleParams, M as Messages, e as MessagesLoader } from '../types-DZTgCl85.mjs';
2
2
  export { LinkProps } from './navigation.mjs';
3
3
  export { RequestConfigOptions } from './request.mjs';
4
4
  export { LocaleSwitcherProps } from './components.mjs';
@@ -5,7 +5,7 @@ import * as node_url from 'node:url';
5
5
  import * as next_intl from 'next-intl';
6
6
  import * as react from 'react';
7
7
  import { createRouting } from './routing.mjs';
8
- import { I as I18nConfig } from '../types-Cy349X20.mjs';
8
+ import { I as I18nConfig } from '../types-DZTgCl85.mjs';
9
9
  import 'next-intl/routing';
10
10
  import '@djangocfg/i18n';
11
11
 
@@ -1,6 +1,6 @@
1
1
  export { default as createNextIntlPlugin } from 'next-intl/plugin';
2
2
  import { NextConfig } from 'next';
3
- import { a as I18nPluginOptions } from '../types-Cy349X20.mjs';
3
+ import { a as I18nPluginOptions } from '../types-DZTgCl85.mjs';
4
4
  import '@djangocfg/i18n';
5
5
 
6
6
  /**
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { b as I18nProviderProps } from '../types-Cy349X20.mjs';
2
+ import { b as I18nProviderProps } from '../types-DZTgCl85.mjs';
3
3
  import '@djangocfg/i18n';
4
4
 
5
5
  /**
@@ -1,7 +1,7 @@
1
1
  import * as next_server from 'next/server';
2
2
  import { NextRequest } from 'next/server';
3
3
  import { createRouting } from './routing.mjs';
4
- import { I as I18nConfig } from '../types-Cy349X20.mjs';
4
+ import { I as I18nConfig } from '../types-DZTgCl85.mjs';
5
5
  import 'next-intl/routing';
6
6
  import '@djangocfg/i18n';
7
7
 
@@ -1,6 +1,6 @@
1
1
  import * as next_intl_server from 'next-intl/server';
2
2
  import { LocaleCode, I18nTranslations } from '@djangocfg/i18n';
3
- import { M as Messages } from '../types-Cy349X20.mjs';
3
+ import { M as Messages } from '../types-DZTgCl85.mjs';
4
4
 
5
5
  interface RequestConfigOptions {
6
6
  /** Base locale translations from @djangocfg/i18n */
@@ -1,5 +1,5 @@
1
1
  import * as next_intl_routing from 'next-intl/routing';
2
- import { I as I18nConfig } from '../types-Cy349X20.mjs';
2
+ import { I as I18nConfig } from '../types-DZTgCl85.mjs';
3
3
  import { LocaleCode } from '@djangocfg/i18n';
4
4
 
5
5
  declare const DEFAULT_LOCALES: LocaleCode[];
@@ -24,6 +24,7 @@ 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;
27
28
  maxAge?: number | undefined;
28
29
  priority?: "low" | "medium" | "high" | undefined;
29
30
  domain?: string | undefined;
@@ -31,7 +32,6 @@ declare function createRouting(config?: Partial<I18nConfig>): {
31
32
  secure?: boolean | undefined;
32
33
  sameSite?: true | false | "lax" | "strict" | "none" | undefined;
33
34
  partitioned?: boolean | undefined;
34
- name?: string;
35
35
  };
36
36
  alternateLinks?: boolean;
37
37
  localeDetection?: boolean;
@@ -46,6 +46,7 @@ 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;
49
50
  maxAge?: number | undefined;
50
51
  priority?: "low" | "medium" | "high" | undefined;
51
52
  domain?: string | undefined;
@@ -53,7 +54,6 @@ declare const routing: {
53
54
  secure?: boolean | undefined;
54
55
  sameSite?: true | false | "lax" | "strict" | "none" | undefined;
55
56
  partitioned?: boolean | undefined;
56
- name?: string;
57
57
  };
58
58
  alternateLinks?: boolean;
59
59
  localeDetection?: boolean;
@@ -1,7 +1,7 @@
1
1
  import * as next_intl from 'next-intl';
2
2
  export { getFormatter, getNow, getTimeZone } from 'next-intl/server';
3
3
  export { generateLocaleParams, isValidLocale } from './routing.mjs';
4
- import { M as Messages, L as LocaleParams } from '../types-Cy349X20.mjs';
4
+ import { d as LocaleParams, M as Messages } from '../types-DZTgCl85.mjs';
5
5
  import { LocaleCode } from '@djangocfg/i18n';
6
6
  import 'next-intl/routing';
7
7
 
package/dist/index.d.mts CHANGED
@@ -2,13 +2,13 @@ export { CreateDjangoSitemapOptions, CreateRobotsOptions, CreateSitemapIndexOpti
2
2
  export { HealthCheck, HealthConfig, createHealthHandler } from './health/index.mjs';
3
3
  export { BreadcrumbItem, MenuGroup, MenuItem, NavGroup, NavGroupWithRoutes, NavigationItem, NavigationSection, RouteDefinition, RouteMetadata, defineRoute, findRoute, findRouteByPattern, getPageTitle, getUnauthenticatedRedirect, groupRoutesByNavGroups, isActive, redirectToAuth, routesToMenuItems } from './navigation/index.mjs';
4
4
  export { BaseNextConfigOptions, CompressionPluginOptions, DEFAULT_OPTIMIZE_PACKAGES, DEFAULT_TRANSPILE_PACKAGES, DJANGOCFG_PACKAGES, DJANGO_CFG_BANNER, DevStartupPlugin, DevStartupPluginOptions, InstallOptions, InstallProgress, MissingPackage, OPTIONAL_PACKAGES, PACKAGE_NAME, PEER_DEPENDENCIES, PackageDefinition, PackageVersion, UpdateOptions, addCompressionPlugins, buildInstallCommand, buildSingleInstallCommand, checkAndInstallPackages, checkAndUpdatePackages, checkForUpdate, checkForUpdates, checkPackages, createBaseNextConfig, deepMerge, detectPackageManager, fetchLatestVersion, getApiUrl, getBasePath, getCurrentVersion, getInstalledVersion, getMissingPackages, getOutdatedPackages, getPackagesForContext, getSiteUrl, getUpdateCommand, installPackages, installPackagesWithProgress, isCI, isCompressionAvailable, isDev, isPackageInstalled, isProduction, isStaticBuild, printVersionInfo, resetDevStartupState, resetInstallerPreferences, resetUpdaterPreferences, updatePackagesWithProgress } from './config/index.mjs';
5
- export { A as AI_DOCS_HINT, c as AI_HINT, b as MCP_API_URL, M as MCP_BASE_URL, a as MCP_SERVER_URL } from './constants-HezbftFb.mjs';
5
+ export { A as AI_DOCS_HINT, a as AI_HINT, M as MCP_API_URL, b as MCP_BASE_URL, c as MCP_SERVER_URL } from './constants-BDS8GXHN.mjs';
6
6
  export { DjangoCfgDocsClient, McpConfig, SearchOptions, SearchResult, getDocs, getInfo, getMcpConfig, search } from './ai/index.mjs';
7
- export { C as ChangeFreq, E as ErrorPageConfig, H as HealthResponse, a as SitemapConfig, S as SitemapUrl } from './types-CwhXnEbK.mjs';
7
+ export { C as ChangeFreq, E as ErrorPageConfig, H as HealthResponse, S as SitemapConfig, a as SitemapUrl } from './types-l9x1Rkmf.mjs';
8
8
  import 'next';
9
9
  import 'next/server';
10
10
  import 'lucide-react';
11
11
  import 'webpack';
12
- import './types-Cy349X20.mjs';
12
+ import './types-DZTgCl85.mjs';
13
13
  import '@djangocfg/i18n';
14
- import './plugin-DuRJ_Jq6.mjs';
14
+ import './plugin-DdmK3zAE.mjs';
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.464",
17
+ version: "2.1.465",
18
18
  description: "Next.js server utilities: sitemap, health, OG images, contact forms, navigation, config",
19
19
  keywords: [
20
20
  "nextjs",
@@ -157,10 +157,10 @@ var require_package = __commonJS({
157
157
  "ai-docs": "tsx src/ai/cli.ts"
158
158
  },
159
159
  peerDependencies: {
160
+ "@djangocfg/devtools": "workspace:*",
160
161
  "@djangocfg/i18n": "workspace:*",
161
162
  "@djangocfg/ui-core": "workspace:*",
162
- next: "^16.2.2",
163
- "@djangocfg/devtools": "workspace:*"
163
+ next: "^16.2.2"
164
164
  },
165
165
  peerDependenciesMeta: {
166
166
  "@djangocfg/ui-core": {
@@ -171,31 +171,31 @@ var require_package = __commonJS({
171
171
  }
172
172
  },
173
173
  dependencies: {
174
- "@serwist/next": "^9.2.3",
175
- "@serwist/sw": "^9.2.3",
176
- chalk: "^5.3.0",
177
- conf: "^15.0.2",
174
+ "@serwist/next": "^9.5.11",
175
+ "@serwist/sw": "^9.5.11",
176
+ chalk: "^5.6.2",
177
+ conf: "^15.1.0",
178
178
  consola: "^3.4.2",
179
- "next-intl": "^4.9.1",
180
- semver: "^7.7.3",
181
- serwist: "^9.2.3"
179
+ "next-intl": "^4.13.2",
180
+ semver: "^7.8.5",
181
+ serwist: "^9.5.11"
182
182
  },
183
183
  devDependencies: {
184
+ "@djangocfg/devtools": "workspace:*",
184
185
  "@djangocfg/i18n": "workspace:*",
185
- "@djangocfg/ui-core": "workspace:*",
186
186
  "@djangocfg/layouts": "workspace:*",
187
187
  "@djangocfg/typescript-config": "workspace:*",
188
- "@types/node": "^25.2.3",
189
- "@types/react": "^19.2.15",
190
- "@types/react-dom": "^19.2.3",
188
+ "@djangocfg/ui-core": "workspace:*",
189
+ "@types/node": "^25.9.5",
190
+ "@types/react": "19.2.15",
191
+ "@types/react-dom": "19.2.3",
191
192
  "@types/semver": "^7.7.1",
192
193
  "@types/webpack": "^5.28.5",
193
- eslint: "^9.37.0",
194
+ eslint: "^9.39.5",
194
195
  "lucide-react": "^0.545.0",
195
- tsup: "^8.5.0",
196
- tsx: "^4.19.2",
197
- typescript: "^5.9.3",
198
- "@djangocfg/devtools": "workspace:*"
196
+ tsup: "^8.5.1",
197
+ tsx: "^4.23.0",
198
+ typescript: "^5.9.3"
199
199
  },
200
200
  publishConfig: {
201
201
  access: "public"