@modern-js/plugin-testing 0.0.0-next-20250403083459 → 0.0.0-next-20250407073728

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.
@@ -48,7 +48,6 @@ const createApp = async (pwd, config, plugins, routes) => {
48
48
  pwd,
49
49
  config,
50
50
  plugins: pluginInstances,
51
- serverConfigPath: "",
52
51
  routes,
53
52
  appContext: {
54
53
  apiDirectory: import_node_path.default.join(pwd, "api"),
@@ -31,7 +31,7 @@ __export(app_exports, {
31
31
  default: () => app_default
32
32
  });
33
33
  module.exports = __toCommonJS(app_exports);
34
- var import_runtime = require("@modern-js/runtime");
34
+ var import_runtime = require("@modern-js/app-tools/runtime");
35
35
  var import_constant = require("../constant");
36
36
  var import_resolvePlugins = __toESM(require("./resolvePlugins"));
37
37
  class ModernRuntime {
@@ -32,7 +32,6 @@ var createApp = function() {
32
32
  pwd,
33
33
  config,
34
34
  plugins: pluginInstances,
35
- serverConfigPath: "",
36
35
  routes,
37
36
  appContext: {
38
37
  apiDirectory: path.join(pwd, "api"),
@@ -1,6 +1,6 @@
1
1
  import { _ as _class_call_check } from "@swc/helpers/_/_class_call_check";
2
2
  import { _ as _object_spread } from "@swc/helpers/_/_object_spread";
3
- import { createApp } from "@modern-js/runtime";
3
+ import { createApp } from "@modern-js/app-tools/runtime";
4
4
  import { MODERNJS_CONFIG_KEY } from "../constant";
5
5
  import resolvePlugins from "./resolvePlugins";
6
6
  var ModernRuntime = /* @__PURE__ */ function() {
@@ -12,7 +12,6 @@ const createApp = async (pwd, config, plugins, routes) => {
12
12
  pwd,
13
13
  config,
14
14
  plugins: pluginInstances,
15
- serverConfigPath: "",
16
15
  routes,
17
16
  appContext: {
18
17
  apiDirectory: path.join(pwd, "api"),
@@ -1,4 +1,4 @@
1
- import { createApp } from "@modern-js/runtime";
1
+ import { createApp } from "@modern-js/app-tools/runtime";
2
2
  import { MODERNJS_CONFIG_KEY } from "../constant";
3
3
  import resolvePlugins from "./resolvePlugins";
4
4
  class ModernRuntime {
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "0.0.0-next-20250403083459",
18
+ "version": "0.0.0-next-20250407073728",
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",
@@ -130,24 +130,18 @@
130
130
  "supertest": "^6.1.6",
131
131
  "ts-jest": "^29.1.0",
132
132
  "yargs": "^17.0.1",
133
- "@modern-js/babel-compiler": "0.0.0-next-20250403083459",
134
- "@modern-js/babel-preset": "0.0.0-next-20250403083459",
135
- "@modern-js/bff-core": "0.0.0-next-20250403083459",
136
- "@modern-js/plugin": "0.0.0-next-20250403083459",
137
- "@modern-js/prod-server": "0.0.0-next-20250403083459",
138
- "@modern-js/server-core": "0.0.0-next-20250403083459",
139
- "@modern-js/types": "0.0.0-next-20250403083459",
140
- "@modern-js/utils": "0.0.0-next-20250403083459"
133
+ "@modern-js/babel-compiler": "0.0.0-next-20250407073728",
134
+ "@modern-js/babel-preset": "0.0.0-next-20250407073728",
135
+ "@modern-js/bff-core": "0.0.0-next-20250407073728",
136
+ "@modern-js/prod-server": "0.0.0-next-20250407073728",
137
+ "@modern-js/plugin": "0.0.0-next-20250407073728",
138
+ "@modern-js/types": "0.0.0-next-20250407073728",
139
+ "@modern-js/utils": "0.0.0-next-20250407073728",
140
+ "@modern-js/server-core": "0.0.0-next-20250407073728"
141
141
  },
142
142
  "peerDependencies": {
143
143
  "react": ">=17",
144
- "react-dom": ">=17",
145
- "@modern-js/runtime": "0.0.0-next-20250403083459"
146
- },
147
- "peerDependenciesMeta": {
148
- "@modern-js/runtime": {
149
- "optional": true
150
- }
144
+ "react-dom": ">=17"
151
145
  },
152
146
  "devDependencies": {
153
147
  "@types/jest": "^29",
@@ -159,10 +153,10 @@
159
153
  "react": "^18.3.1",
160
154
  "react-dom": "^18.3.1",
161
155
  "typescript": "^5",
162
- "@modern-js/core": "0.0.0-next-20250403083459",
163
- "@modern-js/runtime": "0.0.0-next-20250403083459",
164
- "@scripts/build": "0.0.0-next-20250403083459",
165
- "@scripts/jest-config": "0.0.0-next-20250403083459"
156
+ "@modern-js/core": "0.0.0-next-20250407073728",
157
+ "@scripts/build": "0.0.0-next-20250407073728",
158
+ "@modern-js/app-tools": "0.0.0-next-20250407073728",
159
+ "@scripts/jest-config": "0.0.0-next-20250407073728"
166
160
  },
167
161
  "sideEffects": false,
168
162
  "publishConfig": {