@uniweb/build 0.16.8 → 0.16.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniweb/build",
3
- "version": "0.16.8",
3
+ "version": "0.16.10",
4
4
  "description": "Build tooling for the Uniweb Component Web Platform",
5
5
  "type": "module",
6
6
  "exports": {
@@ -59,15 +59,15 @@
59
59
  "js-yaml": "^4.1.0",
60
60
  "sharp": "^0.35.3",
61
61
  "yaml": "^2.5.0",
62
- "@uniweb/theming": "0.1.15",
63
- "@uniweb/projections": "0.2.4",
64
- "@uniweb/content-writer": "0.3.3"
62
+ "@uniweb/content-writer": "0.3.3",
63
+ "@uniweb/projections": "0.2.5",
64
+ "@uniweb/theming": "0.1.15"
65
65
  },
66
66
  "optionalDependencies": {
67
67
  "@uniweb/content-reader": "1.2.2",
68
- "@uniweb/runtime": "0.9.3",
69
- "@uniweb/schemas": "0.2.5",
70
- "@uniweb/semantic-parser": "1.2.1"
68
+ "@uniweb/runtime": "0.9.4",
69
+ "@uniweb/semantic-parser": "1.2.1",
70
+ "@uniweb/schemas": "0.2.5"
71
71
  },
72
72
  "peerDependencies": {
73
73
  "vite": "^5.0.0 || ^6.0.0 || ^7.0.0",
@@ -76,7 +76,7 @@
76
76
  "@tailwindcss/vite": "^4.0.0",
77
77
  "@vitejs/plugin-react": "^4.0.0 || ^5.0.0",
78
78
  "vite-plugin-svgr": "^4.0.0",
79
- "@uniweb/core": "0.8.1"
79
+ "@uniweb/core": "0.8.2"
80
80
  },
81
81
  "peerDependenciesMeta": {
82
82
  "vite": {
@@ -100,6 +100,11 @@ const INFO_TO_SITE_YML = {
100
100
  fetcher: 'fetcher',
101
101
  build: 'build',
102
102
  search: 'search',
103
+ // Safe to project back because nothing STAMPS it: `submit` is authored-only,
104
+ // so a pull can never launder a deploy-derived value into authored config the
105
+ // way a key carried by both would. A host-supplied destination is resolved at
106
+ // render time and never enters `info`.
107
+ submit: 'submit',
103
108
  agents: 'agents',
104
109
  paths: 'paths',
105
110
  data: 'data',
package/src/uwx/site.js CHANGED
@@ -629,6 +629,13 @@ export async function siteProjectToDocument(siteRoot, opts = {}) {
629
629
  setIf(info, 'fetcher', siteYml.fetcher)
630
630
  setIf(info, 'build', siteYml.build)
631
631
  setIf(info, 'search', siteYml.search)
632
+ // `submit` — where this site's forms send submissions. Same family as
633
+ // `fetcher`/`search`: the site declares it, the runtime reads it, and it
634
+ // round-trips verbatim. It has to be listed HERE because this lane is an
635
+ // explicit allowlist while the bundle lane spreads all of site.yml — without
636
+ // the line a `submit:` block works on a static host and vanishes silently on
637
+ // the synced lane, which is the worst shape a config bug can take.
638
+ setIf(info, 'submit', siteYml.submit)
632
639
  // `agents` — the projections opt-out + route exclusions. Carried because the
633
640
  // app is a second PUBLISHER of projections and derives them from stored
634
641
  // content: without this block it cannot see `agents: false` or