@modern-js/plugin-bff 2.41.0 → 2.42.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/types/cli.d.ts +1 -1
- package/dist/types/constants.d.ts +1 -1
- package/dist/types/helper.d.ts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/loader.d.ts +11 -11
- package/dist/types/server.d.ts +1 -1
- package/package.json +13 -13
package/dist/types/cli.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const API_APP_NAME = "_app";
|
|
2
|
-
export declare const BUILD_FILES: string[];
|
|
2
|
+
export declare const BUILD_FILES: string[];
|
package/dist/types/helper.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
declare const registerModernRuntimePath: (internalDirectory: string) => () => void;
|
|
2
|
-
export { registerModernRuntimePath };
|
|
2
|
+
export { registerModernRuntimePath };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './constants';
|
|
1
|
+
export * from './constants';
|
package/dist/types/loader.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import type { HttpMethodDecider } from '@modern-js/types';
|
|
2
2
|
import type { LoaderContext } from 'webpack';
|
|
3
3
|
export type APILoaderOptions = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
4
|
+
prefix: string;
|
|
5
|
+
appDir: string;
|
|
6
|
+
apiDir: string;
|
|
7
|
+
lambdaDir: string;
|
|
8
|
+
existLambda: boolean;
|
|
9
|
+
port: number;
|
|
10
|
+
fetcher?: string;
|
|
11
|
+
requestCreator?: string;
|
|
12
|
+
target: string;
|
|
13
|
+
httpMethodDecider?: HttpMethodDecider;
|
|
14
14
|
};
|
|
15
15
|
declare function loader(this: LoaderContext<APILoaderOptions>, source: string): Promise<void>;
|
|
16
|
-
export default loader;
|
|
16
|
+
export default loader;
|
package/dist/types/server.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "2.
|
|
18
|
+
"version": "2.42.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.3",
|
|
60
|
-
"@modern-js/bff-core": "2.
|
|
61
|
-
"@modern-js/create-request": "2.
|
|
62
|
-
"@modern-js/
|
|
63
|
-
"@modern-js/utils": "2.
|
|
60
|
+
"@modern-js/bff-core": "2.42.0",
|
|
61
|
+
"@modern-js/create-request": "2.42.0",
|
|
62
|
+
"@modern-js/utils": "2.42.0",
|
|
63
|
+
"@modern-js/server-utils": "2.42.0"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@types/babel__core": "^7.20.1",
|
|
@@ -71,14 +71,14 @@
|
|
|
71
71
|
"ts-jest": "^29.1.0",
|
|
72
72
|
"typescript": "^5",
|
|
73
73
|
"webpack": "^5.88.1",
|
|
74
|
-
"@modern-js/
|
|
75
|
-
"@modern-js/
|
|
76
|
-
"@modern-js/bff-runtime": "2.
|
|
77
|
-
"@modern-js/
|
|
78
|
-
"@modern-js/
|
|
79
|
-
"@modern-js/app-tools": "2.
|
|
80
|
-
"@scripts/
|
|
81
|
-
"@scripts/
|
|
74
|
+
"@modern-js/runtime": "2.42.0",
|
|
75
|
+
"@modern-js/core": "2.42.0",
|
|
76
|
+
"@modern-js/bff-runtime": "2.42.0",
|
|
77
|
+
"@modern-js/server-core": "2.42.0",
|
|
78
|
+
"@modern-js/types": "2.42.0",
|
|
79
|
+
"@modern-js/app-tools": "2.42.0",
|
|
80
|
+
"@scripts/jest-config": "2.42.0",
|
|
81
|
+
"@scripts/build": "2.42.0"
|
|
82
82
|
},
|
|
83
83
|
"sideEffects": false,
|
|
84
84
|
"publishConfig": {
|