@modern-js/types 2.67.5 → 2.67.6
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/package.json +3 -3
- package/server/context.d.ts +4 -0
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "2.67.
|
|
18
|
+
"version": "2.67.6",
|
|
19
19
|
"types": "./index.d.ts",
|
|
20
20
|
"exports": {
|
|
21
21
|
".": {
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"http-proxy-middleware": "^2.0.9",
|
|
49
49
|
"jest": "^29",
|
|
50
50
|
"type-fest": "2.15.0",
|
|
51
|
-
"@scripts/
|
|
52
|
-
"@scripts/
|
|
51
|
+
"@scripts/jest-config": "2.66.0",
|
|
52
|
+
"@scripts/build": "2.66.0"
|
|
53
53
|
},
|
|
54
54
|
"sideEffects": false,
|
|
55
55
|
"publishConfig": {
|
package/server/context.d.ts
CHANGED
|
@@ -119,6 +119,10 @@ export interface ServerInitHookContext {
|
|
|
119
119
|
app?: HttpServer;
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
+
/**
|
|
123
|
+
* This type extends the `serverContext` type and is also compatible with `ServerPluginLegacy`.
|
|
124
|
+
* Future implementations should consider it as an extension of the `serverContext` type.
|
|
125
|
+
*/
|
|
122
126
|
export interface ISAppContext {
|
|
123
127
|
appDirectory: string;
|
|
124
128
|
internalDirectory: string;
|