@donotdev/cli 0.1.42 → 0.1.44

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.
@@ -2,7 +2,7 @@
2
2
  "$schema": "./dependencies-matrix.schema.json",
3
3
  "version": "0.0.6",
4
4
  "description": "Centralized dependency versions for DoNotDev framework. Single source of truth for all external dependencies. Third-party optional deps are auto-detected from peerDependenciesMeta via scanInstalledPackageOptionals() — no manual constants update needed.",
5
- "lastUpdated": "2026-05-01",
5
+ "lastUpdated": "2026-06-11",
6
6
  "migrationGuides": {
7
7
  "0.0→0.1": {
8
8
  "path": "docs/migration/v0.0-to-v0.1.md",
@@ -41,73 +41,73 @@
41
41
  "@donotdev/auth": {
42
42
  "description": "Authentication package",
43
43
  "packages": {
44
- "@donotdev/auth": "^0.1.42"
44
+ "@donotdev/auth": "^0.1.43"
45
45
  }
46
46
  },
47
47
  "@donotdev/billing": {
48
48
  "description": "Billing package",
49
49
  "packages": {
50
- "@donotdev/billing": "^0.1.42"
50
+ "@donotdev/billing": "^0.1.43"
51
51
  }
52
52
  },
53
53
  "@donotdev/components": {
54
54
  "description": "UI components package",
55
55
  "packages": {
56
- "@donotdev/components": "^0.1.42"
56
+ "@donotdev/components": "^0.1.44"
57
57
  }
58
58
  },
59
59
  "@donotdev/core": {
60
60
  "description": "Core framework package",
61
61
  "packages": {
62
- "@donotdev/core": "^0.1.42"
62
+ "@donotdev/core": "^0.1.43"
63
63
  }
64
64
  },
65
65
  "@donotdev/crud": {
66
66
  "description": "CRUD operations package",
67
67
  "packages": {
68
- "@donotdev/crud": "^0.1.42"
68
+ "@donotdev/crud": "^0.1.44"
69
69
  }
70
70
  },
71
71
  "@donotdev/firebase": {
72
72
  "description": "Firebase provider package",
73
73
  "packages": {
74
- "@donotdev/firebase": "^0.1.42"
74
+ "@donotdev/firebase": "^0.1.43"
75
75
  }
76
76
  },
77
77
  "@donotdev/functions": {
78
78
  "description": "Firebase Functions package",
79
79
  "packages": {
80
- "@donotdev/functions": "^0.1.42"
80
+ "@donotdev/functions": "^0.1.43"
81
81
  }
82
82
  },
83
83
  "@donotdev/oauth": {
84
84
  "description": "OAuth package",
85
85
  "packages": {
86
- "@donotdev/oauth": "^0.1.42"
86
+ "@donotdev/oauth": "^0.1.43"
87
87
  }
88
88
  },
89
89
  "@donotdev/templates": {
90
90
  "description": "Page templates package",
91
91
  "packages": {
92
- "@donotdev/templates": "^0.1.42"
92
+ "@donotdev/templates": "^0.1.43"
93
93
  }
94
94
  },
95
95
  "@donotdev/ui": {
96
96
  "description": "UI and routing package",
97
97
  "packages": {
98
- "@donotdev/ui": "^0.1.42"
98
+ "@donotdev/ui": "^0.1.43"
99
99
  }
100
100
  },
101
101
  "@donotdev/expo": {
102
102
  "description": "Expo/React Native components package",
103
103
  "packages": {
104
- "@donotdev/expo": "^0.1.42"
104
+ "@donotdev/expo": "^0.1.43"
105
105
  }
106
106
  },
107
107
  "@donotdev/supabase": {
108
108
  "description": "Supabase provider package",
109
109
  "packages": {
110
- "@donotdev/supabase": "^0.1.42"
110
+ "@donotdev/supabase": "^0.1.43"
111
111
  }
112
112
  },
113
113
  "supabase-js": {
@@ -455,7 +455,7 @@
455
455
  "@donotdev/cli": {
456
456
  "description": "Cli package",
457
457
  "packages": {
458
- "@donotdev/cli": "^0.1.42"
458
+ "@donotdev/cli": "^0.1.43"
459
459
  }
460
460
  },
461
461
  "@donotdev/mcp-server": {
@@ -533,7 +533,7 @@
533
533
  "@donotdev/canvas": {
534
534
  "description": "Canvas package",
535
535
  "packages": {
536
- "@donotdev/canvas": "^0.1.42"
536
+ "@donotdev/canvas": "^0.1.43"
537
537
  }
538
538
  }
539
539
  },
@@ -8974,6 +8974,17 @@ function generatePackageJson(templateName, mode, options = {}) {
8974
8974
  result.main = "./index.ts";
8975
8975
  result.types = "./index.ts";
8976
8976
  }
8977
+ if (templateName.includes("nextjs")) {
8978
+ result.browserslist = [
8979
+ "chrome >= 64",
8980
+ "edge >= 79",
8981
+ "firefox >= 67",
8982
+ "safari >= 12",
8983
+ "ios_saf >= 12",
8984
+ "opera >= 51",
8985
+ "not dead"
8986
+ ];
8987
+ }
8977
8988
  if (templateName.includes("vite") || templateName.includes("nextjs") || templateName.includes("expo") || templateName.includes("functions")) {
8978
8989
  if (!dependencies.entities) {
8979
8990
  dependencies.entities = "workspace:*";
@@ -9301,6 +9301,17 @@ function generatePackageJson(templateName, mode, options = {}) {
9301
9301
  result.main = "./index.ts";
9302
9302
  result.types = "./index.ts";
9303
9303
  }
9304
+ if (templateName.includes("nextjs")) {
9305
+ result.browserslist = [
9306
+ "chrome >= 64",
9307
+ "edge >= 79",
9308
+ "firefox >= 67",
9309
+ "safari >= 12",
9310
+ "ios_saf >= 12",
9311
+ "opera >= 51",
9312
+ "not dead"
9313
+ ];
9314
+ }
9304
9315
  if (templateName.includes("vite") || templateName.includes("nextjs") || templateName.includes("expo") || templateName.includes("functions")) {
9305
9316
  if (!dependencies.entities) {
9306
9317
  dependencies.entities = "workspace:*";
@@ -9622,6 +9622,17 @@ function generatePackageJson(templateName, mode, options = {}) {
9622
9622
  result.main = "./index.ts";
9623
9623
  result.types = "./index.ts";
9624
9624
  }
9625
+ if (templateName.includes("nextjs")) {
9626
+ result.browserslist = [
9627
+ "chrome >= 64",
9628
+ "edge >= 79",
9629
+ "firefox >= 67",
9630
+ "safari >= 12",
9631
+ "ios_saf >= 12",
9632
+ "opera >= 51",
9633
+ "not dead"
9634
+ ];
9635
+ }
9625
9636
  if (templateName.includes("vite") || templateName.includes("nextjs") || templateName.includes("expo") || templateName.includes("functions")) {
9626
9637
  if (!dependencies.entities) {
9627
9638
  dependencies.entities = "workspace:*";
@@ -8676,6 +8676,17 @@ function generatePackageJson(templateName, mode, options = {}) {
8676
8676
  result.main = "./index.ts";
8677
8677
  result.types = "./index.ts";
8678
8678
  }
8679
+ if (templateName.includes("nextjs")) {
8680
+ result.browserslist = [
8681
+ "chrome >= 64",
8682
+ "edge >= 79",
8683
+ "firefox >= 67",
8684
+ "safari >= 12",
8685
+ "ios_saf >= 12",
8686
+ "opera >= 51",
8687
+ "not dead"
8688
+ ];
8689
+ }
8679
8690
  if (templateName.includes("vite") || templateName.includes("nextjs") || templateName.includes("expo") || templateName.includes("functions")) {
8680
8691
  if (!dependencies.entities) {
8681
8692
  dependencies.entities = "workspace:*";
package/dist/bin/dndev.js CHANGED
@@ -994,7 +994,7 @@ function registerCommand(program2, def, action) {
994
994
  }
995
995
 
996
996
  // packages/cli/src/bin/dndev.mjs
997
- var CLI_VERSION = true ? "0.1.42" : "0.0.0";
997
+ var CLI_VERSION = true ? "0.1.44" : "0.0.0";
998
998
  var args = process.argv.slice(2);
999
999
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v")) {
1000
1000
  console.log(CLI_VERSION);
package/dist/index.js CHANGED
@@ -24661,6 +24661,17 @@ function generatePackageJson(templateName, mode, options = {}) {
24661
24661
  result.main = "./index.ts";
24662
24662
  result.types = "./index.ts";
24663
24663
  }
24664
+ if (templateName.includes("nextjs")) {
24665
+ result.browserslist = [
24666
+ "chrome >= 64",
24667
+ "edge >= 79",
24668
+ "firefox >= 67",
24669
+ "safari >= 12",
24670
+ "ios_saf >= 12",
24671
+ "opera >= 51",
24672
+ "not dead"
24673
+ ];
24674
+ }
24664
24675
  if (templateName.includes("vite") || templateName.includes("nextjs") || templateName.includes("expo") || templateName.includes("functions")) {
24665
24676
  if (!dependencies.entities) {
24666
24677
  dependencies.entities = "workspace:*";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@donotdev/cli",
3
- "version": "0.1.42",
3
+ "version": "0.1.44",
4
4
  "description": "Command-line interface for DoNotDev Framework",
5
5
  "type": "module",
6
6
  "private": false,
@@ -35,9 +35,9 @@ export const appConfig: AppConfig = {
35
35
  footer: {
36
36
  legalLinks: [
37
37
  { path: '#cookie-settings', label: 'footer.legal.cookieSettings' },
38
+ { path: '/legal/legal-notice', label: 'footer.legal.legalNotice' },
38
39
  { path: '/legal/privacy', label: 'footer.legal.privacyPolicy' },
39
40
  { path: '/legal/terms', label: 'footer.legal.termsOfService' },
40
- // { path: '/legal/notice', label: 'footer.legal.legalNotice' },
41
41
  ],
42
42
  },
43
43
  },
@@ -7,6 +7,8 @@
7
7
  * @author AMBROISE PARK Consulting
8
8
  */
9
9
 
10
+ import { Suspense } from 'react';
11
+
10
12
  import { NotFoundPage } from '@donotdev/ui';
11
13
 
12
14
  /**
@@ -16,6 +18,17 @@ import { NotFoundPage } from '@donotdev/ui';
16
18
  * - i18n translation support
17
19
  * - Dynamic route suggestions
18
20
  * - Accessible navigation buttons
21
+ *
22
+ * NotFoundPage uses the routing hooks (useLocation/useNavigate), whose Next
23
+ * adapter calls useSearchParams(). In the App Router that forces a client-side
24
+ * bailout that throws during static prerender of /_not-found unless wrapped in
25
+ * a Suspense boundary.
19
26
  */
20
- export default NotFoundPage;
27
+ export default function NotFound() {
28
+ return (
29
+ <Suspense fallback={null}>
30
+ <NotFoundPage />
31
+ </Suspense>
32
+ );
33
+ }
21
34
 
@@ -35,9 +35,9 @@ export const appConfig: AppConfig = {
35
35
  footer: {
36
36
  legalLinks: [
37
37
  { path: '#cookie-settings', label: 'footer.legal.cookieSettings' },
38
+ { path: '/legal/legal-notice', label: 'footer.legal.legalNotice' },
38
39
  { path: '/legal/privacy', label: 'footer.legal.privacyPolicy' },
39
40
  { path: '/legal/terms', label: 'footer.legal.termsOfService' },
40
- // { path: '/legal/notice', label: 'footer.legal.legalNotice' },
41
41
  ],
42
42
  },
43
43
  },
@@ -35,9 +35,9 @@ export const appConfig: AppConfig = {
35
35
  footer: {
36
36
  legalLinks: [
37
37
  { path: '#cookie-settings', label: 'footer.legal.cookieSettings' },
38
+ { path: '/legal/legal-notice', label: 'footer.legal.legalNotice' },
38
39
  { path: '/legal/privacy', label: 'footer.legal.privacyPolicy' },
39
40
  { path: '/legal/terms', label: 'footer.legal.termsOfService' },
40
- // { path: '/legal/notice', label: 'footer.legal.legalNotice' },
41
41
  ],
42
42
  },
43
43
  },