@modern-js/server-core 2.5.0 → 2.6.0
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 +10 -0
- package/dist/cjs/plugin.js +2 -0
- package/dist/esm/plugin.js +2 -0
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @modern-js/server-plugin
|
|
2
2
|
|
|
3
|
+
## 2.6.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [e1f799e]
|
|
8
|
+
- Updated dependencies [7915ab3]
|
|
9
|
+
- Updated dependencies [0fe658a]
|
|
10
|
+
- @modern-js/utils@2.6.0
|
|
11
|
+
- @modern-js/plugin@2.6.0
|
|
12
|
+
|
|
3
13
|
## 2.5.0
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/dist/cjs/plugin.js
CHANGED
|
@@ -69,6 +69,7 @@ const pluginAPI = {
|
|
|
69
69
|
setAppContext
|
|
70
70
|
};
|
|
71
71
|
const serverHooks = {
|
|
72
|
+
// server hook
|
|
72
73
|
gather,
|
|
73
74
|
config,
|
|
74
75
|
prepare,
|
|
@@ -87,6 +88,7 @@ const serverHooks = {
|
|
|
87
88
|
listen,
|
|
88
89
|
beforeServerReset,
|
|
89
90
|
afterServerReset,
|
|
91
|
+
// request hook
|
|
90
92
|
extendSSRContext,
|
|
91
93
|
extendContext,
|
|
92
94
|
handleError,
|
package/dist/esm/plugin.js
CHANGED
|
@@ -47,6 +47,7 @@ const pluginAPI = {
|
|
|
47
47
|
setAppContext
|
|
48
48
|
};
|
|
49
49
|
const serverHooks = {
|
|
50
|
+
// server hook
|
|
50
51
|
gather,
|
|
51
52
|
config,
|
|
52
53
|
prepare,
|
|
@@ -65,6 +66,7 @@ const serverHooks = {
|
|
|
65
66
|
listen,
|
|
66
67
|
beforeServerReset,
|
|
67
68
|
afterServerReset,
|
|
69
|
+
// request hook
|
|
68
70
|
extendSSRContext,
|
|
69
71
|
extendContext,
|
|
70
72
|
handleError,
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"modern",
|
|
12
12
|
"modern.js"
|
|
13
13
|
],
|
|
14
|
-
"version": "2.
|
|
14
|
+
"version": "2.6.0",
|
|
15
15
|
"jsnext:source": "./src/index.ts",
|
|
16
16
|
"types": "./dist/types/index.d.ts",
|
|
17
17
|
"main": "./dist/cjs/index.js",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@modern-js/plugin": "2.
|
|
32
|
-
"@modern-js/utils": "2.
|
|
31
|
+
"@modern-js/plugin": "2.6.0",
|
|
32
|
+
"@modern-js/utils": "2.6.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/jest": "^27",
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
"jest": "^27",
|
|
39
39
|
"ts-jest": "^27.0.4",
|
|
40
40
|
"typescript": "^4",
|
|
41
|
-
"@modern-js/types": "2.
|
|
42
|
-
"@modern-js/babel-preset-app": "2.
|
|
43
|
-
"@scripts/
|
|
44
|
-
"@scripts/
|
|
41
|
+
"@modern-js/types": "2.6.0",
|
|
42
|
+
"@modern-js/babel-preset-app": "2.6.0",
|
|
43
|
+
"@scripts/build": "2.6.0",
|
|
44
|
+
"@scripts/jest-config": "2.6.0"
|
|
45
45
|
},
|
|
46
46
|
"sideEffects": false,
|
|
47
47
|
"publishConfig": {
|