@donotdev/core 0.1.42 → 0.1.45
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/index.d.ts +9 -0
- package/index.js +6 -502
- package/next/index.d.ts +9 -0
- package/next/index.js +44 -31
- package/package.json +5 -2
- package/server.d.ts +9 -0
- package/vite/index.d.ts +9 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@donotdev/core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.45",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
],
|
|
53
53
|
"sideEffects": false,
|
|
54
54
|
"peerDependencies": {
|
|
55
|
-
"@donotdev/components": "^0.1.
|
|
55
|
+
"@donotdev/components": "^0.1.44",
|
|
56
56
|
"@sentry/react": "^10.39.0",
|
|
57
57
|
"i18next": "^25.10.5",
|
|
58
58
|
"i18next-browser-languagedetector": "^8.2.1",
|
|
@@ -95,6 +95,9 @@
|
|
|
95
95
|
"access": "public"
|
|
96
96
|
},
|
|
97
97
|
"dependencies": {
|
|
98
|
+
"@babel/core": "^7.29.0",
|
|
99
|
+
"@babel/plugin-transform-destructuring": "^7.28.5",
|
|
100
|
+
"@babel/plugin-transform-parameters": "^7.27.7",
|
|
98
101
|
"@clack/prompts": "^1.0.1",
|
|
99
102
|
"@rollup/plugin-strip": "^3.0.4",
|
|
100
103
|
"@tanstack/react-query": "^5.90.21",
|
package/server.d.ts
CHANGED
|
@@ -2644,6 +2644,15 @@ interface AppConfig {
|
|
|
2644
2644
|
features?: FeaturesConfig;
|
|
2645
2645
|
/** Query cache configuration (defaults: 5min staleTime, refetch on focus/reconnect) */
|
|
2646
2646
|
query?: QueryConfig;
|
|
2647
|
+
/**
|
|
2648
|
+
* Server-side rendering (Next adapter). **Defaults to `true`** — generated page
|
|
2649
|
+
* wrappers render directly and the provider tree renders on the server, so page
|
|
2650
|
+
* content is present in the initial HTML (real, crawlable SSR). Set to `false`
|
|
2651
|
+
* to opt OUT and restore the legacy client-only render (content appears only
|
|
2652
|
+
* after hydration). The provider tree is store-driven, so SSR routes render
|
|
2653
|
+
* dynamically at request time.
|
|
2654
|
+
*/
|
|
2655
|
+
ssr?: boolean;
|
|
2647
2656
|
}
|
|
2648
2657
|
/**
|
|
2649
2658
|
* Custom store configuration for app-specific stores
|
package/vite/index.d.ts
CHANGED
|
@@ -649,6 +649,15 @@ interface AppConfig {
|
|
|
649
649
|
features?: FeaturesConfig;
|
|
650
650
|
/** Query cache configuration (defaults: 5min staleTime, refetch on focus/reconnect) */
|
|
651
651
|
query?: QueryConfig;
|
|
652
|
+
/**
|
|
653
|
+
* Server-side rendering (Next adapter). **Defaults to `true`** — generated page
|
|
654
|
+
* wrappers render directly and the provider tree renders on the server, so page
|
|
655
|
+
* content is present in the initial HTML (real, crawlable SSR). Set to `false`
|
|
656
|
+
* to opt OUT and restore the legacy client-only render (content appears only
|
|
657
|
+
* after hydration). The provider tree is store-driven, so SSR routes render
|
|
658
|
+
* dynamically at request time.
|
|
659
|
+
*/
|
|
660
|
+
ssr?: boolean;
|
|
652
661
|
}
|
|
653
662
|
|
|
654
663
|
// packages/core/config/index.d.ts
|