@getvitops/skills 0.1.0-alpha.0 → 0.1.0-alpha.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/CHANGELOG.md +12 -0
- package/package.json +1 -1
- package/skills/content-and-deploys/SKILL.md +7 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @getvitops/skills
|
|
2
2
|
|
|
3
|
+
## 0.1.0-alpha.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 322dd6a: Tooling fixes from the vitops.ca build (findings 14, 23, 24, 25).
|
|
8
|
+
|
|
9
|
+
- **`vitops emdash form-template --from <seed.json | export.json> [--name contact] [--site site.json] [--dry]`** copies a `vitops_form` block into `site.templates` with the renderer's own field resolver, so the generated privacy policy and `check-prerender` know what the form collects. A re-run is a no-op, and the result is validated before it is written.
|
|
10
|
+
- `site.templates` form fields accept `checkboxes` (the block's spelling), and the template union now discriminates on `type`, so a bad entry is reported at its path instead of as a bare "Invalid input".
|
|
11
|
+
- **`prepare-db` fails fast and says why.** It validates `site.json` before starting the dev server, writes the server's output to `.vitops/prepare-db.log`, stops waiting as soon as the log shows an error, and prints the log's tail on failure, instead of waiting out a five-minute timeout with nothing to read.
|
|
12
|
+
- **`check-prerender`** skips the toolkit's own assets under `vitops/` (no more "0 h1" for the theme-editor page) and warns when the sitemap lists URLs the build produced no page for (a collection with no `urlPattern` is listed as `/<collection>/<slug>` while the site serves `/<slug>`).
|
|
13
|
+
- The emdash template ignores the duplicate `pnpm-@getvitops+skills-*` links `skills experimental_sync` leaves beside each skill; the `content-and-deploys` skill explains the sitemap warning.
|
|
14
|
+
|
|
3
15
|
## 0.1.0-alpha.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getvitops/skills",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.1",
|
|
4
4
|
"description": "Agent skills for sites built with the Vitops toolchain. Installed as a dependency and linked into a project with `skills experimental_sync`, so they update with the package.",
|
|
5
5
|
"homepage": "https://docs.vitops.ca",
|
|
6
6
|
"bugs": "https://github.com/getvitops/design-system/issues",
|
|
@@ -101,3 +101,10 @@ reviewers' approval** like any prod deploy (relax that rule if editors' publishe
|
|
|
101
101
|
unattended), and bursts of publishes queue behind the `deploy-prod` concurrency group rather than
|
|
102
102
|
cancelling each other. Without the hook, a manual run of **Deploy prod** (or a push to `main`) does
|
|
103
103
|
the same job.
|
|
104
|
+
|
|
105
|
+
## Sitemap lists `/pages/<slug>`
|
|
106
|
+
|
|
107
|
+
A collection with no `urlPattern` is listed as `/<collection>/<slug>`, so the sitemap would send
|
|
108
|
+
search engines to 404s while the site serves `/<slug>`. `vitops emdash build` (check-prerender) warns
|
|
109
|
+
when the sitemap lists URLs the build has no page for. Set the pattern on the collection (the seed's
|
|
110
|
+
`urlPattern`, or Content types in the admin); a database made before the seed set it needs the admin fix.
|