@modern-js/plugin-garfish 2.63.6 → 2.64.0
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/dist/cjs/cli/code.js
CHANGED
|
@@ -45,7 +45,8 @@ const generateCode = async (entrypoints, appContext, config, hooks) => {
|
|
|
45
45
|
await Promise.all(entrypoints.map(async (entrypoint) => {
|
|
46
46
|
const { entryName, isAutoMount, entry, customEntry, customBootstrap } = entrypoint;
|
|
47
47
|
const appendCode = await hooks.appendEntryCode.call({
|
|
48
|
-
entrypoint
|
|
48
|
+
entrypoint,
|
|
49
|
+
code: ""
|
|
49
50
|
});
|
|
50
51
|
if (isAutoMount) {
|
|
51
52
|
const indexCode = template.index({
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var hooks_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(hooks_exports);
|
package/dist/esm/cli/code.js
CHANGED
|
File without changes
|
|
@@ -11,7 +11,8 @@ const generateCode = async (entrypoints, appContext, config, hooks) => {
|
|
|
11
11
|
await Promise.all(entrypoints.map(async (entrypoint) => {
|
|
12
12
|
const { entryName, isAutoMount, entry, customEntry, customBootstrap } = entrypoint;
|
|
13
13
|
const appendCode = await hooks.appendEntryCode.call({
|
|
14
|
-
entrypoint
|
|
14
|
+
entrypoint,
|
|
15
|
+
code: ""
|
|
15
16
|
});
|
|
16
17
|
if (isAutoMount) {
|
|
17
18
|
const indexCode = template.index({
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "2.
|
|
18
|
+
"version": "2.64.0",
|
|
19
19
|
"jsnext:source": "./src/cli/index.ts",
|
|
20
20
|
"types": "./dist/types/cli/index.d.ts",
|
|
21
21
|
"typesVersions": {
|
|
@@ -69,12 +69,12 @@
|
|
|
69
69
|
"debug": "4.3.7",
|
|
70
70
|
"garfish": "^1.8.1",
|
|
71
71
|
"react-loadable": "^5.5.0",
|
|
72
|
-
"@modern-js/plugin-v2": "2.
|
|
73
|
-
"@modern-js/runtime-utils": "2.
|
|
74
|
-
"@modern-js/utils": "2.
|
|
72
|
+
"@modern-js/plugin-v2": "2.64.0",
|
|
73
|
+
"@modern-js/runtime-utils": "2.64.0",
|
|
74
|
+
"@modern-js/utils": "2.64.0"
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {
|
|
77
|
-
"@modern-js/runtime": "^2.
|
|
77
|
+
"@modern-js/runtime": "^2.64.0",
|
|
78
78
|
"react": ">=17",
|
|
79
79
|
"react-dom": ">=17"
|
|
80
80
|
},
|
|
@@ -93,13 +93,13 @@
|
|
|
93
93
|
"react-dom": "^18.3.1",
|
|
94
94
|
"react-router-dom": "6.27.0",
|
|
95
95
|
"typescript": "^5",
|
|
96
|
-
"@modern-js/app-tools": "2.
|
|
97
|
-
"@modern-js/core": "2.
|
|
98
|
-
"@modern-js/plugin-router-v5": "2.
|
|
99
|
-
"@modern-js/runtime": "2.
|
|
100
|
-
"@
|
|
101
|
-
"@scripts/build": "2.
|
|
102
|
-
"@
|
|
96
|
+
"@modern-js/app-tools": "2.64.0",
|
|
97
|
+
"@modern-js/core": "2.64.0",
|
|
98
|
+
"@modern-js/plugin-router-v5": "2.64.0",
|
|
99
|
+
"@modern-js/runtime": "2.64.0",
|
|
100
|
+
"@modern-js/types": "2.64.0",
|
|
101
|
+
"@scripts/build": "2.64.0",
|
|
102
|
+
"@scripts/jest-config": "2.64.0"
|
|
103
103
|
},
|
|
104
104
|
"sideEffects": false,
|
|
105
105
|
"publishConfig": {
|