dinou 9.3.0 → 10.0.1
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/CHANGELOG.md +196 -0
- package/README.md +157 -132
- package/dinou/adapters/bun.js +34 -5
- package/dinou/adapters/cloudflare.js +110 -17
- package/dinou/adapters/deno.js +46 -8
- package/dinou/adapters/netlify.js +86 -50
- package/dinou/adapters/node.js +8 -0
- package/dinou/assets.d.ts +32 -5
- package/dinou/bun/build.js +190 -106
- package/dinou/cli.js +992 -532
- package/dinou/cloudflare/build.js +187 -106
- package/dinou/compiled/autoprefixer/index.js +509 -517
- package/dinou/compiled/babel-core/index.js +738 -716
- package/dinou/compiled/babel-generator/index.js +341 -299
- package/dinou/compiled/babel-loader/index.js +766 -744
- package/dinou/compiled/babel-parser/index.js +2 -2
- package/dinou/compiled/babel-plugin-react-compiler/index.js +178 -178
- package/dinou/compiled/babel-plugin-syntax-import-meta/index.js +4 -4
- package/dinou/compiled/babel-preset-react/index.js +752 -730
- package/dinou/compiled/babel-preset-typescript/index.js +738 -716
- package/dinou/compiled/babel-traverse/index.js +463 -433
- package/dinou/compiled/babel-types/index.js +176 -176
- package/dinou/compiled/chokidar/index.js +4 -4
- package/dinou/compiled/commander/index.js +15 -15
- package/dinou/compiled/copy-webpack-plugin/index.js +433 -425
- package/dinou/compiled/css-loader/index.js +289 -289
- package/dinou/compiled/css-loader/runtime/api.js +85 -0
- package/dinou/compiled/css-loader/runtime/getUrl.js +26 -0
- package/dinou/compiled/css-loader/runtime/noSourceMaps.js +5 -0
- package/dinou/compiled/css-loader/runtime/package.json +3 -0
- package/dinou/compiled/css-loader/runtime/sourceMaps.js +16 -0
- package/dinou/compiled/fast-glob/index.js +5810 -0
- package/dinou/compiled/generic-names/index.js +16 -16
- package/dinou/compiled/mini-css-extract-plugin/{chunk-YYEJWYXE.js → chunk-R6DP5ZYM.js} +36 -36
- package/dinou/compiled/mini-css-extract-plugin/hmr/hotModuleReplacement.js +253 -0
- package/dinou/compiled/mini-css-extract-plugin/hmr/normalize-url.js +39 -0
- package/dinou/compiled/mini-css-extract-plugin/hmr/package.json +3 -0
- package/dinou/compiled/mini-css-extract-plugin/index.js +1 -1
- package/dinou/compiled/mini-css-extract-plugin/loader.js +5 -5
- package/dinou/compiled/postcss/index.js +83 -83
- package/dinou/compiled/postcss-import/index.js +147 -117
- package/dinou/compiled/postcss-modules/index.js +216 -216
- package/dinou/compiled/resolve/index.js +1224 -0
- package/dinou/compiled/rollup-plugin-babel/index.js +753 -731
- package/dinou/compiled/rollup-plugin-commonjs/index.js +43 -38
- package/dinou/compiled/rollup-plugin-delete/index.js +615 -253
- package/dinou/compiled/rollup-plugin-json/index.js +22 -18
- package/dinou/compiled/rollup-plugin-node-resolve/index.js +130 -100
- package/dinou/compiled/rollup-plugin-postcss/index.js +3299 -3277
- package/dinou/compiled/rollup-plugin-replace/index.js +34 -29
- package/dinou/compiled/tailwindcss-postcss/index.js +214 -211
- package/dinou/compiled/vendors-manifest.json +59 -83
- package/dinou/core/asset-extensions.js +482 -33
- package/dinou/core/bailout-proxy.js +21 -2
- package/dinou/core/build-static-pages.js +523 -371
- package/dinou/core/builtin-asset-extensions.js +63 -0
- package/dinou/core/cache-revalidate.js +449 -256
- package/dinou/core/cache-slot.js +289 -79
- package/dinou/core/client-webpack.jsx +470 -39
- package/dinou/core/client.jsx +402 -39
- package/dinou/core/config.js +3 -0
- package/dinou/core/copy-static-dirs.js +98 -0
- package/dinou/core/createScopedName.js +22 -4
- package/dinou/core/dinou-paths.js +1 -1
- package/dinou/core/discover-layouts.js +200 -0
- package/dinou/core/edge-ssr.js +1 -1
- package/dinou/core/ensure-vendor-mode.js +78 -19
- package/dinou/core/env.js +544 -0
- package/dinou/core/export-static.js +41 -9
- package/dinou/core/generate-route-types.js +989 -95
- package/dinou/core/generate-static-rsc.js +5 -6
- package/dinou/core/generate-static.js +45 -6
- package/dinou/core/get-abs-path-with-ext.js +217 -75
- package/dinou/core/get-asset-from-manifest.js +19 -8
- package/dinou/core/get-error-jsx.js +4 -5
- package/dinou/core/get-file-path-and-dynamic-params.js +561 -338
- package/dinou/core/get-jsx.js +220 -53
- package/dinou/core/handler.js +1647 -466
- package/dinou/core/import-module.js +7 -0
- package/dinou/core/layout-functions.js +72 -13
- package/dinou/core/link.jsx +34 -6
- package/dinou/core/load-dinou-config.js +520 -89
- package/dinou/core/manifest-provider.js +4 -14
- package/dinou/core/navigation-utils.js +141 -3
- package/dinou/core/navigation.js +134 -50
- package/dinou/core/node-middleware-runner.js +165 -0
- package/dinou/core/postcss-pipeline.js +236 -0
- package/dinou/core/ppr-context.js +114 -22
- package/dinou/core/ppr-runtime.js +391 -127
- package/dinou/core/redirect.jsx +1 -1
- package/dinou/core/render-jsx-to-client-jsx.js +216 -48
- package/dinou/core/request-context.js +59 -3
- package/dinou/core/resolve-contextual-dinou.js +523 -0
- package/dinou/core/resolve-setup-files.js +85 -27
- package/dinou/core/revalidating.js +10 -2
- package/dinou/core/route-generator.js +6 -2
- package/dinou/core/rsc-renderer.js +4 -1
- package/dinou/core/run-ssg.js +6 -0
- package/dinou/core/runtime-env.js +265 -0
- package/dinou/core/server-css-modules-plugin.js +155 -0
- package/dinou/core/server-function-proxy-webpack.js +27 -2
- package/dinou/core/server-function-proxy.js +27 -2
- package/dinou/core/slot.js +47 -2
- package/dinou/core/static-assets.js +503 -0
- package/dinou/core/storage-adapter.js +452 -24
- package/dinou/core/transform-server-functions.js +272 -24
- package/dinou/core/tsconfig-aliases.js +964 -0
- package/dinou/core/uneject.js +640 -0
- package/dinou/core/url-resolver.js +1 -1
- package/dinou/core/vfs.js +11 -2
- package/dinou/css.d.ts +4 -1
- package/dinou/deno/build.js +205 -153
- package/dinou/deno/seed-kv.js +4 -0
- package/dinou/env.d.ts +22 -2
- package/dinou/esbuild/build.js +40 -50
- package/dinou/esbuild/dev.js +33 -7
- package/dinou/esbuild/helpers-esbuild/get-config-esbuild-prod.js +41 -16
- package/dinou/esbuild/helpers-esbuild/get-config-esbuild.js +51 -49
- package/dinou/esbuild/helpers-esbuild/get-esbuild-entries.js +73 -60
- package/dinou/esbuild/helpers-esbuild/swc-disk-cache.js +35 -16
- package/dinou/esbuild/helpers-esbuild/write.js +13 -3
- package/dinou/esbuild/plugins-esbuild/assets-plugin.js +100 -238
- package/dinou/esbuild/plugins-esbuild/babel-react-compiler-plugin.js +73 -29
- package/dinou/esbuild/plugins-esbuild/css-processor-plugin.js +283 -91
- package/dinou/esbuild/plugins-esbuild/manifest-generator-plugin.js +3 -5
- package/dinou/esbuild/plugins-esbuild/react-client-manifest-plugin.js +9 -3
- package/dinou/esbuild/plugins-esbuild/server-functions-plugin.js +4 -3
- package/dinou/esbuild/plugins-esbuild/stable-chunk-names-and-maps-plugin.js +10 -1
- package/dinou/esbuild/plugins-postcss/postcss-extract-plugin.js +84 -21
- package/dinou/esbuild/react-refresh/esm-hmr/client.js +31 -10
- package/dinou/esbuild/react-refresh/esm-hmr-plugin.js +48 -18
- package/dinou/esbuild/react-refresh/is-react-refresh-boundary.js +9 -1
- package/dinou/esbuild/react-refresh/react-refresh-runtime.js +13 -7
- package/dinou/index.d.ts +1028 -88
- package/dinou/node/build.js +138 -74
- package/dinou/node/bundle-dual-engine.js +393 -131
- package/dinou/node/dev.js +1005 -275
- package/dinou/package.json +11 -34
- package/dinou/rollup/postcss.config.js +3 -4
- package/dinou/rollup/react-refresh/esm-hmr/client.js +31 -10
- package/dinou/rollup/react-refresh/react-refresh-wrap-modules.js +16 -13
- package/dinou/rollup/react-refresh/rollup-plugin-esm-hmr.js +53 -7
- package/dinou/rollup/rollup-plugins/dinou-asset-plugin.js +58 -20
- package/dinou/rollup/rollup-plugins/manifest-generator-plugin.js +16 -7
- package/dinou/rollup/rollup-plugins/rollup-plugin-react-client-manifest.js +118 -42
- package/dinou/rollup/rollup-plugins/rollup-plugin-server-functions.js +48 -36
- package/dinou/rollup/rollup.config.js +174 -101
- package/dinou/scripts/build-vendors.js +123 -33
- package/dinou/server.d.ts +126 -15
- package/dinou/webpack/helpers/get-webpack-entries.js +87 -41
- package/dinou/webpack/helpers/patch-webpack-internals.js +93 -1
- package/dinou/webpack/loaders/server-functions-loader.js +1 -1
- package/dinou/webpack/plugins/manifest-generator-plugin.js +27 -7
- package/dinou/webpack/plugins/server-functions-plugin.js +39 -12
- package/dinou/webpack/plugins/webpack-memory-plugin.js +25 -12
- package/dinou/webpack/postcss.config.js +3 -4
- package/dinou/webpack/webpack.config.js +408 -132
- package/eject.js +6 -224
- package/package.json +7 -9
- package/dinou/compiled/cross-env/index.js +0 -661
- package/dinou/compiled/dotenv/index.js +0 -375
- package/dinou/compiled/esbuild-copy-static-files/index.js +0 -63
- package/dinou/compiled/esbuild-tsconfig-paths/index.js +0 -1314
- package/dinou/compiled/rollup-plugin-copy/index.js +0 -12066
- package/dinou/compiled/rollup-plugin-tsconfig-paths/index.js +0 -569
- package/dinou/compiled/tsconfig-paths-webpack-plugin/index.js +0 -3956
|
@@ -2,132 +2,122 @@
|
|
|
2
2
|
"babel-parser": {
|
|
3
3
|
"entry": "@babel/parser",
|
|
4
4
|
"sizeKb": 560.3,
|
|
5
|
-
"builtAt": "2026-
|
|
5
|
+
"builtAt": "2026-11-18T11:56:43.204Z"
|
|
6
6
|
},
|
|
7
7
|
"babel-traverse": {
|
|
8
8
|
"entry": "@babel/traverse",
|
|
9
|
-
"sizeKb":
|
|
10
|
-
"builtAt": "2026-
|
|
9
|
+
"sizeKb": 1583.3,
|
|
10
|
+
"builtAt": "2026-11-18T11:56:43.291Z"
|
|
11
11
|
},
|
|
12
12
|
"babel-core": {
|
|
13
13
|
"entry": "@babel/core",
|
|
14
|
-
"sizeKb":
|
|
15
|
-
"builtAt": "2026-
|
|
14
|
+
"sizeKb": 2657.2,
|
|
15
|
+
"builtAt": "2026-11-18T11:56:43.423Z"
|
|
16
16
|
},
|
|
17
17
|
"babel-generator": {
|
|
18
18
|
"entry": "@babel/generator",
|
|
19
|
-
"sizeKb":
|
|
20
|
-
"builtAt": "2026-
|
|
19
|
+
"sizeKb": 761,
|
|
20
|
+
"builtAt": "2026-11-18T11:56:43.470Z"
|
|
21
21
|
},
|
|
22
22
|
"babel-types": {
|
|
23
23
|
"entry": "@babel/types",
|
|
24
|
-
"sizeKb": 524.
|
|
25
|
-
"builtAt": "2026-
|
|
24
|
+
"sizeKb": 524.4,
|
|
25
|
+
"builtAt": "2026-11-18T11:56:43.512Z"
|
|
26
26
|
},
|
|
27
27
|
"babel-preset-react": {
|
|
28
28
|
"entry": "@babel/preset-react",
|
|
29
|
-
"sizeKb":
|
|
30
|
-
"builtAt": "2026-
|
|
29
|
+
"sizeKb": 2690.4,
|
|
30
|
+
"builtAt": "2026-11-18T11:56:43.786Z"
|
|
31
31
|
},
|
|
32
32
|
"babel-preset-typescript": {
|
|
33
33
|
"entry": "@babel/preset-typescript",
|
|
34
|
-
"sizeKb":
|
|
35
|
-
"builtAt": "2026-
|
|
34
|
+
"sizeKb": 2657.2,
|
|
35
|
+
"builtAt": "2026-11-18T11:56:43.917Z"
|
|
36
36
|
},
|
|
37
37
|
"babel-plugin-syntax-import-meta": {
|
|
38
38
|
"entry": "@babel/plugin-syntax-import-meta",
|
|
39
39
|
"sizeKb": 4,
|
|
40
|
-
"builtAt": "2026-
|
|
40
|
+
"builtAt": "2026-11-18T11:56:43.928Z"
|
|
41
41
|
},
|
|
42
42
|
"babel-plugin-react-compiler": {
|
|
43
43
|
"entry": "babel-plugin-react-compiler",
|
|
44
|
-
"sizeKb": 4633.
|
|
45
|
-
"builtAt": "2026-
|
|
44
|
+
"sizeKb": 4633.2,
|
|
45
|
+
"builtAt": "2026-11-18T11:56:44.137Z"
|
|
46
46
|
},
|
|
47
47
|
"postcss": {
|
|
48
48
|
"entry": "postcss",
|
|
49
|
-
"sizeKb":
|
|
50
|
-
"builtAt": "2026-
|
|
49
|
+
"sizeKb": 210.9,
|
|
50
|
+
"builtAt": "2026-11-18T11:56:44.169Z"
|
|
51
51
|
},
|
|
52
52
|
"postcss-import": {
|
|
53
53
|
"entry": "postcss-import",
|
|
54
|
-
"sizeKb":
|
|
55
|
-
"builtAt": "2026-
|
|
54
|
+
"sizeKb": 83.1,
|
|
55
|
+
"builtAt": "2026-11-18T11:56:44.197Z"
|
|
56
56
|
},
|
|
57
57
|
"postcss-modules": {
|
|
58
58
|
"entry": "postcss-modules",
|
|
59
|
-
"sizeKb": 460.
|
|
60
|
-
"builtAt": "2026-
|
|
59
|
+
"sizeKb": 460.1,
|
|
60
|
+
"builtAt": "2026-11-18T11:56:44.258Z"
|
|
61
61
|
},
|
|
62
62
|
"autoprefixer": {
|
|
63
63
|
"entry": "autoprefixer",
|
|
64
|
-
"sizeKb":
|
|
65
|
-
"builtAt": "2026-
|
|
64
|
+
"sizeKb": 756.5,
|
|
65
|
+
"builtAt": "2026-11-18T11:56:44.331Z"
|
|
66
66
|
},
|
|
67
67
|
"generic-names": {
|
|
68
68
|
"entry": "generic-names",
|
|
69
|
-
"sizeKb": 23.
|
|
70
|
-
"builtAt": "2026-
|
|
69
|
+
"sizeKb": 23.8,
|
|
70
|
+
"builtAt": "2026-11-18T11:56:44.350Z"
|
|
71
71
|
},
|
|
72
72
|
"tailwindcss-postcss": {
|
|
73
73
|
"entry": "@tailwindcss/postcss",
|
|
74
|
-
"sizeKb": 1205
|
|
75
|
-
"builtAt": "2026-
|
|
74
|
+
"sizeKb": 1205,
|
|
75
|
+
"builtAt": "2026-11-18T11:56:44.423Z"
|
|
76
76
|
},
|
|
77
77
|
"rollup-plugin-babel": {
|
|
78
78
|
"entry": "@rollup/plugin-babel",
|
|
79
|
-
"sizeKb":
|
|
80
|
-
"builtAt": "2026-
|
|
79
|
+
"sizeKb": 2731.6,
|
|
80
|
+
"builtAt": "2026-11-18T11:56:44.570Z"
|
|
81
81
|
},
|
|
82
82
|
"rollup-plugin-commonjs": {
|
|
83
83
|
"entry": "@rollup/plugin-commonjs",
|
|
84
84
|
"sizeKb": 190.8,
|
|
85
|
-
"builtAt": "2026-
|
|
85
|
+
"builtAt": "2026-11-18T11:56:44.598Z"
|
|
86
86
|
},
|
|
87
87
|
"rollup-plugin-json": {
|
|
88
88
|
"entry": "@rollup/plugin-json",
|
|
89
|
-
"sizeKb": 68.
|
|
90
|
-
"builtAt": "2026-
|
|
89
|
+
"sizeKb": 68.2,
|
|
90
|
+
"builtAt": "2026-11-18T11:56:44.627Z"
|
|
91
91
|
},
|
|
92
92
|
"rollup-plugin-node-resolve": {
|
|
93
93
|
"entry": "@rollup/plugin-node-resolve",
|
|
94
|
-
"sizeKb":
|
|
95
|
-
"builtAt": "2026-
|
|
94
|
+
"sizeKb": 145.4,
|
|
95
|
+
"builtAt": "2026-11-18T11:56:44.658Z"
|
|
96
96
|
},
|
|
97
97
|
"rollup-plugin-replace": {
|
|
98
98
|
"entry": "@rollup/plugin-replace",
|
|
99
|
-
"sizeKb": 100.
|
|
100
|
-
"builtAt": "2026-
|
|
101
|
-
},
|
|
102
|
-
"rollup-plugin-copy": {
|
|
103
|
-
"entry": "rollup-plugin-copy",
|
|
104
|
-
"sizeKb": 392.9,
|
|
105
|
-
"builtAt": "2026-10-24T12:48:52.329Z"
|
|
99
|
+
"sizeKb": 100.3,
|
|
100
|
+
"builtAt": "2026-11-18T11:56:44.682Z"
|
|
106
101
|
},
|
|
107
102
|
"rollup-plugin-delete": {
|
|
108
103
|
"entry": "rollup-plugin-delete",
|
|
109
|
-
"sizeKb":
|
|
110
|
-
"builtAt": "2026-
|
|
104
|
+
"sizeKb": 245.7,
|
|
105
|
+
"builtAt": "2026-11-18T11:56:44.734Z"
|
|
111
106
|
},
|
|
112
107
|
"rollup-plugin-postcss": {
|
|
113
108
|
"entry": "rollup-plugin-postcss",
|
|
114
|
-
"sizeKb":
|
|
115
|
-
"builtAt": "2026-
|
|
116
|
-
},
|
|
117
|
-
"rollup-plugin-tsconfig-paths": {
|
|
118
|
-
"entry": "rollup-plugin-tsconfig-paths",
|
|
119
|
-
"sizeKb": 18.4,
|
|
120
|
-
"builtAt": "2026-10-24T12:48:52.649Z"
|
|
109
|
+
"sizeKb": 3911.6,
|
|
110
|
+
"builtAt": "2026-11-18T11:56:45.161Z"
|
|
121
111
|
},
|
|
122
112
|
"babel-loader": {
|
|
123
113
|
"entry": "babel-loader",
|
|
124
|
-
"sizeKb":
|
|
125
|
-
"builtAt": "2026-
|
|
114
|
+
"sizeKb": 2687.7,
|
|
115
|
+
"builtAt": "2026-11-18T11:56:45.285Z"
|
|
126
116
|
},
|
|
127
117
|
"css-loader": {
|
|
128
118
|
"entry": "css-loader",
|
|
129
|
-
"sizeKb":
|
|
130
|
-
"builtAt": "2026-
|
|
119
|
+
"sizeKb": 556.9,
|
|
120
|
+
"builtAt": "2026-11-18T11:56:45.363Z"
|
|
131
121
|
},
|
|
132
122
|
"mini-css-extract-plugin": {
|
|
133
123
|
"entry": {
|
|
@@ -135,50 +125,36 @@
|
|
|
135
125
|
"loader": "mini-css-extract-plugin/dist/loader.js"
|
|
136
126
|
},
|
|
137
127
|
"sizeKb": 0.4,
|
|
138
|
-
"builtAt": "2026-
|
|
128
|
+
"builtAt": "2026-11-18T11:56:45.480Z"
|
|
139
129
|
},
|
|
140
130
|
"copy-webpack-plugin": {
|
|
141
131
|
"entry": "copy-webpack-plugin",
|
|
142
|
-
"sizeKb": 535.
|
|
143
|
-
"builtAt": "2026-
|
|
144
|
-
},
|
|
145
|
-
"tsconfig-paths-webpack-plugin": {
|
|
146
|
-
"entry": "tsconfig-paths-webpack-plugin",
|
|
147
|
-
"sizeKb": 140.8,
|
|
148
|
-
"builtAt": "2026-10-24T12:48:52.951Z"
|
|
132
|
+
"sizeKb": 535.4,
|
|
133
|
+
"builtAt": "2026-11-18T11:56:45.542Z"
|
|
149
134
|
},
|
|
150
135
|
"commander": {
|
|
151
136
|
"entry": "commander",
|
|
152
137
|
"sizeKb": 124,
|
|
153
|
-
"builtAt": "2026-
|
|
154
|
-
},
|
|
155
|
-
"dotenv": {
|
|
156
|
-
"entry": "dotenv",
|
|
157
|
-
"sizeKb": 13.2,
|
|
158
|
-
"builtAt": "2026-10-24T12:48:52.979Z"
|
|
159
|
-
},
|
|
160
|
-
"cross-env": {
|
|
161
|
-
"entry": "cross-env",
|
|
162
|
-
"sizeKb": 21.4,
|
|
163
|
-
"builtAt": "2026-10-24T12:48:52.996Z"
|
|
138
|
+
"builtAt": "2026-11-18T11:56:45.557Z"
|
|
164
139
|
},
|
|
165
140
|
"ws": {
|
|
166
141
|
"entry": "ws",
|
|
167
142
|
"sizeKb": 126.8,
|
|
168
|
-
"builtAt": "2026-
|
|
143
|
+
"builtAt": "2026-11-18T11:56:45.578Z"
|
|
169
144
|
},
|
|
170
145
|
"chokidar": {
|
|
171
146
|
"entry": "chokidar",
|
|
172
147
|
"sizeKb": 47.2,
|
|
173
|
-
"builtAt": "2026-
|
|
148
|
+
"builtAt": "2026-11-18T11:56:45.600Z"
|
|
174
149
|
},
|
|
175
|
-
"
|
|
176
|
-
"entry": "
|
|
177
|
-
"sizeKb":
|
|
178
|
-
"builtAt": "2026-
|
|
150
|
+
"fast-glob": {
|
|
151
|
+
"entry": "fast-glob",
|
|
152
|
+
"sizeKb": 192.6,
|
|
153
|
+
"builtAt": "2026-11-18T11:56:45.643Z"
|
|
179
154
|
},
|
|
180
|
-
"
|
|
181
|
-
"
|
|
182
|
-
"
|
|
155
|
+
"resolve": {
|
|
156
|
+
"entry": "resolve",
|
|
157
|
+
"sizeKb": 43.6,
|
|
158
|
+
"builtAt": "2026-11-18T11:56:45.659Z"
|
|
183
159
|
}
|
|
184
160
|
}
|