@modern-js/plugin-testing 0.0.0-nightly-20231024172117 → 0.0.0-nightly-20231025172331

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.
@@ -138,6 +138,7 @@ const testingBffPlugin = () => ({
138
138
  pwd,
139
139
  userConfig,
140
140
  routes: appContext.serverRoutes,
141
+ // Todo need use collect server internalPlugins
141
142
  plugins: appContext.serverInternalPlugins,
142
143
  utils
143
144
  });
@@ -129,6 +129,7 @@ var testingBffPlugin = function() {
129
129
  pwd,
130
130
  userConfig,
131
131
  routes: appContext.serverRoutes,
132
+ // Todo need use collect server internalPlugins
132
133
  plugins: appContext.serverInternalPlugins,
133
134
  utils
134
135
  })
@@ -104,6 +104,7 @@ const testingBffPlugin = () => ({
104
104
  pwd,
105
105
  userConfig,
106
106
  routes: appContext.serverRoutes,
107
+ // Todo need use collect server internalPlugins
107
108
  plugins: appContext.serverInternalPlugins,
108
109
  utils
109
110
  });
@@ -1,6 +1,7 @@
1
1
  /// <reference types="node" />
2
2
  /// <reference types="node/http" />
3
3
  /// <reference types="@modern-js/prod-server/src/type" />
4
+ /// <reference types=".pnpm/@modern-js+prod-server@2.37.2_react-dom@18.2.0_react@18.2.0/node_modules/@modern-js/prod-server/dist/types/type" />
4
5
  import { InternalPlugins } from '@modern-js/types';
5
6
  export declare const isInHandler: () => boolean;
6
7
  declare const createApp: (pwd: string, config: any, plugins: InternalPlugins, routes: any[]) => Promise<(req: import("http").IncomingMessage, res: import("http").ServerResponse, next?: (() => void) | undefined) => void>;
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "0.0.0-nightly-20231024172117",
18
+ "version": "0.0.0-nightly-20231025172331",
19
19
  "jsnext:source": "./src/cli/index.ts",
20
20
  "types": "./dist/types/cli/index.d.ts",
21
21
  "main": "./dist/cjs/cli/index.js",
@@ -109,14 +109,14 @@
109
109
  }
110
110
  },
111
111
  "dependencies": {
112
- "@babel/core": "^7.22.15",
112
+ "@babel/core": "^7.23.2",
113
113
  "@babel/preset-env": "^7.22.15",
114
114
  "@babel/preset-react": "^7.22.15",
115
115
  "@modern-js-reduck/plugin-auto-actions": "^1.1.10",
116
116
  "@modern-js-reduck/plugin-effects": "^1.1.10",
117
117
  "@modern-js-reduck/plugin-immutable": "^1.1.10",
118
118
  "@modern-js-reduck/store": "^1.1.10",
119
- "@rsbuild/babel-preset": "0.0.0-nightly-20231024161008",
119
+ "@rsbuild/babel-preset": "0.0.0-nightly-20231025160936",
120
120
  "@testing-library/jest-dom": "^5.14.1",
121
121
  "@testing-library/react": "^13.4.0",
122
122
  "@types/testing-library__jest-dom": "^5.14.3",
@@ -131,16 +131,16 @@
131
131
  "ts-jest": "^29.1.0",
132
132
  "yargs": "^17.0.1",
133
133
  "@swc/helpers": "0.5.1",
134
- "@modern-js/babel-compiler": "0.0.0-nightly-20231024172117",
135
- "@modern-js/utils": "0.0.0-nightly-20231024172117",
136
- "@modern-js/plugin": "0.0.0-nightly-20231024172117",
137
- "@modern-js/prod-server": "0.0.0-nightly-20231024172117",
138
- "@modern-js/types": "0.0.0-nightly-20231024172117"
134
+ "@modern-js/babel-compiler": "0.0.0-nightly-20231025172331",
135
+ "@modern-js/utils": "0.0.0-nightly-20231025172331",
136
+ "@modern-js/plugin": "0.0.0-nightly-20231025172331",
137
+ "@modern-js/prod-server": "0.0.0-nightly-20231025172331",
138
+ "@modern-js/types": "0.0.0-nightly-20231025172331"
139
139
  },
140
140
  "peerDependencies": {
141
141
  "react": ">=17",
142
142
  "react-dom": ">=17",
143
- "@modern-js/runtime": "0.0.0-nightly-20231024172117"
143
+ "@modern-js/runtime": "0.0.0-nightly-20231025172331"
144
144
  },
145
145
  "peerDependenciesMeta": {
146
146
  "@modern-js/runtime": {
@@ -155,11 +155,11 @@
155
155
  "@types/node": "^14",
156
156
  "@types/yargs": "^17.0.2",
157
157
  "typescript": "^5",
158
- "@modern-js/core": "0.0.0-nightly-20231024172117",
159
- "@modern-js/runtime": "0.0.0-nightly-20231024172117",
160
- "@modern-js/bff-core": "0.0.0-nightly-20231024172117",
161
- "@scripts/build": "0.0.0-nightly-20231024172117",
162
- "@scripts/jest-config": "0.0.0-nightly-20231024172117"
158
+ "@modern-js/core": "0.0.0-nightly-20231025172331",
159
+ "@modern-js/runtime": "0.0.0-nightly-20231025172331",
160
+ "@modern-js/bff-core": "0.0.0-nightly-20231025172331",
161
+ "@scripts/build": "0.0.0-nightly-20231025172331",
162
+ "@scripts/jest-config": "0.0.0-nightly-20231025172331"
163
163
  },
164
164
  "sideEffects": false,
165
165
  "publishConfig": {