@lessly/ui 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.
Files changed (2) hide show
  1. package/README.md +5 -4
  2. package/package.json +3 -2
package/README.md CHANGED
@@ -71,10 +71,11 @@ npm package published to npmjs always contains the package, never the Storybook
71
71
  | `pnpm test` | Vitest |
72
72
  | `pnpm type-check` | `tsc --noEmit` |
73
73
  | `pnpm lint` | ESLint |
74
- | `pnpm changeset` / `pnpm release:version` | Versioning (describe change → apply bump). To release, push a `v<version>` git tag — see [`RELEASING.md`](./RELEASING.md); do **not** use `changeset tag`, whose `name@version` tags do not match the workflow's `v*` trigger. |
74
+ | `pnpm changeset` / `pnpm release:version` | Versioning via Changesets (describe change → apply bump + changelog) — see [`RELEASING.md`](./RELEASING.md) |
75
+ | `pnpm release:publish` | CI-only publish wrapper (publish to npmjs if needed + `changeset tag`) — used by `.github/workflows/version.yml` |
75
76
 
76
77
  ## Releasing
77
78
 
78
- Versioning is via Changesets; publishing to the public npm registry is
79
- automated by a tag-triggered GitHub Actions workflow
80
- (`.github/workflows/release.yml`). See [`RELEASING.md`](./RELEASING.md).
79
+ Add a changeset (`pnpm changeset`) to each significant PR; merging the
80
+ auto-generated "Release: version packages" PR publishes to the public npm
81
+ registry and tags `v<version>`. See [`RELEASING.md`](./RELEASING.md).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lessly/ui",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Lessly design system — shared UI primitives, tokens, and theme",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -110,7 +110,8 @@
110
110
  "storybook": "storybook dev -p 6006 --no-open",
111
111
  "build-storybook": "storybook build",
112
112
  "changeset": "changeset",
113
- "release:version": "changeset version",
113
+ "release:version": "changeset version && node scripts/stamp-changelog-date.mjs",
114
+ "release:publish": "node scripts/release-publish.mjs",
114
115
  "release:tag": "changeset tag"
115
116
  }
116
117
  }