@modern-js/utils 2.58.4-alpha.0 → 2.58.4-alpha.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/cli/index.js +0 -2
- package/dist/cjs/universal/route.js +1 -0
- package/dist/cjs/{cli/route.js → universal/route.server.js} +3 -3
- package/dist/esm/cli/index.js +0 -1
- package/dist/esm/universal/route.js +0 -0
- package/dist/esm-node/cli/index.js +0 -1
- package/dist/esm-node/universal/route.js +0 -0
- package/dist/types/cli/index.d.ts +0 -1
- package/dist/types/universal/route.d.ts +0 -0
- package/package.json +11 -3
- /package/dist/esm/{cli/route.js → universal/route.server.js} +0 -0
- /package/dist/esm-node/{cli/route.js → universal/route.server.js} +0 -0
- /package/dist/types/{cli/route.d.ts → universal/route.server.d.ts} +0 -0
package/dist/cjs/cli/index.js
CHANGED
@@ -36,7 +36,6 @@ __reExport(cli_exports, require("./runtimeExports"), module.exports);
|
|
36
36
|
__reExport(cli_exports, require("./watch"), module.exports);
|
37
37
|
__reExport(cli_exports, require("./config"), module.exports);
|
38
38
|
__reExport(cli_exports, require("./action"), module.exports);
|
39
|
-
__reExport(cli_exports, require("./route"), module.exports);
|
40
39
|
__reExport(cli_exports, require("./version"), module.exports);
|
41
40
|
// Annotate the CommonJS export names for ESM import in node:
|
42
41
|
0 && (module.exports = {
|
@@ -61,6 +60,5 @@ __reExport(cli_exports, require("./version"), module.exports);
|
|
61
60
|
...require("./watch"),
|
62
61
|
...require("./config"),
|
63
62
|
...require("./action"),
|
64
|
-
...require("./route"),
|
65
63
|
...require("./version")
|
66
64
|
});
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";
|
@@ -16,13 +16,13 @@ var __copyProps = (to, from, except, desc) => {
|
|
16
16
|
return to;
|
17
17
|
};
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
19
|
-
var
|
20
|
-
__export(
|
19
|
+
var route_server_exports = {};
|
20
|
+
__export(route_server_exports, {
|
21
21
|
filterRoutesForServer: () => filterRoutesForServer,
|
22
22
|
filterRoutesLoader: () => filterRoutesLoader,
|
23
23
|
markRoutes: () => markRoutes
|
24
24
|
});
|
25
|
-
module.exports = __toCommonJS(
|
25
|
+
module.exports = __toCommonJS(route_server_exports);
|
26
26
|
var import_compiled = require("../compiled");
|
27
27
|
const { cloneDeep } = import_compiled.lodash;
|
28
28
|
function filterRoutesForServer(routes) {
|
package/dist/esm/cli/index.js
CHANGED
File without changes
|
File without changes
|
File without changes
|
package/package.json
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
"modern",
|
16
16
|
"modern.js"
|
17
17
|
],
|
18
|
-
"version": "2.58.4-alpha.
|
18
|
+
"version": "2.58.4-alpha.2",
|
19
19
|
"jsnext:source": "./src/index.ts",
|
20
20
|
"types": "./dist/types/index.d.ts",
|
21
21
|
"main": "./dist/cjs/index.js",
|
@@ -54,6 +54,11 @@
|
|
54
54
|
"import": "./dist/esm/universal/pluginDagSort.js",
|
55
55
|
"default": "./dist/cjs/universal/pluginDagSort.js"
|
56
56
|
},
|
57
|
+
"./universal/route": {
|
58
|
+
"types": "./dist/types/universal/route.server.d.ts",
|
59
|
+
"import": "./dist/esm/universal/route.js",
|
60
|
+
"default": "./dist/cjs/universal/route.server.js"
|
61
|
+
},
|
57
62
|
"./commander": "./dist/compiled/commander/index.js",
|
58
63
|
"./ora": "./dist/compiled/ora/index.js",
|
59
64
|
"./glob": "./dist/compiled/glob/index.js",
|
@@ -97,6 +102,9 @@
|
|
97
102
|
"universal/plugin-dag-sort": [
|
98
103
|
"./dist/types/universal/pluginDagSort.d.ts"
|
99
104
|
],
|
105
|
+
"universal/route": [
|
106
|
+
"./dist/types/universal/route.server.d.ts"
|
107
|
+
],
|
100
108
|
"execa": [
|
101
109
|
"./dist/compiled/execa/index.d.ts"
|
102
110
|
],
|
@@ -162,9 +170,9 @@
|
|
162
170
|
"jest": "^29",
|
163
171
|
"typescript": "^5",
|
164
172
|
"webpack": "^5.93.0",
|
165
|
-
"@
|
173
|
+
"@modern-js/types": "2.58.3",
|
166
174
|
"@scripts/jest-config": "2.58.3",
|
167
|
-
"@
|
175
|
+
"@scripts/build": "2.58.3"
|
168
176
|
},
|
169
177
|
"sideEffects": false,
|
170
178
|
"scripts": {
|
File without changes
|
File without changes
|
File without changes
|