@inglorious/ssx 2.1.10 → 2.1.12
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 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -289,6 +289,7 @@ Notes:
|
|
|
289
289
|
|
|
290
290
|
- The default locale is not prefixed (`/about`, not `/en/about`).
|
|
291
291
|
- Locale-prefixed routes are handled in both build output and client-side navigation.
|
|
292
|
+
- SSX picks the locale; to translate strings (catalogues, plurals, dates, markup in translations), use [`@inglorious/i18n`](https://www.npmjs.com/package/@inglorious/i18n) and switch it to the page's locale with `api.notify("#i18n:localeChange", entity.locale)`.
|
|
292
293
|
|
|
293
294
|
### ⚛️ Entity-Based State and Behavior
|
|
294
295
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inglorious/ssx",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.12",
|
|
4
4
|
"description": "Server-Side-X. Xecution? Xperience? Who knows.",
|
|
5
5
|
"author": "Matteo Antony Mistretta <antony.mistretta@gmail.com> (https://ingloriouscoderz.it)",
|
|
6
6
|
"license": "MIT",
|
|
@@ -48,9 +48,9 @@
|
|
|
48
48
|
},
|
|
49
49
|
"sideEffects": false,
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@inglorious/store": "11.0.
|
|
52
|
-
"@inglorious/utils": "
|
|
53
|
-
"@inglorious/web": "6.
|
|
51
|
+
"@inglorious/store": "11.0.3",
|
|
52
|
+
"@inglorious/utils": "5.0.0",
|
|
53
|
+
"@inglorious/web": "6.6.0",
|
|
54
54
|
"@lit-labs/ssr": "^4.1.0",
|
|
55
55
|
"commander": "^15.0.0",
|
|
56
56
|
"connect": "^3.7.0",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"@inglorious/eslint-config": "1.1.2",
|
|
72
|
-
"@inglorious/logo": "3.0.
|
|
72
|
+
"@inglorious/logo": "3.0.15",
|
|
73
73
|
"prettier": "^3.9.6",
|
|
74
74
|
"vitest": "^5.0.0"
|
|
75
75
|
},
|