@modern-js/plugin-v2 2.65.0 → 2.65.2-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.
- package/dist/cjs/cli/api.js +1 -1
- package/dist/esm/cli/api.js +2 -2
- package/dist/esm-node/cli/api.js +2 -2
- package/package.json +8 -9
package/dist/cjs/cli/api.js
CHANGED
|
@@ -64,7 +64,7 @@ function initPluginAPI({ context, pluginManager }) {
|
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
66
|
function updateAppContext(updateContext) {
|
|
67
|
-
context = (0, import_lodash.
|
|
67
|
+
context = (0, import_lodash.assign)(context, updateContext);
|
|
68
68
|
}
|
|
69
69
|
const pluginAPI = {
|
|
70
70
|
isPluginExists: pluginManager.isPluginExists,
|
package/dist/esm/cli/api.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as _object_spread } from "@swc/helpers/_/_object_spread";
|
|
2
2
|
import { _ as _object_without_properties } from "@swc/helpers/_/_object_without_properties";
|
|
3
|
-
import {
|
|
3
|
+
import { assign } from "@modern-js/utils/lodash";
|
|
4
4
|
import { debug } from "./run/utils/debug";
|
|
5
5
|
function initPluginAPI(param) {
|
|
6
6
|
var context = param.context, pluginManager = param.pluginManager;
|
|
@@ -50,7 +50,7 @@ function initPluginAPI(param) {
|
|
|
50
50
|
});
|
|
51
51
|
}
|
|
52
52
|
function updateAppContext(updateContext) {
|
|
53
|
-
context =
|
|
53
|
+
context = assign(context, updateContext);
|
|
54
54
|
}
|
|
55
55
|
var pluginAPI = _object_spread({
|
|
56
56
|
isPluginExists: pluginManager.isPluginExists,
|
package/dist/esm-node/cli/api.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { assign } from "@modern-js/utils/lodash";
|
|
2
2
|
import { debug } from "./run/utils/debug";
|
|
3
3
|
function initPluginAPI({ context, pluginManager }) {
|
|
4
4
|
const { hooks, extendsHooks, plugins } = context;
|
|
@@ -41,7 +41,7 @@ function initPluginAPI({ context, pluginManager }) {
|
|
|
41
41
|
});
|
|
42
42
|
}
|
|
43
43
|
function updateAppContext(updateContext) {
|
|
44
|
-
context =
|
|
44
|
+
context = assign(context, updateContext);
|
|
45
45
|
}
|
|
46
46
|
const pluginAPI = {
|
|
47
47
|
isPluginExists: pluginManager.isPluginExists,
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "2.65.0",
|
|
18
|
+
"version": "2.65.2-alpha.0",
|
|
19
19
|
"jsnext:source": "./src/index.ts",
|
|
20
20
|
"types": "./dist/types/index.d.ts",
|
|
21
21
|
"main": "./dist/cjs/index.js",
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
"dependencies": {
|
|
70
70
|
"@swc/helpers": "0.5.13",
|
|
71
71
|
"jiti": "1.21.7",
|
|
72
|
-
"@modern-js/utils": "2.65.
|
|
73
|
-
"@modern-js/
|
|
72
|
+
"@modern-js/runtime-utils": "2.65.1",
|
|
73
|
+
"@modern-js/utils": "2.65.1"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@rsbuild/core": "1.2.8",
|
|
@@ -79,16 +79,15 @@
|
|
|
79
79
|
"@types/react": "^18.3.11",
|
|
80
80
|
"jest": "^29",
|
|
81
81
|
"typescript": "^5",
|
|
82
|
-
"@modern-js/types": "2.65.
|
|
83
|
-
"@
|
|
84
|
-
"@
|
|
85
|
-
"@scripts/build": "2.65.
|
|
82
|
+
"@modern-js/types": "2.65.1",
|
|
83
|
+
"@scripts/jest-config": "2.65.1",
|
|
84
|
+
"@modern-js/uni-builder": "2.65.1",
|
|
85
|
+
"@scripts/build": "2.65.1"
|
|
86
86
|
},
|
|
87
87
|
"sideEffects": false,
|
|
88
88
|
"publishConfig": {
|
|
89
89
|
"registry": "https://registry.npmjs.org/",
|
|
90
|
-
"access": "public"
|
|
91
|
-
"provenance": true
|
|
90
|
+
"access": "public"
|
|
92
91
|
},
|
|
93
92
|
"scripts": {
|
|
94
93
|
"new": "modern-lib new",
|