@getvitops/create 0.9.0-alpha.2 → 0.9.0-alpha.3
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
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @getvitops/create
|
|
2
2
|
|
|
3
|
+
## 0.9.0-alpha.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 8543f73: `vitops agents` (also `vitops agents sync`) now keeps a short fenced block at the **top** of `AGENTS.md` instead of appending a long one. The block names the config, says to prefer the framework's classes, and links the skills linked under `.agents/skills` from installed `@getvitops/*` packages (with a one-line "use when …" from each), plus `vitops docs <topic>` for reference; the generate-command list and the topic list are gone. A later run replaces only that block in place and leaves the rest of the file alone; with no block, it is added at the top; a block from an older release is updated where it is. The command also links every skill an installed `@getvitops/skills` ships, so it works without the `skills` CLI. The templates run it from `prepare` and ship the block already in `AGENTS.md`.
|
|
8
|
+
|
|
3
9
|
## 0.9.0-alpha.2
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getvitops/create",
|
|
3
|
-
"version": "0.9.0-alpha.
|
|
3
|
+
"version": "0.9.0-alpha.3",
|
|
4
4
|
"description": "Project templates for the Vitops design system — scaffold wired-up sites with `vp create @getvitops`.",
|
|
5
5
|
"homepage": "https://docs.vitops.ca",
|
|
6
6
|
"bugs": "https://github.com/getvitops/design-system/issues",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"access": "public"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@getvitops/generator": "8.3.0-alpha.
|
|
22
|
+
"@getvitops/generator": "8.3.0-alpha.3"
|
|
23
23
|
},
|
|
24
24
|
"engines": {
|
|
25
25
|
"node": ">=24"
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
<!-- vitops:start -->
|
|
2
|
+
|
|
3
|
+
Built with the Vitops design system (`@getvitops/*`); tokens and site facts live in `site.json`.
|
|
4
|
+
Prefer its classes and patterns over hand-written CSS. Load the skill that matches the task:
|
|
5
|
+
|
|
6
|
+
- [contact-form](.agents/skills/contact-form/SKILL.md) — Use when adding or changing a form, fixing submissions that don't arrive, setting up noti…
|
|
7
|
+
- [content-and-deploys](.agents/skills/content-and-deploys/SKILL.md) — Use for any deploy or build problem, stale or missing content, "my publish isn't live", s…
|
|
8
|
+
- [csp](.agents/skills/csp/SKILL.md) — Use when changing `public/_headers`, adding an embed, tracking snippet or third-party scr…
|
|
9
|
+
- [custom-blocks](.agents/skills/custom-blocks/SKILL.md) — Use before creating, renaming or deleting any block type, any `src/components/blocks/*` r…
|
|
10
|
+
- [vitops-design-system](.agents/skills/vitops-design-system/SKILL.md) — Use when styling or authoring pages or components (choosing utility/pattern classes, colo…
|
|
11
|
+
|
|
12
|
+
Reference, rendered from this project: `vitops docs <topic>` (no topic lists them).
|
|
13
|
+
<!-- managed by `vitops agents sync` · @getvitops/cli@8.3.0-alpha.2 — edit outside this block -->
|
|
14
|
+
<!-- vitops:end -->
|
|
15
|
+
|
|
1
16
|
This is an EmDash CMS website (Astro on Cloudflare Workers, D1 + R2 — public pages
|
|
2
17
|
prerendered, the Worker serving the admin and API) styled by the Vitops design system.
|
|
3
18
|
|
|
@@ -22,7 +37,7 @@ prerendered, the Worker serving the admin and API) styled by the Vitops design s
|
|
|
22
37
|
- Keep the Worker cron trigger in `wrangler.jsonc`: it publishes content scheduled in the admin.
|
|
23
38
|
- `src/assets/placeholder/` is wireframe stand-in imagery; delete it once real assets land.
|
|
24
39
|
- Prefer framework classes (utilities, patterns, type roles like `font-heading`) over bespoke CSS.
|
|
25
|
-
`vp exec vitops
|
|
40
|
+
`vp exec vitops docs classes` prints the full class reference.
|
|
26
41
|
- `SETUP.html` is the onboarding checklist (`.agents/skills/setup/`). Tick a box only for a step you
|
|
27
42
|
completed, never for a human-only one (the Cloudflare API token, domain cutover, legal documents).
|
|
28
43
|
|
|
@@ -147,8 +147,8 @@ and media in the storage backend (bucket/directory copy).
|
|
|
147
147
|
agents answer from current documentation. Your running site also exposes its
|
|
148
148
|
own content MCP server at `/_emdash/api/mcp` (authenticated).
|
|
149
149
|
- **Skills** (`.agents/skills/`): `promote` dispatches the dev → main
|
|
150
|
-
promotion workflow.
|
|
151
|
-
|
|
150
|
+
promotion workflow. The short block at the top of `AGENTS.md` (fenced by
|
|
151
|
+
`<!-- vitops:start -->`) lists the toolkit skills; `vp install` refreshes it (`vitops agents sync`).
|
|
152
152
|
- **EmDash skills** are installed per project so they match the pinned `emdash`
|
|
153
153
|
version: `vp dlx skills add emdash-cms/skills --skill '*' -y`,
|
|
154
154
|
then commit `.agents/skills/`, the `.claude/skills/` symlinks and `skills-lock.json`. Update with
|
|
@@ -173,7 +173,7 @@ Useful commands (via `@getvitops/cli`):
|
|
|
173
173
|
|
|
174
174
|
```bash
|
|
175
175
|
vp exec vitops validate site.json # check the config against the schema
|
|
176
|
-
vp exec vitops agents
|
|
176
|
+
vp exec vitops agents sync # refresh the managed block at the top of AGENTS.md and link the skills
|
|
177
177
|
vpr build:css # regenerate the CSS manually
|
|
178
178
|
```
|
|
179
179
|
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"build:css": "vitops generate -i site.json -f tailwind -o src/styles",
|
|
19
19
|
"lint:design": "vitops lint -i site.json -f tailwind --strict",
|
|
20
20
|
"sop": "vitops generate -i site.json -f css -o .vitops/sop",
|
|
21
|
-
"prepare": "vp config && skills experimental_sync -y -a claude-code --no-frozen-lockfile"
|
|
21
|
+
"prepare": "vp config && skills experimental_sync -y -a claude-code --no-frozen-lockfile && vitops agents sync -i site.json"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@astrojs/cloudflare": "^14.0.0",
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
<!-- vitops:start -->
|
|
2
|
+
|
|
3
|
+
Built with the Vitops design system (`@getvitops/*`); tokens and site facts live in `site.json`.
|
|
4
|
+
Prefer its classes and patterns over hand-written CSS. Load the skill that matches the task:
|
|
5
|
+
|
|
6
|
+
- [contact-form](.agents/skills/contact-form/SKILL.md) — Use when adding or changing a form, fixing submissions that don't arrive, setting up noti…
|
|
7
|
+
- [content-and-deploys](.agents/skills/content-and-deploys/SKILL.md) — Use for any deploy or build problem, stale or missing content, "my publish isn't live", s…
|
|
8
|
+
- [csp](.agents/skills/csp/SKILL.md) — Use when changing `public/_headers`, adding an embed, tracking snippet or third-party scr…
|
|
9
|
+
- [custom-blocks](.agents/skills/custom-blocks/SKILL.md) — Use before creating, renaming or deleting any block type, any `src/components/blocks/*` r…
|
|
10
|
+
- [vitops-design-system](.agents/skills/vitops-design-system/SKILL.md) — Use when styling or authoring pages or components (choosing utility/pattern classes, colo…
|
|
11
|
+
|
|
12
|
+
Reference, rendered from this project: `vitops docs <topic>` (no topic lists them).
|
|
13
|
+
<!-- managed by `vitops agents sync` · @getvitops/cli@8.3.0-alpha.2 — edit outside this block -->
|
|
14
|
+
<!-- vitops:end -->
|
|
15
|
+
|
|
1
16
|
This is a static Astro website styled by the Vitops design system, deployed
|
|
2
17
|
as Cloudflare Workers static assets (no server runtime, no database).
|
|
3
18
|
|
|
@@ -14,8 +29,8 @@ as Cloudflare Workers static assets (no server runtime, no database).
|
|
|
14
29
|
portrait, landscape; SVG + PNG) for layout work before real imagery
|
|
15
30
|
exists. Delete the directory once real assets land.
|
|
16
31
|
- Prefer framework CSS classes (utilities, patterns, type roles like
|
|
17
|
-
`font-heading`) over bespoke CSS.
|
|
18
|
-
full
|
|
32
|
+
`font-heading`) over bespoke CSS. `vp exec vitops docs classes` prints the
|
|
33
|
+
full class vocabulary.
|
|
19
34
|
- **Layout foundations — these are the answer, not a starting point.** Six
|
|
20
35
|
substitutions carry the structure of nearly every page:
|
|
21
36
|
| About to write… | Write instead |
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"build:css": "vitops generate -i site.json -f css -o src/styles",
|
|
17
17
|
"lint:design": "vitops lint -i site.json -f css --strict",
|
|
18
18
|
"sop": "vitops generate -i site.json -f css -o .vitops/sop",
|
|
19
|
-
"prepare": "vp config && skills experimental_sync -y -a claude-code --no-frozen-lockfile"
|
|
19
|
+
"prepare": "vp config && skills experimental_sync -y -a claude-code --no-frozen-lockfile && vitops agents sync -i site.json"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@getvitops/astro": "latest",
|