@sethlivingston/cathode 0.1.0 → 0.1.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 CHANGED
@@ -75,12 +75,16 @@ Open [`demo/index.html`](./demo/index.html) for the full component gallery.
75
75
  The published package is `@sethlivingston/cathode`, versioned by the root
76
76
  `package.json`. To cut a release:
77
77
 
78
- 1. Bump `version` in `package.json`, run `npm run build`, and commit (dist is
79
- committed; CI fails if it drifts from src).
80
- 2. Tag the commit `v<version>` (e.g. `v0.2.0`) and push the tag.
78
+ 1. Run `npm version patch` (or `minor` / `major`) this bumps `package.json`,
79
+ rebuilds `dist/` (the bundle banner embeds the version), commits, and
80
+ creates the `v<version>` tag in one step.
81
+ 2. Push it all: `git push origin main --follow-tags`
81
82
  3. The Release workflow validates the build, publishes to npm via OIDC trusted
82
83
  publishing with provenance, and creates the GitHub release.
83
84
 
85
+ If you bump the version by hand instead, remember `npm run build` before
86
+ committing — the workflow fails if the committed `dist/` doesn't match `src/`.
87
+
84
88
  Prerequisites: the `npm-publish` GitHub environment (tag policy `v*`) and an
85
89
  npm trusted-publisher binding to `.github/workflows/release.yml`.
86
90
 
package/dist/cathode.css CHANGED
@@ -1,4 +1,4 @@
1
- /*! cathode v0.1.0 — dark-only design system · github.com/sethlivingston/cathode · MIT (fonts: IBM Plex, OFL-1.1) */
1
+ /*! cathode v0.1.1 — dark-only design system · github.com/sethlivingston/cathode · MIT (fonts: IBM Plex, OFL-1.1) */
2
2
 
3
3
  /* cathode/reset.css — minimal modern reset (subset of modern-normalize, MIT) */
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sethlivingston/cathode",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Dark-only CSS design system: inky surfaces, hairline borders, mono for data, arcade semantic color. Built to be driven by AI agents.",
5
5
  "license": "MIT",
6
6
  "author": "Seth Livingston",
@@ -30,7 +30,8 @@
30
30
  "AGENTS.md"
31
31
  ],
32
32
  "scripts": {
33
- "build": "node build.mjs"
33
+ "build": "node build.mjs",
34
+ "version": "node build.mjs && git add dist"
34
35
  },
35
36
  "publishConfig": {
36
37
  "access": "public"