@inglorious/web 4.0.1 → 4.0.2
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 +29 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -49,6 +49,8 @@ Available templates:
|
|
|
49
49
|
- **minimal** — plain HTML, CSS, and JS (no build step)
|
|
50
50
|
- **js** — Vite-based JavaScript project
|
|
51
51
|
- **ts** — Vite + TypeScript project
|
|
52
|
+
- **ssx-js** — Static Site Xecution (SSX) project using JavaScript
|
|
53
|
+
- **ssx-ts** — Static Site Xecution (SSX) project using TypeScript
|
|
52
54
|
|
|
53
55
|
Use the scaffolder to create a starter app tailored to your workflow.
|
|
54
56
|
|
|
@@ -83,6 +85,7 @@ It's that simple — and surprisingly fast in practice.
|
|
|
83
85
|
- You want UI to be fully controlled by your entity-based store
|
|
84
86
|
- You want to stay entirely in **JavaScript**, without DSLs or compilers
|
|
85
87
|
- You want **React-like declarative UI** but without the cost and overhead of React
|
|
88
|
+
- You want to build **static sites with SSX** — same entity patterns, pre-rendered HTML, and client hydration
|
|
86
89
|
|
|
87
90
|
This framework is ideal for both small apps and large business UIs.
|
|
88
91
|
|
|
@@ -90,7 +93,6 @@ This framework is ideal for both small apps and large business UIs.
|
|
|
90
93
|
|
|
91
94
|
## When NOT to Use Inglorious Web
|
|
92
95
|
|
|
93
|
-
- You need server-side rendering (SSR) or static site generation (SSG) - WIP
|
|
94
96
|
- You need fine-grained reactivity for very large datasets (1000+ items per view)
|
|
95
97
|
- You're building a library that needs to be framework-agnostic
|
|
96
98
|
- Your team is already deeply invested in React/Vue/Angular
|
|
@@ -1028,6 +1030,23 @@ You can even mix them in the same app!
|
|
|
1028
1030
|
|
|
1029
1031
|
---
|
|
1030
1032
|
|
|
1033
|
+
## Static Site Generation with SSX
|
|
1034
|
+
|
|
1035
|
+
For building **static HTML sites** with full pre-rendering, client-side hydration, and automatic sitemap/RSS generation, use [**@inglorious/ssx**](https://www.npmjs.com/package/@inglorious/ssx).
|
|
1036
|
+
|
|
1037
|
+
SSX is built entirely on **@inglorious/web** and lets you use the same entity-based patterns for both interactive apps and static sites, with:
|
|
1038
|
+
|
|
1039
|
+
- Pre-rendered HTML at build time
|
|
1040
|
+
- Automatic code splitting and lazy loading
|
|
1041
|
+
- Client-side hydration with lit-html
|
|
1042
|
+
- File-based routing
|
|
1043
|
+
- Sitemap and RSS feed generation
|
|
1044
|
+
- Incremental builds
|
|
1045
|
+
|
|
1046
|
+
It's the perfect companion to @inglorious/web for building blazing-fast static sites, blogs, documentation, and marketing pages.
|
|
1047
|
+
|
|
1048
|
+
---
|
|
1049
|
+
|
|
1031
1050
|
## Examples
|
|
1032
1051
|
|
|
1033
1052
|
Check out these demos to see `@inglorious/web` in action:
|
|
@@ -1041,6 +1060,15 @@ Check out these demos to see `@inglorious/web` in action:
|
|
|
1041
1060
|
|
|
1042
1061
|
---
|
|
1043
1062
|
|
|
1063
|
+
## Related Packages
|
|
1064
|
+
|
|
1065
|
+
- [**@inglorious/ssx**](https://www.npmjs.com/package/@inglorious/ssx) - Static site generation with pre-rendering and client hydration
|
|
1066
|
+
- [**@inglorious/store**](https://www.npmjs.com/package/@inglorious/store) - Entity-based state management (used by @inglorious/web)
|
|
1067
|
+
- [**@inglorious/engine**](https://www.npmjs.com/package/@inglorious/engine) - Game engine with the same entity architecture
|
|
1068
|
+
- [**@inglorious/create-app**](https://www.npmjs.com/package/@inglorious/create-app) - Scaffolding tool for quick project setup
|
|
1069
|
+
|
|
1070
|
+
---
|
|
1071
|
+
|
|
1044
1072
|
## License
|
|
1045
1073
|
|
|
1046
1074
|
**MIT License - Free and open source**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inglorious/web",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.2",
|
|
4
4
|
"description": "A new web framework that leverages the power of the Inglorious Store combined with the performance and simplicity of lit-html.",
|
|
5
5
|
"author": "IceOnFire <antony.mistretta@gmail.com> (https://ingloriouscoderz.it)",
|
|
6
6
|
"license": "MIT",
|