@degreesign/webapp 1.7.6 → 1.7.7
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 +7 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
- [Build API](#build-api)
|
|
19
19
|
- [File Utilities](#file-utilities)
|
|
20
20
|
- [Types](#types)
|
|
21
|
+
- [Architecture](#architecture)
|
|
21
22
|
- [Configuration Options](#configuration-options)
|
|
22
23
|
- [FAQ](#faq)
|
|
23
24
|
- [Keywords](#keywords)
|
|
@@ -219,6 +220,12 @@ Small, dependency-free Node.js helpers used internally and exported for reuse in
|
|
|
219
220
|
|
|
220
221
|
Additional public types `ConfigBuild`, `ConfigBase`, `ConfigWebApp`, `ConfigServer`, `MetaTags`, `MetaTagsInput` and `WebManifest` are exported from the package source for advanced typing.
|
|
221
222
|
|
|
223
|
+
## Architecture
|
|
224
|
+
|
|
225
|
+
The package is one entry (`index.ts`) over a build core (`src/main.ts`) that branches on `ConfigBuild.type`: a web pipeline (`src/web.ts`) for PWAs and a Node target for servers, with file, tag and type support in `src/utils.ts` and `src/types.ts`. The service worker and its register script ship to the app from `src/sw.ts` and `src/sw_register.ts`.
|
|
226
|
+
|
|
227
|
+
Open [`docs/architecture.html`](https://degreesign.github.io/ds_webapp/architecture.html) — published by GitHub Pages from the `docs/` directory — for the full map: bands in dependency order, every module and function with its definition line and signature, the real call, build and type relations, and the primary flow from one config to the emitted output. The page is self-contained and works offline.
|
|
228
|
+
|
|
222
229
|
## Configuration Options
|
|
223
230
|
|
|
224
231
|
### Base options (`ConfigBase`)
|