@modern-js/plugin-garfish 2.2.0 → 2.2.1-canary.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.
@@ -181,7 +181,7 @@ var cli_default = ({
181
181
  logger("exportStatement", addExportStatement);
182
182
  pluginsExportsUtils.addExport(addExportStatement);
183
183
  }
184
- const otherExportStatement = `export { hoistNonReactStatics } from '@modern-js/plugin-garfish/deps'`;
184
+ const otherExportStatement = `export { hoistNonReactStatics } from '${pluginName}/deps'`;
185
185
  logger("otherExportStatement", otherExportStatement);
186
186
  pluginsExportsUtils.addExport(otherExportStatement);
187
187
  },
@@ -197,7 +197,7 @@ var cli_default = ({
197
197
  (0, import_util.logger)("exportStatement", addExportStatement);
198
198
  pluginsExportsUtils.addExport(addExportStatement);
199
199
  }
200
- const otherExportStatement = `export { hoistNonReactStatics } from '@modern-js/plugin-garfish/deps'`;
200
+ const otherExportStatement = `export { hoistNonReactStatics } from '${pluginName}/deps'`;
201
201
  (0, import_util.logger)("otherExportStatement", otherExportStatement);
202
202
  pluginsExportsUtils.addExport(otherExportStatement);
203
203
  },
@@ -292,7 +292,7 @@ var cli_default = function() {
292
292
  logger("exportStatement", addExportStatement);
293
293
  pluginsExportsUtils.addExport(addExportStatement);
294
294
  }
295
- var otherExportStatement = "export { hoistNonReactStatics } from '@modern-js/plugin-garfish/deps'";
295
+ var otherExportStatement = "export { hoistNonReactStatics } from '".concat(pluginName, "/deps'");
296
296
  logger("otherExportStatement", otherExportStatement);
297
297
  pluginsExportsUtils.addExport(otherExportStatement);
298
298
  },
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "2.2.0",
14
+ "version": "2.2.1-canary.0",
15
15
  "jsnext:source": "./src/cli/index.ts",
16
16
  "types": "./dist/types/cli/index.d.ts",
17
17
  "typesVersions": {
@@ -62,13 +62,13 @@
62
62
  },
63
63
  "dependencies": {
64
64
  "@babel/runtime": "^7.18.0",
65
+ "@modern-js/utils": "2.2.0",
65
66
  "@types/debug": "^4.1.7",
66
67
  "@types/react-loadable": "^5.5.6",
67
68
  "debug": "^4.3.2",
68
69
  "garfish": "^1.8.1",
69
70
  "hoist-non-react-statics": "^3.3.2",
70
- "react-loadable": "^5.5.0",
71
- "@modern-js/utils": "2.2.0"
71
+ "react-loadable": "^5.5.0"
72
72
  },
73
73
  "peerDependencies": {
74
74
  "@modern-js/runtime": "^2.2.0"
@@ -79,6 +79,13 @@
79
79
  }
80
80
  },
81
81
  "devDependencies": {
82
+ "@modern-js/app-tools": "2.2.0",
83
+ "@modern-js/core": "2.2.0",
84
+ "@modern-js/runtime": "2.2.0",
85
+ "@modern-js/plugin-router-v5": "2.2.0",
86
+ "@modern-js/types": "2.2.0",
87
+ "@scripts/build": "2.2.0",
88
+ "@scripts/jest-config": "2.2.0",
82
89
  "@testing-library/jest-dom": "^5.16.1",
83
90
  "@testing-library/react": "^13.4.0",
84
91
  "@testing-library/react-hooks": "^8.0.1",
@@ -92,14 +99,7 @@
92
99
  "react-dom": "^18",
93
100
  "react-router-dom": "^6.6.0",
94
101
  "typescript": "^4",
95
- "webpack-chain": "^6.5.1",
96
- "@modern-js/app-tools": "2.2.0",
97
- "@modern-js/core": "2.2.0",
98
- "@modern-js/runtime": "2.2.0",
99
- "@modern-js/plugin-router-v5": "2.2.0",
100
- "@modern-js/types": "2.2.0",
101
- "@scripts/build": "2.2.0",
102
- "@scripts/jest-config": "2.2.0"
102
+ "webpack-chain": "^6.5.1"
103
103
  },
104
104
  "sideEffects": false,
105
105
  "modernConfig": {},