@modern-js/plugin-garfish 2.60.5 → 2.61.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/index.js +1 -1
- package/dist/esm/cli/index.js +1 -1
- package/dist/esm-node/cli/index.js +1 -1
- package/package.json +12 -12
package/dist/cjs/cli/index.js
CHANGED
|
@@ -185,7 +185,7 @@ const garfishPlugin = () => ({
|
|
|
185
185
|
const { internalDirectory, metaName } = api.useAppContext();
|
|
186
186
|
const pluginsExportsUtils = (0, import_utils.createRuntimeExportsUtils)(internalDirectory, "plugins");
|
|
187
187
|
if (masterApp) {
|
|
188
|
-
const addExportStatement = `export { default as garfish, default as masterApp } from '
|
|
188
|
+
const addExportStatement = `export { default as garfish, default as masterApp } from '@${metaName}/plugin-garfish/runtime'`;
|
|
189
189
|
(0, import_util.logger)("exportStatement", addExportStatement);
|
|
190
190
|
pluginsExportsUtils.addExport(addExportStatement);
|
|
191
191
|
}
|
package/dist/esm/cli/index.js
CHANGED
|
@@ -171,7 +171,7 @@ var garfishPlugin = function() {
|
|
|
171
171
|
var _api_useAppContext = api.useAppContext(), internalDirectory = _api_useAppContext.internalDirectory, metaName = _api_useAppContext.metaName;
|
|
172
172
|
var pluginsExportsUtils = createRuntimeExportsUtils(internalDirectory, "plugins");
|
|
173
173
|
if (masterApp) {
|
|
174
|
-
var addExportStatement = "export { default as garfish, default as masterApp } from '".concat(metaName, "/plugin-garfish/runtime'");
|
|
174
|
+
var addExportStatement = "export { default as garfish, default as masterApp } from '@".concat(metaName, "/plugin-garfish/runtime'");
|
|
175
175
|
logger("exportStatement", addExportStatement);
|
|
176
176
|
pluginsExportsUtils.addExport(addExportStatement);
|
|
177
177
|
}
|
|
@@ -159,7 +159,7 @@ const garfishPlugin = () => ({
|
|
|
159
159
|
const { internalDirectory, metaName } = api.useAppContext();
|
|
160
160
|
const pluginsExportsUtils = createRuntimeExportsUtils(internalDirectory, "plugins");
|
|
161
161
|
if (masterApp) {
|
|
162
|
-
const addExportStatement = `export { default as garfish, default as masterApp } from '
|
|
162
|
+
const addExportStatement = `export { default as garfish, default as masterApp } from '@${metaName}/plugin-garfish/runtime'`;
|
|
163
163
|
logger("exportStatement", addExportStatement);
|
|
164
164
|
pluginsExportsUtils.addExport(addExportStatement);
|
|
165
165
|
}
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "2.
|
|
18
|
+
"version": "2.61.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": "2.
|
|
73
|
-
"@modern-js/
|
|
74
|
-
"@modern-js/utils": "2.
|
|
72
|
+
"@modern-js/plugin": "2.61.0",
|
|
73
|
+
"@modern-js/utils": "2.61.0",
|
|
74
|
+
"@modern-js/runtime-utils": "2.61.0"
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {
|
|
77
|
-
"@modern-js/runtime": "^2.
|
|
77
|
+
"@modern-js/runtime": "^2.61.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/
|
|
99
|
-
"@
|
|
100
|
-
"@modern-js/types": "2.
|
|
101
|
-
"@
|
|
102
|
-
"@scripts/jest-config": "2.
|
|
96
|
+
"@modern-js/app-tools": "2.61.0",
|
|
97
|
+
"@modern-js/core": "2.61.0",
|
|
98
|
+
"@modern-js/plugin-router-v5": "2.61.0",
|
|
99
|
+
"@modern-js/runtime": "2.61.0",
|
|
100
|
+
"@modern-js/types": "2.61.0",
|
|
101
|
+
"@scripts/build": "2.61.0",
|
|
102
|
+
"@scripts/jest-config": "2.61.0"
|
|
103
103
|
},
|
|
104
104
|
"sideEffects": false,
|
|
105
105
|
"publishConfig": {
|