@djangocfg/nextjs 2.1.464 → 2.1.466
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/ai/index.d.mts +1 -1
- package/dist/config/index.d.mts +3 -3
- package/dist/config/index.mjs +19 -19
- package/dist/config/index.mjs.map +1 -1
- package/dist/{constants-HezbftFb.d.mts → constants-BDS8GXHN.d.mts} +1 -1
- package/dist/health/index.d.mts +1 -1
- package/dist/i18n/client.d.mts +1 -1
- package/dist/i18n/index.d.mts +1 -1
- package/dist/i18n/navigation.d.mts +1 -1
- package/dist/i18n/plugin.d.mts +1 -1
- package/dist/i18n/provider.d.mts +1 -1
- package/dist/i18n/proxy.d.mts +1 -1
- package/dist/i18n/request.d.mts +1 -1
- package/dist/i18n/routing.d.mts +1 -1
- package/dist/i18n/server.d.mts +1 -1
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +19 -19
- package/dist/index.mjs.map +1 -1
- package/dist/{plugin-DuRJ_Jq6.d.mts → plugin-DdmK3zAE.d.mts} +1 -1
- package/dist/pwa/index.d.mts +2 -2
- package/dist/sitemap/index.d.mts +1 -1
- package/dist/{types-Cy349X20.d.mts → types-DZTgCl85.d.mts} +1 -1
- package/dist/{types-CwhXnEbK.d.mts → types-l9x1Rkmf.d.mts} +1 -1
- package/package.json +24 -24
package/dist/i18n/client.d.mts
CHANGED
|
@@ -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-
|
|
6
|
+
import '../types-DZTgCl85.mjs';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Get translations in Client Components
|
package/dist/i18n/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { E as ExtensionMessages, I as I18nConfig, a as I18nPluginOptions, b as I18nProviderProps,
|
|
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-
|
|
8
|
+
import { I as I18nConfig } from '../types-DZTgCl85.mjs';
|
|
9
9
|
import 'next-intl/routing';
|
|
10
10
|
import '@djangocfg/i18n';
|
|
11
11
|
|
package/dist/i18n/plugin.d.mts
CHANGED
|
@@ -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-
|
|
3
|
+
import { a as I18nPluginOptions } from '../types-DZTgCl85.mjs';
|
|
4
4
|
import '@djangocfg/i18n';
|
|
5
5
|
|
|
6
6
|
/**
|
package/dist/i18n/provider.d.mts
CHANGED
package/dist/i18n/proxy.d.mts
CHANGED
|
@@ -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-
|
|
4
|
+
import { I as I18nConfig } from '../types-DZTgCl85.mjs';
|
|
5
5
|
import 'next-intl/routing';
|
|
6
6
|
import '@djangocfg/i18n';
|
|
7
7
|
|
package/dist/i18n/request.d.mts
CHANGED
|
@@ -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-
|
|
3
|
+
import { M as Messages } from '../types-DZTgCl85.mjs';
|
|
4
4
|
|
|
5
5
|
interface RequestConfigOptions {
|
|
6
6
|
/** Base locale translations from @djangocfg/i18n */
|
package/dist/i18n/routing.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as next_intl_routing from 'next-intl/routing';
|
|
2
|
-
import { I as I18nConfig } from '../types-
|
|
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[];
|
package/dist/i18n/server.d.mts
CHANGED
|
@@ -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 {
|
|
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,
|
|
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,
|
|
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-
|
|
12
|
+
import './types-DZTgCl85.mjs';
|
|
13
13
|
import '@djangocfg/i18n';
|
|
14
|
-
import './plugin-
|
|
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.
|
|
17
|
+
version: "2.1.466",
|
|
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.
|
|
175
|
-
"@serwist/sw": "^9.
|
|
176
|
-
chalk: "^5.
|
|
177
|
-
conf: "^15.0
|
|
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.
|
|
180
|
-
semver: "^7.
|
|
181
|
-
serwist: "^9.
|
|
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
|
-
"@
|
|
189
|
-
"@types/
|
|
190
|
-
"@types/react
|
|
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.
|
|
194
|
+
eslint: "^9.39.5",
|
|
194
195
|
"lucide-react": "^0.545.0",
|
|
195
|
-
tsup: "^8.5.
|
|
196
|
-
tsx: "^4.
|
|
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"
|