@modern-js/plugin-bff 2.58.2 → 2.59.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 CHANGED
@@ -33,9 +33,9 @@ __export(cli_exports, {
33
33
  });
34
34
  module.exports = __toCommonJS(cli_exports);
35
35
  var import_path = __toESM(require("path"));
36
- var import_utils = require("@modern-js/utils");
37
- var import_server_utils = require("@modern-js/server-utils");
38
36
  var import_bff_core = require("@modern-js/bff-core");
37
+ var import_server_utils = require("@modern-js/server-utils");
38
+ var import_utils = require("@modern-js/utils");
39
39
  const DEFAULT_API_PREFIX = "/api";
40
40
  const TS_CONFIG_FILENAME = "tsconfig.json";
41
41
  const bffPlugin = () => ({
package/dist/esm/cli.js CHANGED
@@ -4,9 +4,9 @@ import { _ as _object_spread_props } from "@swc/helpers/_/_object_spread_props";
4
4
  import { _ as _to_consumable_array } from "@swc/helpers/_/_to_consumable_array";
5
5
  import { _ as _ts_generator } from "@swc/helpers/_/_ts_generator";
6
6
  import path from "path";
7
- import { fs, API_DIR, normalizeOutputPath, SHARED_DIR } from "@modern-js/utils";
8
- import { compile } from "@modern-js/server-utils";
9
7
  import { ApiRouter } from "@modern-js/bff-core";
8
+ import { compile } from "@modern-js/server-utils";
9
+ import { fs, API_DIR, SHARED_DIR, normalizeOutputPath } from "@modern-js/utils";
10
10
  var DEFAULT_API_PREFIX = "/api";
11
11
  var TS_CONFIG_FILENAME = "tsconfig.json";
12
12
  var bffPlugin = function() {
@@ -1,7 +1,7 @@
1
1
  import path from "path";
2
- import { fs, API_DIR, normalizeOutputPath, SHARED_DIR } from "@modern-js/utils";
3
- import { compile } from "@modern-js/server-utils";
4
2
  import { ApiRouter } from "@modern-js/bff-core";
3
+ import { compile } from "@modern-js/server-utils";
4
+ import { fs, API_DIR, SHARED_DIR, normalizeOutputPath } from "@modern-js/utils";
5
5
  const DEFAULT_API_PREFIX = "/api";
6
6
  const TS_CONFIG_FILENAME = "tsconfig.json";
7
7
  const bffPlugin = () => ({
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.58.2",
18
+ "version": "2.59.0",
19
19
  "jsnext:source": "./src/cli.ts",
20
20
  "types": "./dist/types/cli.d.ts",
21
21
  "main": "./dist/cjs/cli.js",
@@ -59,11 +59,11 @@
59
59
  "dependencies": {
60
60
  "@babel/core": "^7.24.7",
61
61
  "@swc/helpers": "0.5.3",
62
- "@modern-js/bff-core": "2.58.2",
63
- "@modern-js/create-request": "2.58.2",
64
- "@modern-js/server-core": "2.58.2",
65
- "@modern-js/utils": "2.58.2",
66
- "@modern-js/server-utils": "2.58.2"
62
+ "@modern-js/server-core": "2.59.0",
63
+ "@modern-js/bff-core": "2.59.0",
64
+ "@modern-js/create-request": "2.59.0",
65
+ "@modern-js/server-utils": "2.59.0",
66
+ "@modern-js/utils": "2.59.0"
67
67
  },
68
68
  "devDependencies": {
69
69
  "@types/babel__core": "^7.20.5",
@@ -73,14 +73,14 @@
73
73
  "memfs": "^3.5.1",
74
74
  "ts-jest": "^29.1.0",
75
75
  "typescript": "^5",
76
- "webpack": "^5.93.0",
77
- "@modern-js/bff-runtime": "2.58.2",
78
- "@modern-js/app-tools": "2.58.2",
79
- "@modern-js/core": "2.58.2",
80
- "@modern-js/types": "2.58.2",
81
- "@scripts/build": "2.58.2",
82
- "@modern-js/runtime": "2.58.2",
83
- "@scripts/jest-config": "2.58.2"
76
+ "webpack": "^5.94.0",
77
+ "@modern-js/bff-runtime": "2.59.0",
78
+ "@modern-js/core": "2.59.0",
79
+ "@modern-js/runtime": "2.59.0",
80
+ "@modern-js/app-tools": "2.59.0",
81
+ "@modern-js/types": "2.59.0",
82
+ "@scripts/build": "2.59.0",
83
+ "@scripts/jest-config": "2.59.0"
84
84
  },
85
85
  "sideEffects": false,
86
86
  "publishConfig": {