@getvitops/emdash 0.2.0 → 0.2.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 ADDED
@@ -0,0 +1,33 @@
1
+ # @getvitops/emdash
2
+
3
+ ## 0.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 44de07f: Shared toolchain version + changelogs that reach consumers.
8
+ - **`@getvitops/astro` now shares the toolchain version** (`core`/`generator`/`utils`/`cli`/`vite`),
9
+ so it moves from its own `0.4.x` line onto the group's. The number changes; the package does not —
10
+ install it at the same version as `@getvitops/cli`. It was already being bumped on every toolchain
11
+ release by its dependency updates, and it depends on core, generator, utils _and_ vite, so a
12
+ separate version line cost the same churn while leaving the compatible pairing implicit. The
13
+ lockstep is load-bearing: the generator ships a snapshot of core's CSS + web-component bundles
14
+ while the Astro integration copies the _installed_ core's bundles, so mismatched versions can leave
15
+ the CSS and the components disagreeing.
16
+
17
+ - **Every package now ships its `CHANGELOG.md` in the published tarball.** npm does not include
18
+ changelogs by default, so none of this history previously reached anyone who installed the
19
+ packages. Per-package history now reads from `node_modules/@getvitops/<pkg>/CHANGELOG.md`;
20
+ curated toolchain-level release notes live in the repo's root `CHANGELOG.md`.
21
+
22
+ ## 0.2.0
23
+
24
+ ### Minor Changes
25
+
26
+ - New `vitopsHosting()` export — the hosting seam for EmDash sites. Resolves
27
+ the Astro adapter + EmDash database/storage for a target: `cloudflare`
28
+ (default — `@astrojs/cloudflare`, D1 `DB`, R2 `MEDIA`) or `node`
29
+ (`@astrojs/node` standalone, SQLite file, local uploads). Target precedence
30
+ `HOSTING` env > `options.target` > cloudflare; adapter packages resolve
31
+ lazily (install per target, missing ones fail with install instructions);
32
+ `options.node.database/storage` accept full descriptors (postgres/s3) for
33
+ production Node hosts.
package/README.md CHANGED
@@ -114,3 +114,10 @@ EmDash's Portable Text block fields are flat, so patterns with repeating data
114
114
  - **Field Kit `list` widgets** on `json` collection fields: model the repeating
115
115
  rows in the collection schema and render them at the template level with
116
116
  `Cards.astro` / `NodeRenderer.astro` from `@getvitops/astro`.
117
+
118
+ ## Changelog
119
+
120
+ This package's history: [`CHANGELOG.md`](./CHANGELOG.md) (shipped in the npm tarball, so it
121
+ also reads from `node_modules/@getvitops/emdash/CHANGELOG.md`). This package versions
122
+ independently of the `@getvitops` toolchain (`core`/`generator`/`utils`/`cli`/`vite`/`astro`,
123
+ which share one version).
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "@getvitops/emdash",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "EmDash CMS native plugin for the Vitops design system — Portable Text block types editors can insert from the admin, rendered with the design-system web components and CSS framework.",
5
5
  "license": "MIT",
6
6
  "files": [
7
7
  "dist",
8
- "src/astro"
8
+ "src/astro",
9
+ "CHANGELOG.md"
9
10
  ],
10
11
  "type": "module",
11
12
  "types": "./dist/index.d.mts",