@modern-js/plugin-bff 1.1.3-rc.0 → 1.2.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/CHANGELOG.md +17 -18
- package/dist/js/modern/server.js +1 -1
- package/dist/js/node/server.js +1 -1
- package/package.json +16 -16
- package/src/server.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,26 +1,25 @@
|
|
|
1
1
|
# @modern-js/plugin-bff
|
|
2
2
|
|
|
3
|
-
## 1.
|
|
3
|
+
## 1.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 5a4c557e: feat: support bff test
|
|
4
8
|
|
|
5
9
|
### Patch Changes
|
|
6
10
|
|
|
7
|
-
- Updated dependencies [
|
|
8
|
-
- Updated dependencies [
|
|
9
|
-
- Updated dependencies [
|
|
10
|
-
- Updated dependencies [
|
|
11
|
-
- Updated dependencies [
|
|
12
|
-
- Updated dependencies [
|
|
13
|
-
- Updated dependencies [
|
|
14
|
-
-
|
|
15
|
-
- @modern-js/
|
|
16
|
-
- @modern-js/
|
|
17
|
-
- @modern-js/babel-
|
|
18
|
-
- @modern-js/
|
|
19
|
-
- @modern-js/create-request@1.1.2-rc.0
|
|
20
|
-
- @modern-js/server-utils@1.1.3-rc.0
|
|
21
|
-
- @modern-js/babel-compiler@1.1.3-rc.0
|
|
22
|
-
- @modern-js/server-plugin@1.1.2
|
|
23
|
-
- @modern-js/babel-chain@1.1.1
|
|
11
|
+
- Updated dependencies [90eeb72c]
|
|
12
|
+
- Updated dependencies [e04914ce]
|
|
13
|
+
- Updated dependencies [5a4c557e]
|
|
14
|
+
- Updated dependencies [e04914ce]
|
|
15
|
+
- Updated dependencies [ca7dcb32]
|
|
16
|
+
- Updated dependencies [ca7dcb32]
|
|
17
|
+
- Updated dependencies [ecb344dc]
|
|
18
|
+
- @modern-js/core@1.2.0
|
|
19
|
+
- @modern-js/server-plugin@1.1.3
|
|
20
|
+
- @modern-js/babel-preset-lib@1.1.4
|
|
21
|
+
- @modern-js/babel-compiler@1.1.3
|
|
22
|
+
- @modern-js/utils@1.1.5
|
|
24
23
|
|
|
25
24
|
## 1.1.2
|
|
26
25
|
|
package/dist/js/modern/server.js
CHANGED
package/dist/js/node/server.js
CHANGED
|
@@ -52,7 +52,7 @@ var _default = (0, _serverPlugin.createPlugin)(() => {
|
|
|
52
52
|
const transformAPI = createTransformAPI(storage);
|
|
53
53
|
const apiMod = (0, _utils.requireExistModule)(apiAppPath);
|
|
54
54
|
|
|
55
|
-
if (apiMod) {
|
|
55
|
+
if (apiMod && typeof apiMod === 'function') {
|
|
56
56
|
apiMod(transformAPI);
|
|
57
57
|
}
|
|
58
58
|
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"modern",
|
|
12
12
|
"modern.js"
|
|
13
13
|
],
|
|
14
|
-
"version": "1.
|
|
14
|
+
"version": "1.2.0",
|
|
15
15
|
"jsnext:source": "./src/index.ts",
|
|
16
16
|
"types": "./dist/types/index.d.ts",
|
|
17
17
|
"main": "./dist/js/node/index.js",
|
|
@@ -45,23 +45,23 @@
|
|
|
45
45
|
"@babel/core": "^7.15.5",
|
|
46
46
|
"@babel/runtime": "^7",
|
|
47
47
|
"@modern-js/babel-chain": "^1.1.1",
|
|
48
|
-
"@modern-js/babel-compiler": "^1.1.3
|
|
49
|
-
"@modern-js/babel-preset-lib": "^1.1.
|
|
50
|
-
"@modern-js/create-request": "^1.1.
|
|
51
|
-
"@modern-js/server-utils": "^1.1.
|
|
52
|
-
"@modern-js/utils": "^1.1.
|
|
48
|
+
"@modern-js/babel-compiler": "^1.1.3",
|
|
49
|
+
"@modern-js/babel-preset-lib": "^1.1.4",
|
|
50
|
+
"@modern-js/create-request": "^1.1.1",
|
|
51
|
+
"@modern-js/server-utils": "^1.1.2",
|
|
52
|
+
"@modern-js/utils": "^1.1.5",
|
|
53
53
|
"fs-extra": "^10.0.0",
|
|
54
54
|
"loader-utils": "^2.0.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@modern-js/bff-utils": "^1.1.
|
|
58
|
-
"@modern-js/core": "^1.
|
|
59
|
-
"@modern-js/module-tools": "^1.1.
|
|
60
|
-
"@modern-js/plugin-analyze": "^1.1.2
|
|
57
|
+
"@modern-js/bff-utils": "^1.1.1",
|
|
58
|
+
"@modern-js/core": "^1.2.0",
|
|
59
|
+
"@modern-js/module-tools": "^1.1.2",
|
|
60
|
+
"@modern-js/plugin-analyze": "^1.1.2",
|
|
61
61
|
"@modern-js/plugin-testing": "^1.1.1",
|
|
62
|
-
"@modern-js/runtime": "^1.1.
|
|
63
|
-
"@modern-js/server-plugin": "^1.1.
|
|
64
|
-
"@modern-js/types": "^1.1.
|
|
62
|
+
"@modern-js/runtime": "^1.1.1",
|
|
63
|
+
"@modern-js/server-plugin": "^1.1.3",
|
|
64
|
+
"@modern-js/types": "^1.1.4",
|
|
65
65
|
"@types/babel__core": "^7.1.15",
|
|
66
66
|
"@types/fs-extra": "^9.0.13",
|
|
67
67
|
"@types/jest": "^26",
|
|
@@ -74,9 +74,9 @@
|
|
|
74
74
|
"webpack-chain": "^6.5.1"
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {
|
|
77
|
-
"@modern-js/bff-utils": "^1.1.
|
|
78
|
-
"@modern-js/core": "^1.
|
|
79
|
-
"@modern-js/server-plugin": "^1.1.
|
|
77
|
+
"@modern-js/bff-utils": "^1.1.1",
|
|
78
|
+
"@modern-js/core": "^1.2.0",
|
|
79
|
+
"@modern-js/server-plugin": "^1.1.3"
|
|
80
80
|
},
|
|
81
81
|
"modernConfig": {
|
|
82
82
|
"output": {
|
package/src/server.ts
CHANGED