@modern-js/plugin-router-v5 2.56.2 → 2.56.3-alpha.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.
@@ -61,9 +61,7 @@ const routerPlugin = () => ({
61
61
  return {
62
62
  source: {
63
63
  alias: {
64
- [`@${metaName}/runtime/router-v5`]: routerExportsUtils.getPath(),
65
- "@meta/runtime/context": "@modern-js/runtime/context",
66
- "@meta/runtime": "@modern-js/runtime"
64
+ [`@${metaName}/runtime/router-v5`]: routerExportsUtils.getPath()
67
65
  }
68
66
  }
69
67
  };
@@ -44,10 +44,9 @@ var routerPlugin = function() {
44
44
  config: function config() {
45
45
  var _api_useAppContext = api.useAppContext(), internalDirectory = _api_useAppContext.internalDirectory, metaName = _api_useAppContext.metaName;
46
46
  routerExportsUtils = createRuntimeExportsUtils(internalDirectory, "router");
47
- var _obj;
48
47
  return {
49
48
  source: {
50
- alias: (_obj = {}, _define_property(_obj, "@".concat(metaName, "/runtime/router-v5"), routerExportsUtils.getPath()), _define_property(_obj, "@meta/runtime/context", "@modern-js/runtime/context"), _define_property(_obj, "@meta/runtime", "@modern-js/runtime"), _obj)
49
+ alias: _define_property({}, "@".concat(metaName, "/runtime/router-v5"), routerExportsUtils.getPath())
51
50
  }
52
51
  };
53
52
  },
@@ -37,9 +37,7 @@ const routerPlugin = () => ({
37
37
  return {
38
38
  source: {
39
39
  alias: {
40
- [`@${metaName}/runtime/router-v5`]: routerExportsUtils.getPath(),
41
- "@meta/runtime/context": "@modern-js/runtime/context",
42
- "@meta/runtime": "@modern-js/runtime"
40
+ [`@${metaName}/runtime/router-v5`]: routerExportsUtils.getPath()
43
41
  }
44
42
  }
45
43
  };
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.56.2",
18
+ "version": "2.56.3-alpha.0",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./dist/types/cli/index.d.ts",
21
21
  "main": "./dist/cjs/cli/index.js",
@@ -59,10 +59,10 @@
59
59
  "history": "^4.7.9",
60
60
  "react-router-dom": "^5.3.4",
61
61
  "@swc/helpers": "0.5.3",
62
- "@modern-js/plugin": "2.56.2",
63
62
  "@modern-js/types": "2.56.2",
63
+ "@modern-js/runtime-utils": "2.56.2",
64
64
  "@modern-js/utils": "2.56.2",
65
- "@modern-js/runtime-utils": "2.56.2"
65
+ "@modern-js/plugin": "2.56.2"
66
66
  },
67
67
  "peerDependencies": {
68
68
  "react": ">=17",
@@ -81,15 +81,14 @@
81
81
  "typescript": "^5",
82
82
  "@modern-js/app-tools": "2.56.2",
83
83
  "@modern-js/core": "2.56.2",
84
- "@modern-js/runtime": "2.56.2",
85
84
  "@scripts/build": "2.56.2",
86
- "@scripts/jest-config": "2.56.2"
85
+ "@scripts/jest-config": "2.56.2",
86
+ "@modern-js/runtime": "2.56.3-alpha.0"
87
87
  },
88
88
  "sideEffects": false,
89
89
  "publishConfig": {
90
90
  "registry": "https://registry.npmjs.org/",
91
- "access": "public",
92
- "provenance": true
91
+ "access": "public"
93
92
  },
94
93
  "scripts": {
95
94
  "dev": "modern-lib build --watch",