@eggjs/mock 7.0.0-beta.13 → 7.0.0-beta.15
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/lib/app.js +4 -1
- package/dist/lib/types.d.ts +4 -0
- package/package.json +6 -7
package/dist/lib/app.js
CHANGED
|
@@ -150,7 +150,10 @@ var MockApplicationWorker = class extends Base {
|
|
|
150
150
|
}
|
|
151
151
|
};
|
|
152
152
|
function createApp(createOptions) {
|
|
153
|
-
const options = formatOptions(
|
|
153
|
+
const options = formatOptions({
|
|
154
|
+
...createOptions,
|
|
155
|
+
mode: "all-in-one-process"
|
|
156
|
+
});
|
|
154
157
|
debug("[createApp] options: %o", options);
|
|
155
158
|
if (options.cache && apps.has(options.baseDir)) {
|
|
156
159
|
const app = apps.get(options.baseDir);
|
package/dist/lib/types.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eggjs/mock",
|
|
3
|
-
"version": "7.0.0-beta.
|
|
3
|
+
"version": "7.0.0-beta.15",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -75,14 +75,14 @@
|
|
|
75
75
|
"merge-descriptors": "^2.0.0",
|
|
76
76
|
"mm": "^4.0.2",
|
|
77
77
|
"sdk-base": "^5.0.1",
|
|
78
|
-
"urllib": "^4.
|
|
78
|
+
"urllib": "^4.8.2",
|
|
79
79
|
"utility": "^2.5.0",
|
|
80
|
-
"@eggjs/extend2": "5.0.0-beta.
|
|
81
|
-
"@eggjs/
|
|
82
|
-
"@eggjs/
|
|
80
|
+
"@eggjs/extend2": "5.0.0-beta.15",
|
|
81
|
+
"@eggjs/utils": "5.0.0-beta.15",
|
|
82
|
+
"@eggjs/supertest": "9.0.0-beta.15"
|
|
83
83
|
},
|
|
84
84
|
"peerDependencies": {
|
|
85
|
-
"egg": "4.1.0-beta.
|
|
85
|
+
"egg": "4.1.0-beta.15"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
88
|
"@eggjs/tegg": "^3.2.2",
|
|
@@ -92,7 +92,6 @@
|
|
|
92
92
|
"@types/methods": "^1.1.4",
|
|
93
93
|
"egg-errors": "^2.3.2",
|
|
94
94
|
"egg-tracer": "^2.1.0",
|
|
95
|
-
"pedding": "^2.0.1",
|
|
96
95
|
"tsd": "^0.33.0",
|
|
97
96
|
"tsdown": "^0.15.4",
|
|
98
97
|
"typescript": "5.9.2"
|