@modern-js/plugin-bff 2.41.0 → 2.42.1

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.
@@ -1,3 +1,3 @@
1
1
  import type { AppTools, CliPlugin } from '@modern-js/app-tools';
2
2
  export declare const bffPlugin: () => CliPlugin<AppTools>;
3
- export default bffPlugin;
3
+ export default bffPlugin;
@@ -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[];
@@ -1,2 +1,2 @@
1
1
  declare const registerModernRuntimePath: (internalDirectory: string) => () => void;
2
- export { registerModernRuntimePath };
2
+ export { registerModernRuntimePath };
@@ -1 +1 @@
1
- export * from './constants';
1
+ export * from './constants';
@@ -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
- 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;
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;
@@ -1,3 +1,3 @@
1
1
  import type { ServerPlugin } from '@modern-js/server-core';
2
2
  declare const _default: () => ServerPlugin;
3
- export default _default;
3
+ export default _default;
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.41.0",
18
+ "version": "2.42.1",
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.41.0",
61
- "@modern-js/create-request": "2.41.0",
62
- "@modern-js/server-utils": "2.41.0",
63
- "@modern-js/utils": "2.41.0"
60
+ "@modern-js/bff-core": "2.42.1",
61
+ "@modern-js/create-request": "2.42.1",
62
+ "@modern-js/server-utils": "2.42.1",
63
+ "@modern-js/utils": "2.42.1"
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/core": "2.41.0",
75
- "@modern-js/runtime": "2.41.0",
76
- "@modern-js/bff-runtime": "2.41.0",
77
- "@modern-js/types": "2.41.0",
78
- "@modern-js/server-core": "2.41.0",
79
- "@modern-js/app-tools": "2.41.0",
80
- "@scripts/build": "2.41.0",
81
- "@scripts/jest-config": "2.41.0"
74
+ "@modern-js/runtime": "2.42.1",
75
+ "@modern-js/core": "2.42.1",
76
+ "@modern-js/bff-runtime": "2.42.1",
77
+ "@modern-js/server-core": "2.42.1",
78
+ "@modern-js/types": "2.42.1",
79
+ "@scripts/build": "2.42.1",
80
+ "@modern-js/app-tools": "2.42.1",
81
+ "@scripts/jest-config": "2.42.1"
82
82
  },
83
83
  "sideEffects": false,
84
84
  "publishConfig": {