@modern-js/plugin-garfish 2.60.6 → 2.62.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.
@@ -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 '${metaName}/plugin-garfish/runtime'`;
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
  }
@@ -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 '${metaName}/plugin-garfish/runtime'`;
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.60.6",
18
+ "version": "2.62.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.60.6",
73
- "@modern-js/runtime-utils": "2.60.6",
74
- "@modern-js/utils": "2.60.6"
72
+ "@modern-js/plugin": "2.62.0",
73
+ "@modern-js/runtime-utils": "2.62.0",
74
+ "@modern-js/utils": "2.62.0"
75
75
  },
76
76
  "peerDependencies": {
77
- "@modern-js/runtime": "^2.60.6",
77
+ "@modern-js/runtime": "^2.62.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/core": "2.60.6",
97
- "@modern-js/app-tools": "2.60.6",
98
- "@modern-js/plugin-router-v5": "2.60.6",
99
- "@modern-js/runtime": "2.60.6",
100
- "@modern-js/types": "2.60.6",
101
- "@scripts/build": "2.60.6",
102
- "@scripts/jest-config": "2.60.6"
96
+ "@modern-js/app-tools": "2.62.0",
97
+ "@modern-js/core": "2.62.0",
98
+ "@modern-js/plugin-router-v5": "2.62.0",
99
+ "@modern-js/runtime": "2.62.0",
100
+ "@modern-js/types": "2.62.0",
101
+ "@scripts/build": "2.62.0",
102
+ "@scripts/jest-config": "2.62.0"
103
103
  },
104
104
  "sideEffects": false,
105
105
  "publishConfig": {