@modern-js/plugin-bff 2.12.0 → 2.13.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # @modern-js/plugin-bff
2
2
 
3
+ ## 2.13.1
4
+
5
+ ### Patch Changes
6
+
7
+ - @modern-js/bff-core@2.13.1
8
+ - @modern-js/create-request@2.13.1
9
+ - @modern-js/server-utils@2.13.1
10
+ - @modern-js/utils@2.13.1
11
+
12
+ ## 2.13.0
13
+
14
+ ### Patch Changes
15
+
16
+ - 8c853c7: hotfix: support bffPlugin when use rspack
17
+
18
+ hotfix: 在使用 Rspack 构建时,支持 BFF 插件
19
+
20
+ - @modern-js/server-utils@2.13.0
21
+ - @modern-js/bff-core@2.13.0
22
+ - @modern-js/create-request@2.13.0
23
+ - @modern-js/utils@2.13.0
24
+
3
25
  ## 2.12.0
4
26
 
5
27
  ### Patch Changes
package/dist/cjs/cli.js CHANGED
@@ -48,7 +48,7 @@ var cli_default = () => ({
48
48
  config() {
49
49
  return {
50
50
  tools: {
51
- webpackChain: (chain, { CHAIN_ID, isServer }) => {
51
+ bundlerChain: (chain, { CHAIN_ID, isServer }) => {
52
52
  const { port, apiDirectory, lambdaDirectory } = api.useAppContext();
53
53
  const modernConfig = api.useResolvedConfigContext();
54
54
  const { bff } = modernConfig || {};
package/dist/esm/cli.js CHANGED
@@ -218,7 +218,7 @@ var cli_default = function() {
218
218
  config: function config() {
219
219
  return {
220
220
  tools: {
221
- webpackChain: function(chain, param) {
221
+ bundlerChain: function(chain, param) {
222
222
  var CHAIN_ID = param.CHAIN_ID, isServer = param.isServer;
223
223
  var _api_useAppContext = api.useAppContext(), port = _api_useAppContext.port, apiDirectory = _api_useAppContext.apiDirectory, lambdaDirectory = _api_useAppContext.lambdaDirectory;
224
224
  var modernConfig = api.useResolvedConfigContext();
@@ -23,7 +23,7 @@ var cli_default = () => ({
23
23
  config() {
24
24
  return {
25
25
  tools: {
26
- webpackChain: (chain, { CHAIN_ID, isServer }) => {
26
+ bundlerChain: (chain, { CHAIN_ID, isServer }) => {
27
27
  const { port, apiDirectory, lambdaDirectory } = api.useAppContext();
28
28
  const modernConfig = api.useResolvedConfigContext();
29
29
  const { bff } = modernConfig || {};
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "2.12.0",
14
+ "version": "2.13.1",
15
15
  "jsnext:source": "./src/cli.ts",
16
16
  "types": "./dist/types/cli.d.ts",
17
17
  "main": "./dist/cjs/cli.js",
@@ -53,10 +53,10 @@
53
53
  "dependencies": {
54
54
  "@babel/core": "^7.18.0",
55
55
  "@babel/runtime": "^7.18.0",
56
- "@modern-js/bff-core": "2.12.0",
57
- "@modern-js/create-request": "2.12.0",
58
- "@modern-js/server-utils": "2.12.0",
59
- "@modern-js/utils": "2.12.0"
56
+ "@modern-js/bff-core": "2.13.1",
57
+ "@modern-js/create-request": "2.13.1",
58
+ "@modern-js/server-utils": "2.13.1",
59
+ "@modern-js/utils": "2.13.1"
60
60
  },
61
61
  "devDependencies": {
62
62
  "@types/babel__core": "^7.1.15",
@@ -68,14 +68,14 @@
68
68
  "typescript": "^4",
69
69
  "webpack": "^5.76.2",
70
70
  "webpack-chain": "^6.5.1",
71
- "@modern-js/runtime": "2.12.0",
72
- "@modern-js/core": "2.12.0",
73
- "@modern-js/bff-runtime": "2.12.0",
74
- "@modern-js/server-core": "2.12.0",
75
- "@modern-js/types": "2.12.0",
76
- "@modern-js/app-tools": "2.12.0",
77
- "@scripts/build": "2.12.0",
78
- "@scripts/jest-config": "2.12.0"
71
+ "@modern-js/runtime": "2.13.1",
72
+ "@modern-js/core": "2.13.1",
73
+ "@modern-js/bff-runtime": "2.13.1",
74
+ "@modern-js/server-core": "2.13.1",
75
+ "@modern-js/types": "2.13.1",
76
+ "@modern-js/app-tools": "2.13.1",
77
+ "@scripts/build": "2.13.1",
78
+ "@scripts/jest-config": "2.13.1"
79
79
  },
80
80
  "sideEffects": false,
81
81
  "publishConfig": {