@modern-js/runtime 2.54.3 → 2.54.4
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.
|
@@ -210,7 +210,7 @@ const walk = async (dirname, rootDir, alias, entryName, isMainEntry, oldVersion)
|
|
|
210
210
|
if (pageAction) {
|
|
211
211
|
pageRoute.action = pageAction;
|
|
212
212
|
}
|
|
213
|
-
(_route_children1 = route.children) === null || _route_children1 === void 0 ? void 0 : _route_children1.
|
|
213
|
+
(_route_children1 = route.children) === null || _route_children1 === void 0 ? void 0 : _route_children1.unshift(pageRoute);
|
|
214
214
|
}
|
|
215
215
|
if (itemWithoutExt === import_constants.NESTED_ROUTE.SPLATE_LOADER_FILE) {
|
|
216
216
|
splatLoaderFile = itemPathWithAlias;
|
|
@@ -255,7 +255,7 @@ var walk = function() {
|
|
|
255
255
|
if (pageAction) {
|
|
256
256
|
pageRoute.action = pageAction;
|
|
257
257
|
}
|
|
258
|
-
(_route_children1 = route.children) === null || _route_children1 === void 0 ? void 0 : _route_children1.
|
|
258
|
+
(_route_children1 = route.children) === null || _route_children1 === void 0 ? void 0 : _route_children1.unshift(pageRoute);
|
|
259
259
|
}
|
|
260
260
|
if (itemWithoutExt === NESTED_ROUTE.SPLATE_LOADER_FILE) {
|
|
261
261
|
splatLoaderFile = itemPathWithAlias;
|
|
@@ -175,7 +175,7 @@ const walk = async (dirname, rootDir, alias, entryName, isMainEntry, oldVersion)
|
|
|
175
175
|
if (pageAction) {
|
|
176
176
|
pageRoute.action = pageAction;
|
|
177
177
|
}
|
|
178
|
-
(_route_children1 = route.children) === null || _route_children1 === void 0 ? void 0 : _route_children1.
|
|
178
|
+
(_route_children1 = route.children) === null || _route_children1 === void 0 ? void 0 : _route_children1.unshift(pageRoute);
|
|
179
179
|
}
|
|
180
180
|
if (itemWithoutExt === NESTED_ROUTE.SPLATE_LOADER_FILE) {
|
|
181
181
|
splatLoaderFile = itemPathWithAlias;
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "2.54.
|
|
18
|
+
"version": "2.54.4",
|
|
19
19
|
"engines": {
|
|
20
20
|
"node": ">=14.17.6"
|
|
21
21
|
},
|
|
@@ -195,11 +195,11 @@
|
|
|
195
195
|
"react-side-effect": "^2.1.1",
|
|
196
196
|
"styled-components": "^5.3.1",
|
|
197
197
|
"@swc/helpers": "0.5.3",
|
|
198
|
-
"@modern-js/plugin": "2.54.
|
|
199
|
-
"@modern-js/utils": "2.54.
|
|
200
|
-
"@modern-js/plugin-data-loader": "2.54.
|
|
201
|
-
"@modern-js/
|
|
202
|
-
"@modern-js/
|
|
198
|
+
"@modern-js/plugin": "2.54.4",
|
|
199
|
+
"@modern-js/utils": "2.54.4",
|
|
200
|
+
"@modern-js/plugin-data-loader": "2.54.4",
|
|
201
|
+
"@modern-js/runtime-utils": "2.54.4",
|
|
202
|
+
"@modern-js/types": "2.54.4"
|
|
203
203
|
},
|
|
204
204
|
"peerDependencies": {
|
|
205
205
|
"react": ">=17",
|
|
@@ -220,11 +220,11 @@
|
|
|
220
220
|
"ts-jest": "^29.1.0",
|
|
221
221
|
"typescript": "^5",
|
|
222
222
|
"webpack": "^5.92.0",
|
|
223
|
-
"@modern-js/app-tools": "2.54.
|
|
224
|
-
"@modern-js/
|
|
225
|
-
"@
|
|
226
|
-
"@scripts/
|
|
227
|
-
"@
|
|
223
|
+
"@modern-js/app-tools": "2.54.4",
|
|
224
|
+
"@modern-js/core": "2.54.4",
|
|
225
|
+
"@scripts/build": "2.54.4",
|
|
226
|
+
"@scripts/jest-config": "2.54.4",
|
|
227
|
+
"@modern-js/server-core": "2.54.4"
|
|
228
228
|
},
|
|
229
229
|
"sideEffects": false,
|
|
230
230
|
"publishConfig": {
|