@modern-js/runtime 2.67.2-alpha.0 → 2.67.2
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.
|
@@ -36,7 +36,6 @@ module.exports = __toCommonJS(cli_exports);
|
|
|
36
36
|
var import_path = __toESM(require("path"));
|
|
37
37
|
var import_utils = require("@modern-js/utils");
|
|
38
38
|
var import_esbuild = require("esbuild");
|
|
39
|
-
var import_esbuild_plugin_alias = __toESM(require("esbuild-plugin-alias"));
|
|
40
39
|
var import_react = __toESM(require("react"));
|
|
41
40
|
var import_server = __toESM(require("react-dom/server"));
|
|
42
41
|
var import_DocumentContext = require("../DocumentContext");
|
|
@@ -119,9 +118,6 @@ const documentPlugin = () => ({
|
|
|
119
118
|
},
|
|
120
119
|
bundle: true,
|
|
121
120
|
plugins: [
|
|
122
|
-
(0, import_esbuild_plugin_alias.default)({
|
|
123
|
-
...tsConfig.compilerOptions.paths
|
|
124
|
-
}),
|
|
125
121
|
{
|
|
126
122
|
name: "make-all-packages-external",
|
|
127
123
|
setup(build2) {
|
|
@@ -5,7 +5,6 @@ import { _ as _ts_generator } from "@swc/helpers/_/_ts_generator";
|
|
|
5
5
|
import path from "path";
|
|
6
6
|
import { fs, createDebugger, findExists } from "@modern-js/utils";
|
|
7
7
|
import { build } from "esbuild";
|
|
8
|
-
import alias from "esbuild-plugin-alias";
|
|
9
8
|
import React from "react";
|
|
10
9
|
import ReactDomServer from "react-dom/server";
|
|
11
10
|
import { DocumentContext } from "../DocumentContext";
|
|
@@ -123,7 +122,6 @@ var documentPlugin = function() {
|
|
|
123
122
|
},
|
|
124
123
|
bundle: true,
|
|
125
124
|
plugins: [
|
|
126
|
-
alias(_object_spread({}, tsConfig.compilerOptions.paths)),
|
|
127
125
|
{
|
|
128
126
|
name: "make-all-packages-external",
|
|
129
127
|
setup: function setup(build2) {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import path from "path";
|
|
2
2
|
import { fs, createDebugger, findExists } from "@modern-js/utils";
|
|
3
3
|
import { build } from "esbuild";
|
|
4
|
-
import alias from "esbuild-plugin-alias";
|
|
5
4
|
import React from "react";
|
|
6
5
|
import ReactDomServer from "react-dom/server";
|
|
7
6
|
import { DocumentContext } from "../DocumentContext";
|
|
@@ -84,9 +83,6 @@ const documentPlugin = () => ({
|
|
|
84
83
|
},
|
|
85
84
|
bundle: true,
|
|
86
85
|
plugins: [
|
|
87
|
-
alias({
|
|
88
|
-
...tsConfig.compilerOptions.paths
|
|
89
|
-
}),
|
|
90
86
|
{
|
|
91
87
|
name: "make-all-packages-external",
|
|
92
88
|
setup(build2) {
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "2.67.2
|
|
18
|
+
"version": "2.67.2",
|
|
19
19
|
"engines": {
|
|
20
20
|
"node": ">=14.17.6"
|
|
21
21
|
},
|
|
@@ -205,20 +205,19 @@
|
|
|
205
205
|
"cookie": "0.7.2",
|
|
206
206
|
"es-module-lexer": "^1.1.0",
|
|
207
207
|
"esbuild": "0.17.19",
|
|
208
|
-
"esbuild-plugin-alias": "0.2.1",
|
|
209
208
|
"invariant": "^2.2.4",
|
|
210
209
|
"isbot": "3.7.1",
|
|
211
210
|
"react-helmet": "^6.1.0",
|
|
212
211
|
"react-is": "^18",
|
|
213
212
|
"react-side-effect": "^2.1.1",
|
|
214
213
|
"styled-components": "^5.3.1",
|
|
215
|
-
"@modern-js/plugin
|
|
216
|
-
"@modern-js/plugin": "2.67.
|
|
217
|
-
"@modern-js/plugin-v2": "2.67.
|
|
218
|
-
"@modern-js/
|
|
219
|
-
"@modern-js/
|
|
220
|
-
"@modern-js/
|
|
221
|
-
"@modern-js/
|
|
214
|
+
"@modern-js/plugin": "2.67.2",
|
|
215
|
+
"@modern-js/plugin-data-loader": "2.67.2",
|
|
216
|
+
"@modern-js/plugin-v2": "2.67.2",
|
|
217
|
+
"@modern-js/render": "2.67.2",
|
|
218
|
+
"@modern-js/runtime-utils": "2.67.2",
|
|
219
|
+
"@modern-js/types": "2.67.2",
|
|
220
|
+
"@modern-js/utils": "2.67.2"
|
|
222
221
|
},
|
|
223
222
|
"peerDependencies": {
|
|
224
223
|
"react": ">=17",
|
|
@@ -226,7 +225,7 @@
|
|
|
226
225
|
},
|
|
227
226
|
"devDependencies": {
|
|
228
227
|
"@remix-run/web-fetch": "^4.1.3",
|
|
229
|
-
"@rsbuild/core": "1.3.
|
|
228
|
+
"@rsbuild/core": "1.3.7",
|
|
230
229
|
"@testing-library/react": "^13.4.0",
|
|
231
230
|
"@types/cookie": "0.6.0",
|
|
232
231
|
"@types/invariant": "^2.2.30",
|
|
@@ -242,9 +241,9 @@
|
|
|
242
241
|
"ts-node": "^10.9.1",
|
|
243
242
|
"typescript": "^5",
|
|
244
243
|
"webpack": "^5.98.0",
|
|
245
|
-
"@modern-js/app-tools": "2.67.
|
|
246
|
-
"@scripts/
|
|
247
|
-
"@scripts/
|
|
244
|
+
"@modern-js/app-tools": "2.67.2",
|
|
245
|
+
"@scripts/build": "2.66.0",
|
|
246
|
+
"@scripts/jest-config": "2.66.0"
|
|
248
247
|
},
|
|
249
248
|
"sideEffects": false,
|
|
250
249
|
"publishConfig": {
|