@uniweb/build 0.44.0 → 0.44.1

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.44.0",
3
+ "version": "0.44.1",
4
4
  "description": "Build tooling for the Uniweb Component Web Platform",
5
5
  "type": "module",
6
6
  "exports": {
@@ -20,7 +20,8 @@
20
20
  "./hosts": "./src/hosts/index.js",
21
21
  "./i18n": "./src/i18n/index.js",
22
22
  "./uwx": "./src/uwx/index.js",
23
- "./import-map-plugin": "./src/import-map-plugin.js"
23
+ "./import-map-plugin": "./src/import-map-plugin.js",
24
+ "./emit-surface": "./src/uwx/emit-surface.json"
24
25
  },
25
26
  "bin": {},
26
27
  "files": [
@@ -56,12 +57,12 @@
56
57
  "js-yaml": "^4.1.0",
57
58
  "sharp": "^0.35.3",
58
59
  "yaml": "^2.5.0",
59
- "@uniweb/content-reader": "^1.2.4",
60
- "@uniweb/schemas": "^0.2.13",
61
- "@uniweb/semantic-parser": "^1.4.0",
62
60
  "@uniweb/content-writer": "^0.3.4",
61
+ "@uniweb/semantic-parser": "^1.4.0",
62
+ "@uniweb/projections": "^0.5.13",
63
63
  "@uniweb/theming": "^0.1.15",
64
- "@uniweb/projections": "^0.5.13"
64
+ "@uniweb/content-reader": "^1.2.4",
65
+ "@uniweb/schemas": "^0.2.13"
65
66
  },
66
67
  "optionalDependencies": {
67
68
  "@uniweb/runtime": "^0.19.3"
@@ -99,6 +100,7 @@
99
100
  }
100
101
  },
101
102
  "scripts": {
102
- "test": "vitest run"
103
+ "test": "vitest run",
104
+ "emit-surface": "node scripts/gen-emit-surface.mjs"
103
105
  }
104
106
  }
@@ -0,0 +1,119 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "model": "@uniweb/site-content",
4
+ "producer": "@uniweb/build/src/uwx/site.js",
5
+ "kinds": {
6
+ "closed": "A fixed key set. Every key is listed; a consumer may assert it.",
7
+ "passthrough": "Author keys copied verbatim, with no allowlist. ⛔ No closed key set exists — a consumer must NOT assert one.",
8
+ "records": "Content records with their own field shapes, not site.yml config keys."
9
+ },
10
+ "systemKeys": [
11
+ "$uuid",
12
+ "$id",
13
+ "$model"
14
+ ],
15
+ "sections": {
16
+ "info": {
17
+ "kind": "closed",
18
+ "keys": {
19
+ "description": [
20
+ "site.yml::description"
21
+ ],
22
+ "favicon": [
23
+ "site.yml::favicon"
24
+ ],
25
+ "foundation": [
26
+ "site.yml::foundation"
27
+ ],
28
+ "name": [
29
+ "site.yml::name"
30
+ ],
31
+ "tags": [
32
+ "site.yml::tags"
33
+ ],
34
+ "template": [
35
+ "site.yml::template"
36
+ ]
37
+ }
38
+ },
39
+ "settings": {
40
+ "kind": "closed",
41
+ "keys": {
42
+ "agents": [
43
+ "site.yml::agents"
44
+ ],
45
+ "assistant": [
46
+ "site.yml::assistant"
47
+ ],
48
+ "base": [
49
+ "site.yml::base"
50
+ ],
51
+ "build": [
52
+ "site.yml::build"
53
+ ],
54
+ "default_language": [
55
+ "site.yml::defaultLanguage"
56
+ ],
57
+ "fetch": [
58
+ "site.yml::fetch",
59
+ "site.yml::data"
60
+ ],
61
+ "fetcher": [
62
+ "site.yml::fetcher"
63
+ ],
64
+ "head_html": null,
65
+ "keywords": [
66
+ "site.yml::keywords"
67
+ ],
68
+ "languages": [
69
+ "site.yml::languages"
70
+ ],
71
+ "layout": [
72
+ "site.yml::layout"
73
+ ],
74
+ "paths": [
75
+ "site.yml::paths"
76
+ ],
77
+ "placeholders": [
78
+ "site.yml::placeholders"
79
+ ],
80
+ "publish_languages": [
81
+ "site.yml::publishLanguages"
82
+ ],
83
+ "search": [
84
+ "site.yml::search"
85
+ ],
86
+ "seo": [
87
+ "site.yml::seo"
88
+ ],
89
+ "submit": [
90
+ "site.yml::submit"
91
+ ],
92
+ "theme": null,
93
+ "tracking": [
94
+ "site.yml::tracking"
95
+ ]
96
+ }
97
+ },
98
+ "services": {
99
+ "kind": "passthrough",
100
+ "authoredAs": "site.yml::$services"
101
+ },
102
+ "secrets": {
103
+ "kind": "passthrough",
104
+ "authoredAs": "site.yml::$secrets"
105
+ },
106
+ "pages": {
107
+ "kind": "records"
108
+ },
109
+ "layout_sections": {
110
+ "kind": "records"
111
+ },
112
+ "extensions": {
113
+ "kind": "records"
114
+ },
115
+ "queries": {
116
+ "kind": "records"
117
+ }
118
+ }
119
+ }