@modern-js/runtime 2.60.1-alpha.2 → 2.60.1-alpha.3
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/index.js
CHANGED
|
@@ -125,9 +125,9 @@ const runtimePlugin = (params) => ({
|
|
|
125
125
|
* Compatible with the reference path of the old version of the plugin.
|
|
126
126
|
*/
|
|
127
127
|
[`@${metaName}/runtime/plugins`]: pluginsExportsUtils.getPath(),
|
|
128
|
-
"@meta/runtime/browser": require.resolve("
|
|
129
|
-
"@meta/runtime/react": require.resolve("
|
|
130
|
-
"@meta/runtime/context": require.resolve("
|
|
128
|
+
"@meta/runtime/browser": require.resolve("../core/browser"),
|
|
129
|
+
"@meta/runtime/react": require.resolve("../core/react"),
|
|
130
|
+
"@meta/runtime/context": require.resolve("../core/context"),
|
|
131
131
|
"@meta/runtime": require.resolve("@modern-js/runtime")
|
|
132
132
|
},
|
|
133
133
|
globalVars: {
|
package/dist/esm/cli/index.js
CHANGED
|
@@ -109,7 +109,7 @@ var runtimePlugin = function(params) {
|
|
|
109
109
|
}, /**
|
|
110
110
|
* Compatible with the reference path of the old version of the plugin.
|
|
111
111
|
*/
|
|
112
|
-
_define_property(_obj, "@".concat(metaName, "/runtime/plugins"), pluginsExportsUtils.getPath()), _define_property(_obj, "@meta/runtime/browser", require.resolve("
|
|
112
|
+
_define_property(_obj, "@".concat(metaName, "/runtime/plugins"), pluginsExportsUtils.getPath()), _define_property(_obj, "@meta/runtime/browser", require.resolve("../core/browser")), _define_property(_obj, "@meta/runtime/react", require.resolve("../core/react")), _define_property(_obj, "@meta/runtime/context", require.resolve("../core/context")), _define_property(_obj, "@meta/runtime", require.resolve("@modern-js/runtime")), _obj),
|
|
113
113
|
globalVars: {
|
|
114
114
|
"process.env.IS_REACT18": process.env.IS_REACT18
|
|
115
115
|
}
|
|
@@ -86,9 +86,9 @@ const runtimePlugin = (params) => ({
|
|
|
86
86
|
* Compatible with the reference path of the old version of the plugin.
|
|
87
87
|
*/
|
|
88
88
|
[`@${metaName}/runtime/plugins`]: pluginsExportsUtils.getPath(),
|
|
89
|
-
"@meta/runtime/browser": require.resolve("
|
|
90
|
-
"@meta/runtime/react": require.resolve("
|
|
91
|
-
"@meta/runtime/context": require.resolve("
|
|
89
|
+
"@meta/runtime/browser": require.resolve("../core/browser"),
|
|
90
|
+
"@meta/runtime/react": require.resolve("../core/react"),
|
|
91
|
+
"@meta/runtime/context": require.resolve("../core/context"),
|
|
92
92
|
"@meta/runtime": require.resolve("@modern-js/runtime")
|
|
93
93
|
},
|
|
94
94
|
globalVars: {
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "2.60.1-alpha.
|
|
18
|
+
"version": "2.60.1-alpha.3",
|
|
19
19
|
"engines": {
|
|
20
20
|
"node": ">=14.17.6"
|
|
21
21
|
},
|
|
@@ -199,11 +199,11 @@
|
|
|
199
199
|
"react-is": "^18",
|
|
200
200
|
"react-side-effect": "^2.1.1",
|
|
201
201
|
"styled-components": "^5.3.1",
|
|
202
|
+
"@modern-js/plugin-data-loader": "2.60.0",
|
|
202
203
|
"@modern-js/plugin": "2.60.0",
|
|
203
|
-
"@modern-js/
|
|
204
|
+
"@modern-js/utils": "2.60.0",
|
|
204
205
|
"@modern-js/types": "2.60.0",
|
|
205
|
-
"@modern-js/
|
|
206
|
-
"@modern-js/utils": "2.60.0"
|
|
206
|
+
"@modern-js/runtime-utils": "2.60.0"
|
|
207
207
|
},
|
|
208
208
|
"peerDependencies": {
|
|
209
209
|
"react": ">=17",
|
|
@@ -226,10 +226,10 @@
|
|
|
226
226
|
"ts-jest": "^29.1.0",
|
|
227
227
|
"typescript": "^5",
|
|
228
228
|
"webpack": "^5.94.0",
|
|
229
|
+
"@scripts/build": "2.60.0",
|
|
229
230
|
"@modern-js/app-tools": "2.60.0",
|
|
230
231
|
"@scripts/jest-config": "2.60.0",
|
|
231
|
-
"@modern-js/core": "2.60.0"
|
|
232
|
-
"@scripts/build": "2.60.0"
|
|
232
|
+
"@modern-js/core": "2.60.0"
|
|
233
233
|
},
|
|
234
234
|
"sideEffects": false,
|
|
235
235
|
"publishConfig": {
|