@inglorious/ssx 2.0.2 → 2.0.4
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 +2 -1
- package/package.json +4 -3
- package/src/render/html.test.js +2 -1
- package/src/render/render.test.js +1 -1
- package/src/scripts/app.js +3 -1
- package/src/store/index.js +1 -1
- package/src/utils/markdown.js +2 -1
package/README.md
CHANGED
|
@@ -826,7 +826,8 @@ Incremental builds respect your page dependencies and invalidate the cache when
|
|
|
826
826
|
|
|
827
827
|
### Fully Supported
|
|
828
828
|
|
|
829
|
-
- All Inglorious Web
|
|
829
|
+
- All Inglorious Web built-in types (`form`, `router`)
|
|
830
|
+
- All [Inglorious UI](https://inglorious.dev/ui) primitives (controls, data display, navigation, feedback, layout, surfaces)
|
|
830
831
|
- Custom components using lit-html templates
|
|
831
832
|
- Plain HTML and CSS
|
|
832
833
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inglorious/ssx",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"description": "Server-Side-X. Xecution? Xperience? Who knows.",
|
|
5
5
|
"author": "IceOnFire <antony.mistretta@gmail.com> (https://ingloriouscoderz.it)",
|
|
6
6
|
"license": "MIT",
|
|
@@ -65,12 +65,13 @@
|
|
|
65
65
|
"vite": "^7.1.3",
|
|
66
66
|
"vite-plugin-image-optimizer": "^2.0.3",
|
|
67
67
|
"@inglorious/utils": "3.8.0",
|
|
68
|
-
"@inglorious/web": "
|
|
68
|
+
"@inglorious/web": "6.0.1",
|
|
69
|
+
"@inglorious/store": "11.0.0"
|
|
69
70
|
},
|
|
70
71
|
"devDependencies": {
|
|
71
72
|
"prettier": "^3.6.2",
|
|
72
73
|
"vitest": "^1.6.1",
|
|
73
|
-
"@inglorious/logo": "3.0.
|
|
74
|
+
"@inglorious/logo": "3.0.4",
|
|
74
75
|
"@inglorious/eslint-config": "1.1.2"
|
|
75
76
|
},
|
|
76
77
|
"engines": {
|
package/src/render/html.test.js
CHANGED
package/src/scripts/app.js
CHANGED
|
@@ -48,7 +48,9 @@ export async function generateApp(pages, options = {}, loader) {
|
|
|
48
48
|
: ""
|
|
49
49
|
|
|
50
50
|
return `import "@inglorious/web/hydrate"
|
|
51
|
-
import {
|
|
51
|
+
import { createStore } from "@inglorious/store"
|
|
52
|
+
import { createDevtools } from "@inglorious/store/client/devtools"
|
|
53
|
+
import { mount } from "@inglorious/web"
|
|
52
54
|
import { Router, getRoute, setRoutes } from "@inglorious/web/router"
|
|
53
55
|
import { getLocaleFromPath } from "@inglorious/ssx/i18n"
|
|
54
56
|
|
package/src/store/index.js
CHANGED
package/src/utils/markdown.js
CHANGED
|
@@ -40,7 +40,8 @@ export function markdownPlugin(options = {}) {
|
|
|
40
40
|
import "katex/dist/katex.min.css"
|
|
41
41
|
import "highlight.js/styles/${theme}.css"
|
|
42
42
|
|
|
43
|
-
import { html
|
|
43
|
+
import { html } from "@inglorious/web"
|
|
44
|
+
import { unsafeHTML } from "@inglorious/web/directives/unsafe-html"
|
|
44
45
|
${mermaidCode}
|
|
45
46
|
|
|
46
47
|
export const metadata = ${JSON.stringify(data)}
|