@canonical/react-ssr 0.7.0-experimental.0 → 0.9.0-experimental.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/README.md +1 -1
- package/package.json +6 -3
package/README.md
CHANGED
@@ -94,7 +94,7 @@ The example below uses Vite.
|
|
94
94
|
### Server Request Handling
|
95
95
|
|
96
96
|
Once your app is built, you can set up an Express server to handle SSR requests.
|
97
|
-
See [this file](../../../apps/boilerplate-
|
97
|
+
See [this file](../../../apps/react/boilerplate-vite/src/ssr/server.ts) as an example.
|
98
98
|
|
99
99
|
### Injecting the Client Application
|
100
100
|
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@canonical/react-ssr",
|
3
3
|
"description": "TBD",
|
4
|
-
"version": "0.
|
4
|
+
"version": "0.9.0-experimental.0",
|
5
5
|
"type": "module",
|
6
6
|
"module": "dist/esm/index.js",
|
7
7
|
"types": "dist/types/index.d.ts",
|
@@ -12,6 +12,9 @@
|
|
12
12
|
"email": "webteam@canonical.com",
|
13
13
|
"name": "Canonical Webteam"
|
14
14
|
},
|
15
|
+
"bin": {
|
16
|
+
"serve-express": "./dist/esm/server/serve-express.js"
|
17
|
+
},
|
15
18
|
"repository": {
|
16
19
|
"type": "git",
|
17
20
|
"url": "https://github.com/canonical/ds25"
|
@@ -53,11 +56,11 @@
|
|
53
56
|
"typescript": "^5.7.2"
|
54
57
|
},
|
55
58
|
"dependencies": {
|
56
|
-
"@canonical/utils": "^0.
|
59
|
+
"@canonical/utils": "^0.9.0-experimental.0",
|
57
60
|
"domhandler": "^5.0.3",
|
58
61
|
"express": "^4.21.2",
|
59
62
|
"htmlparser2": "^9.1.0",
|
60
63
|
"react-dom": "^19.0.0"
|
61
64
|
},
|
62
|
-
"gitHead": "
|
65
|
+
"gitHead": "5d06233e70975e9ccc475c2d13de7e2ff8769c44"
|
63
66
|
}
|