@modern-js/plugin-bff 1.5.2-canary.0 → 1.5.2
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 +12 -0
- package/dist/js/modern/cli.js +1 -1
- package/dist/js/node/cli.js +1 -1
- package/package.json +11 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @modern-js/plugin-bff
|
|
2
2
|
|
|
3
|
+
## 1.5.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- a1198d509: feat: bump babel 7.18.0
|
|
8
|
+
- c1a4ead09: fix: plugin-bff should compile shared directory
|
|
9
|
+
- Updated dependencies [a1198d509]
|
|
10
|
+
- @modern-js/bff-utils@1.2.9
|
|
11
|
+
- @modern-js/create-request@1.2.11
|
|
12
|
+
- @modern-js/server-utils@1.2.10
|
|
13
|
+
- @modern-js/babel-compiler@1.2.6
|
|
14
|
+
|
|
3
15
|
## 1.5.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/js/modern/cli.js
CHANGED
|
@@ -4,7 +4,7 @@ import { fs, API_DIR, PLUGIN_SCHEMAS, normalizeOutputPath, SHARED_DIR } from '@m
|
|
|
4
4
|
import { resolveBabelConfig } from '@modern-js/server-utils';
|
|
5
5
|
const DEFAULT_API_PREFIX = '/api';
|
|
6
6
|
const TS_CONFIG_FILENAME = 'tsconfig.json';
|
|
7
|
-
const FILE_EXTENSIONS = ['.js', '.ts', '.mjs', '.ejs'];
|
|
7
|
+
const FILE_EXTENSIONS = ['.js', '.ts', '.mjs', '.ejs']; // TODO: 封装服务端编译函数
|
|
8
8
|
|
|
9
9
|
const compile = async (appDirectory, modernConfig, compileOptions) => {
|
|
10
10
|
const {
|
package/dist/js/node/cli.js
CHANGED
|
@@ -17,7 +17,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
17
17
|
|
|
18
18
|
const DEFAULT_API_PREFIX = '/api';
|
|
19
19
|
const TS_CONFIG_FILENAME = 'tsconfig.json';
|
|
20
|
-
const FILE_EXTENSIONS = ['.js', '.ts', '.mjs', '.ejs'];
|
|
20
|
+
const FILE_EXTENSIONS = ['.js', '.ts', '.mjs', '.ejs']; // TODO: 封装服务端编译函数
|
|
21
21
|
|
|
22
22
|
const compile = async (appDirectory, modernConfig, compileOptions) => {
|
|
23
23
|
const {
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"modern",
|
|
12
12
|
"modern.js"
|
|
13
13
|
],
|
|
14
|
-
"version": "1.5.2
|
|
14
|
+
"version": "1.5.2",
|
|
15
15
|
"jsnext:source": "./src/index.ts",
|
|
16
16
|
"types": "./dist/types/index.d.ts",
|
|
17
17
|
"main": "./dist/js/node/index.js",
|
|
@@ -53,18 +53,18 @@
|
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@babel/core": "^7.
|
|
57
|
-
"@babel/runtime": "^7",
|
|
58
|
-
"@modern-js/babel-compiler": "^1.2.
|
|
59
|
-
"@modern-js/bff-utils": "^1.2.
|
|
60
|
-
"@modern-js/create-request": "^1.2.
|
|
61
|
-
"@modern-js/server-utils": "^1.2.
|
|
56
|
+
"@babel/core": "^7.18.0",
|
|
57
|
+
"@babel/runtime": "^7.18.0",
|
|
58
|
+
"@modern-js/babel-compiler": "^1.2.6",
|
|
59
|
+
"@modern-js/bff-utils": "^1.2.9",
|
|
60
|
+
"@modern-js/create-request": "^1.2.11",
|
|
61
|
+
"@modern-js/server-utils": "^1.2.10",
|
|
62
62
|
"@modern-js/utils": "^1.7.6"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@modern-js/core": "1.11.
|
|
66
|
-
"@modern-js/plugin-analyze": "1.4.
|
|
67
|
-
"@modern-js/runtime": "1.3.
|
|
65
|
+
"@modern-js/core": "1.11.2",
|
|
66
|
+
"@modern-js/plugin-analyze": "1.4.6",
|
|
67
|
+
"@modern-js/runtime": "1.3.2",
|
|
68
68
|
"@modern-js/server-core": "1.3.5",
|
|
69
69
|
"@modern-js/types": "1.5.4",
|
|
70
70
|
"@scripts/build": "0.0.0",
|
|
@@ -82,8 +82,7 @@
|
|
|
82
82
|
"sideEffects": false,
|
|
83
83
|
"publishConfig": {
|
|
84
84
|
"registry": "https://registry.npmjs.org/",
|
|
85
|
-
"access": "public"
|
|
86
|
-
"types": "./dist/types/index.d.ts"
|
|
85
|
+
"access": "public"
|
|
87
86
|
},
|
|
88
87
|
"wireit": {
|
|
89
88
|
"build": {
|