@spunto/build 0.3.0 → 0.3.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/README.md +5 -1
- package/package.json +6 -1
package/README.md
CHANGED
|
@@ -110,7 +110,11 @@ React, **no** `process.env`, and knows **nothing** about organizations, users or
|
|
|
110
110
|
`zod` is the one exception, and a deliberate one: `./spec` describes a file format that two
|
|
111
111
|
products have to validate identically, and re-deriving the same schema on each side is exactly the
|
|
112
112
|
duplication this package exists to remove. It is a **peer** dependency (`^4`), so a consumer's own
|
|
113
|
-
zod is the one used — which matters, since apps extend these schemas with their own.
|
|
113
|
+
zod is the one used — which matters, since apps extend these schemas with their own. And an
|
|
114
|
+
**optional** one, because a peer applies to the whole package while only `./spec` needs it: a
|
|
115
|
+
consumer that imports `./naming` or `./steps` and nothing else should not have a schema library
|
|
116
|
+
installed on its behalf. Import `./spec` without zod and resolution fails loudly, which is the
|
|
117
|
+
right trade for not taxing every other entry point.
|
|
114
118
|
|
|
115
119
|
Concretely: **no platform I/O**. No database, no Docker socket, no WebSocket. This package produces
|
|
116
120
|
strings and parses strings; its only network call is outbound HTTP to a public extension registry,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spunto/build",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Spunto's shared Build engine \u2014 the devcontainer image protocol and VS Code extension registry clients, with no database, no HTTP framework and no UI.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -61,5 +61,10 @@
|
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
63
|
"zod": "^4"
|
|
64
|
+
},
|
|
65
|
+
"peerDependenciesMeta": {
|
|
66
|
+
"zod": {
|
|
67
|
+
"optional": true
|
|
68
|
+
}
|
|
64
69
|
}
|
|
65
70
|
}
|