@djangocfg/nextjs 2.1.233 → 2.1.235

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.
@@ -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;
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.233",
17
+ version: "2.1.235",
18
18
  description: "Next.js server utilities: sitemap, health, OG images, contact forms, navigation, config",
19
19
  keywords: [
20
20
  "nextjs",
@@ -527,6 +527,8 @@ var DEFAULT_TRANSPILE_PACKAGES = [
527
527
  "@djangocfg/ui-tools",
528
528
  "@djangocfg/api",
529
529
  "@djangocfg/centrifugo",
530
+ "@djangocfg/debuger",
531
+ "@djangocfg/monitor",
530
532
  // Extensions (for source imports without build)
531
533
  "@djangocfg/ext-support",
532
534
  "@djangocfg/ext-payments"
@@ -546,7 +548,7 @@ import { join } from "path";
546
548
  // src/config/utils/env.ts
547
549
  var isStaticBuild = process.env.NEXT_PUBLIC_STATIC_BUILD === "true";
548
550
  var isDev = process.env.NODE_ENV === "development";
549
- var isProduction = process.env.NODE_ENV === "production";
551
+ var isProduction = !isDev;
550
552
  var isCI = process.env.CI === "true";
551
553
  function getBasePath(isDefaultCfgAdmin) {
552
554
  if (!isStaticBuild) return "";