@modern-js/plugin-bff 2.39.1 → 2.40.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.js +0 -27
- package/dist/esm/cli.js +0 -27
- package/dist/esm-node/cli.js +0 -27
- package/package.json +13 -13
package/dist/cjs/cli.js
CHANGED
|
@@ -44,33 +44,6 @@ const bffPlugin = () => ({
|
|
|
44
44
|
setup: (api) => {
|
|
45
45
|
let unRegisterResolveRuntimePath = null;
|
|
46
46
|
return {
|
|
47
|
-
validateSchema() {
|
|
48
|
-
return [
|
|
49
|
-
{
|
|
50
|
-
target: "bff",
|
|
51
|
-
schema: {
|
|
52
|
-
type: "object",
|
|
53
|
-
properties: {
|
|
54
|
-
prefix: {
|
|
55
|
-
type: [
|
|
56
|
-
"string",
|
|
57
|
-
"array"
|
|
58
|
-
],
|
|
59
|
-
items: {
|
|
60
|
-
type: "string"
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
fetcher: {
|
|
64
|
-
type: "string"
|
|
65
|
-
},
|
|
66
|
-
proxy: {
|
|
67
|
-
type: "object"
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
];
|
|
73
|
-
},
|
|
74
47
|
config() {
|
|
75
48
|
return {
|
|
76
49
|
tools: {
|
package/dist/esm/cli.js
CHANGED
|
@@ -16,33 +16,6 @@ var bffPlugin = function() {
|
|
|
16
16
|
setup: function(api) {
|
|
17
17
|
var unRegisterResolveRuntimePath = null;
|
|
18
18
|
return {
|
|
19
|
-
validateSchema: function validateSchema() {
|
|
20
|
-
return [
|
|
21
|
-
{
|
|
22
|
-
target: "bff",
|
|
23
|
-
schema: {
|
|
24
|
-
type: "object",
|
|
25
|
-
properties: {
|
|
26
|
-
prefix: {
|
|
27
|
-
type: [
|
|
28
|
-
"string",
|
|
29
|
-
"array"
|
|
30
|
-
],
|
|
31
|
-
items: {
|
|
32
|
-
type: "string"
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
fetcher: {
|
|
36
|
-
type: "string"
|
|
37
|
-
},
|
|
38
|
-
proxy: {
|
|
39
|
-
type: "object"
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
];
|
|
45
|
-
},
|
|
46
19
|
config: function config() {
|
|
47
20
|
return {
|
|
48
21
|
tools: {
|
package/dist/esm-node/cli.js
CHANGED
|
@@ -10,33 +10,6 @@ const bffPlugin = () => ({
|
|
|
10
10
|
setup: (api) => {
|
|
11
11
|
let unRegisterResolveRuntimePath = null;
|
|
12
12
|
return {
|
|
13
|
-
validateSchema() {
|
|
14
|
-
return [
|
|
15
|
-
{
|
|
16
|
-
target: "bff",
|
|
17
|
-
schema: {
|
|
18
|
-
type: "object",
|
|
19
|
-
properties: {
|
|
20
|
-
prefix: {
|
|
21
|
-
type: [
|
|
22
|
-
"string",
|
|
23
|
-
"array"
|
|
24
|
-
],
|
|
25
|
-
items: {
|
|
26
|
-
type: "string"
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
fetcher: {
|
|
30
|
-
type: "string"
|
|
31
|
-
},
|
|
32
|
-
proxy: {
|
|
33
|
-
type: "object"
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
];
|
|
39
|
-
},
|
|
40
13
|
config() {
|
|
41
14
|
return {
|
|
42
15
|
tools: {
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "2.
|
|
18
|
+
"version": "2.40.0",
|
|
19
19
|
"jsnext:source": "./src/cli.ts",
|
|
20
20
|
"types": "./dist/types/cli.d.ts",
|
|
21
21
|
"main": "./dist/cjs/cli.js",
|
|
@@ -57,10 +57,10 @@
|
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@babel/core": "^7.23.2",
|
|
59
59
|
"@swc/helpers": "0.5.1",
|
|
60
|
-
"@modern-js/bff-core": "2.
|
|
61
|
-
"@modern-js/create-request": "2.
|
|
62
|
-
"@modern-js/server-utils": "2.
|
|
63
|
-
"@modern-js/utils": "2.
|
|
60
|
+
"@modern-js/bff-core": "2.40.0",
|
|
61
|
+
"@modern-js/create-request": "2.40.0",
|
|
62
|
+
"@modern-js/server-utils": "2.40.0",
|
|
63
|
+
"@modern-js/utils": "2.40.0"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@types/babel__core": "^7.20.0",
|
|
@@ -71,14 +71,14 @@
|
|
|
71
71
|
"ts-jest": "^29.1.0",
|
|
72
72
|
"typescript": "^5",
|
|
73
73
|
"webpack": "^5.88.1",
|
|
74
|
-
"@modern-js/runtime": "2.
|
|
75
|
-
"@modern-js/core": "2.
|
|
76
|
-
"@modern-js/bff-runtime": "2.
|
|
77
|
-
"@modern-js/server-core": "2.
|
|
78
|
-
"@modern-js/types": "2.
|
|
79
|
-
"@modern-js/app-tools": "2.
|
|
80
|
-
"@scripts/build": "2.
|
|
81
|
-
"@scripts/jest-config": "2.
|
|
74
|
+
"@modern-js/runtime": "2.40.0",
|
|
75
|
+
"@modern-js/core": "2.40.0",
|
|
76
|
+
"@modern-js/bff-runtime": "2.40.0",
|
|
77
|
+
"@modern-js/server-core": "2.40.0",
|
|
78
|
+
"@modern-js/types": "2.40.0",
|
|
79
|
+
"@modern-js/app-tools": "2.40.0",
|
|
80
|
+
"@scripts/build": "2.40.0",
|
|
81
|
+
"@scripts/jest-config": "2.40.0"
|
|
82
82
|
},
|
|
83
83
|
"sideEffects": false,
|
|
84
84
|
"publishConfig": {
|