@bleedingdev/modern-js-create 3.2.0-ultramodern.103 → 3.2.0-ultramodern.105
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 +9 -3
- package/dist/index.js +483 -144
- package/dist/types/ultramodern-package-source.d.ts +28 -0
- package/dist/types/ultramodern-workspace.d.ts +1 -2
- package/package.json +4 -4
- package/template/modern.config.ts.handlebars +8 -8
- package/template/package.json.handlebars +14 -14
- package/template/pnpm-workspace.yaml +5 -0
- package/template/scripts/check-i18n-strings.mjs +114 -2
- package/template/scripts/validate-ultramodern.mjs.handlebars +50 -42
- package/template/tests/ultramodern.contract.test.ts.handlebars +14 -8
- package/template-workspace/README.md.handlebars +12 -3
- package/template-workspace/pnpm-workspace.yaml +6 -1
- package/template-workspace/scripts/setup-agent-reference-repos.mjs +8 -6
package/README.md
CHANGED
|
@@ -42,7 +42,8 @@ domains to delete. It generates:
|
|
|
42
42
|
- `packages/shared-*` placeholders for shared contracts, tokens, and API
|
|
43
43
|
support.
|
|
44
44
|
- `.modernjs/ultramodern-generated-contract.json` with MF, Effect, i18n,
|
|
45
|
-
federated CSS, Cloudflare,
|
|
45
|
+
federated CSS, Cloudflare, route publicness, generated public-surface, and
|
|
46
|
+
Zephyr dependency metadata.
|
|
46
47
|
|
|
47
48
|
Validate the generated workspace before making application changes:
|
|
48
49
|
|
|
@@ -146,11 +147,16 @@ client, `localisedUrls`, locale JSON, CSS layer, and Cloudflare Worker output.
|
|
|
146
147
|
The shell consumes vertical UI through MF manifests and vertical APIs through
|
|
147
148
|
generated Effect clients exported by the vertical packages.
|
|
148
149
|
|
|
149
|
-
Route
|
|
150
|
+
Route metadata is route-owned. Each app writes
|
|
150
151
|
`src/routes/ultramodern-route-metadata` and passes
|
|
151
152
|
`ultramodernLocalisedUrls` into `@modern-js/plugin-i18n`. Locale JSON is served
|
|
152
153
|
from `/locales/{{lng}}/{{ns}}.json`; Czech and English routes are generated from
|
|
153
|
-
the route owner, not from shell rewrites.
|
|
154
|
+
the route owner, not from shell rewrites. Routes default to
|
|
155
|
+
`privateByDefault: true` and `publicnessDefault: private-app-screen`; generated
|
|
156
|
+
public files use only explicit `public && indexable` route metadata, so private
|
|
157
|
+
app screens publish only a disallowing `robots.txt` by default. Sitemap,
|
|
158
|
+
manifest, `llms.txt`, API catalog, JSON-LD, and broad web profile/certification
|
|
159
|
+
output stay omitted unless a safe public input exists.
|
|
154
160
|
|
|
155
161
|
CSS federation is explicit:
|
|
156
162
|
|