@modern-js/plugin-garfish 2.56.1 → 2.56.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.
package/dist/cjs/cli/index.js
CHANGED
|
@@ -124,7 +124,8 @@ const garfishPlugin = () => ({
|
|
|
124
124
|
alias: {
|
|
125
125
|
[`@${metaName}/runtime/garfish`]: `@${metaName}/plugin-garfish/runtime`,
|
|
126
126
|
"@meta/runtime/browser": "@modern-js/runtime/browser",
|
|
127
|
-
"@meta/runtime/react": "@modern-js/runtime/react"
|
|
127
|
+
"@meta/runtime/react": "@modern-js/runtime/react",
|
|
128
|
+
"@meta/runtime": "@modern-js/runtime"
|
|
128
129
|
}
|
|
129
130
|
},
|
|
130
131
|
tools: {
|
|
@@ -34,7 +34,7 @@ __export(apps_exports, {
|
|
|
34
34
|
module.exports = __toCommonJS(apps_exports);
|
|
35
35
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
36
36
|
var import_react = require("react");
|
|
37
|
-
var import_runtime = require("@
|
|
37
|
+
var import_runtime = require("@meta/runtime");
|
|
38
38
|
var import_garfish = __toESM(require("garfish"));
|
|
39
39
|
var import_util = require("../../util");
|
|
40
40
|
var import_loadable = require("../loadable");
|
package/dist/esm/cli/index.js
CHANGED
|
@@ -108,7 +108,7 @@ var garfishPlugin = function() {
|
|
|
108
108
|
disableCssExtract
|
|
109
109
|
},
|
|
110
110
|
source: {
|
|
111
|
-
alias: (_obj = {}, _define_property(_obj, "@".concat(metaName, "/runtime/garfish"), "@".concat(metaName, "/plugin-garfish/runtime")), _define_property(_obj, "@meta/runtime/browser", "@modern-js/runtime/browser"), _define_property(_obj, "@meta/runtime/react", "@modern-js/runtime/react"), _obj)
|
|
111
|
+
alias: (_obj = {}, _define_property(_obj, "@".concat(metaName, "/runtime/garfish"), "@".concat(metaName, "/plugin-garfish/runtime")), _define_property(_obj, "@meta/runtime/browser", "@modern-js/runtime/browser"), _define_property(_obj, "@meta/runtime/react", "@modern-js/runtime/react"), _define_property(_obj, "@meta/runtime", "@modern-js/runtime"), _obj)
|
|
112
112
|
},
|
|
113
113
|
tools: {
|
|
114
114
|
devServer: {
|
|
@@ -7,7 +7,7 @@ import { _ as _to_consumable_array } from "@swc/helpers/_/_to_consumable_array";
|
|
|
7
7
|
import { _ as _ts_generator } from "@swc/helpers/_/_ts_generator";
|
|
8
8
|
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
9
9
|
import { useContext, useState, useEffect, useRef } from "react";
|
|
10
|
-
import { RuntimeReactContext } from "@
|
|
10
|
+
import { RuntimeReactContext } from "@meta/runtime";
|
|
11
11
|
import Garfish from "garfish";
|
|
12
12
|
import { logger, generateSubAppContainerKey } from "../../util";
|
|
13
13
|
import { Loadable } from "../loadable";
|
|
@@ -98,7 +98,8 @@ const garfishPlugin = () => ({
|
|
|
98
98
|
alias: {
|
|
99
99
|
[`@${metaName}/runtime/garfish`]: `@${metaName}/plugin-garfish/runtime`,
|
|
100
100
|
"@meta/runtime/browser": "@modern-js/runtime/browser",
|
|
101
|
-
"@meta/runtime/react": "@modern-js/runtime/react"
|
|
101
|
+
"@meta/runtime/react": "@modern-js/runtime/react",
|
|
102
|
+
"@meta/runtime": "@modern-js/runtime"
|
|
102
103
|
}
|
|
103
104
|
},
|
|
104
105
|
tools: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { useContext, useState, useEffect, useRef } from "react";
|
|
3
|
-
import { RuntimeReactContext } from "@
|
|
3
|
+
import { RuntimeReactContext } from "@meta/runtime";
|
|
4
4
|
import Garfish from "garfish";
|
|
5
5
|
import { logger, generateSubAppContainerKey } from "../../util";
|
|
6
6
|
import { Loadable } from "../loadable";
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "2.56.
|
|
18
|
+
"version": "2.56.2",
|
|
19
19
|
"jsnext:source": "./src/cli/index.ts",
|
|
20
20
|
"types": "./dist/types/cli/index.d.ts",
|
|
21
21
|
"typesVersions": {
|
|
@@ -61,11 +61,11 @@
|
|
|
61
61
|
"garfish": "^1.8.1",
|
|
62
62
|
"react-loadable": "^5.5.0",
|
|
63
63
|
"@swc/helpers": "0.5.3",
|
|
64
|
-
"@modern-js/utils": "2.56.
|
|
65
|
-
"@modern-js/plugin": "2.56.
|
|
64
|
+
"@modern-js/utils": "2.56.2",
|
|
65
|
+
"@modern-js/plugin": "2.56.2"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
|
-
"@modern-js/runtime": "^2.56.
|
|
68
|
+
"@modern-js/runtime": "^2.56.2",
|
|
69
69
|
"react": ">=17",
|
|
70
70
|
"react-dom": ">=17"
|
|
71
71
|
},
|
|
@@ -84,13 +84,13 @@
|
|
|
84
84
|
"react-dom": "^18",
|
|
85
85
|
"react-router-dom": "6.22.0",
|
|
86
86
|
"typescript": "^5",
|
|
87
|
-
"@modern-js/
|
|
88
|
-
"@modern-js/
|
|
89
|
-
"@modern-js/
|
|
90
|
-
"@modern-js/
|
|
91
|
-
"@
|
|
92
|
-
"@
|
|
93
|
-
"@scripts/jest-config": "2.56.
|
|
87
|
+
"@modern-js/app-tools": "2.56.2",
|
|
88
|
+
"@modern-js/plugin-router-v5": "2.56.2",
|
|
89
|
+
"@modern-js/core": "2.56.2",
|
|
90
|
+
"@modern-js/runtime": "2.56.2",
|
|
91
|
+
"@modern-js/types": "2.56.2",
|
|
92
|
+
"@scripts/build": "2.56.2",
|
|
93
|
+
"@scripts/jest-config": "2.56.2"
|
|
94
94
|
},
|
|
95
95
|
"sideEffects": false,
|
|
96
96
|
"publishConfig": {
|