@jgb-solutions/kit 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/CHANGELOG.md ADDED
@@ -0,0 +1,12 @@
1
+ # Changelog
2
+
3
+ All notable changes to `@jgb-solutions/kit`. Versions follow semver.
4
+
5
+ ## 0.1.1
6
+
7
+ - Published from GitHub Actions with npm trusted publishing and provenance: the first release built and published by CI. No code changes.
8
+ - The publish workflow sets the dist-tag explicitly: `latest` for stable versions, `next` for prereleases.
9
+
10
+ ## 0.1.0
11
+
12
+ - `@jgb-solutions/kit/access`: Cloudflare Access's token, checked on the server (`verifyAccess`, `accessToken`, `accessTestKeys`, `accessTestProblems`). Published by hand, without provenance.
package/README.md CHANGED
@@ -68,6 +68,8 @@ A new module goes in `src/<name>.ts` with `src/<name>.test.ts`, and gets its own
68
68
 
69
69
  ## Publishing
70
70
 
71
- Only GitHub Actions publishes (`.github/workflows/publish.yml`), when a GitHub release is published for the tag `vX.Y.Z` matching `package.json`'s version. It uses npm's trusted publishing (OIDC): no npm token is stored anywhere, and npm attaches a provenance statement that links each version to the commit and workflow that built it. The `npm` environment can hold each publish for the owner's approval.
71
+ Every release from 0.1.1 on comes from GitHub, with provenance. GitHub Actions publishes (`.github/workflows/publish.yml`) when a GitHub release is published for the tag `vX.Y.Z` matching `package.json`'s version, after the run is approved in the `npm` environment. It uses npm's trusted publishing (OIDC): no npm token is stored anywhere, and npm attaches a provenance statement that links each version to the commit and workflow that built it (check it on the package's npm page, or with `npm audit signatures`). A stable version moves the `latest` tag; a prerelease (`1.2.0-beta.1`) goes to `next`.
72
+
73
+ 0.1.0, the first version, was published by hand: npm only lets a trusted publisher be set up on a package that already exists. It has no provenance; its code is the same as 0.1.1's.
72
74
 
73
75
  Versions follow semver. A breaking change to any module is a new major version.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jgb-solutions/kit",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Generic plumbing for web apps on Bun and Cloudflare Workers: small, typed, tree-shakable modules.",
5
5
  "license": "MIT",
6
6
  "author": "JGB Solutions",
@@ -22,6 +22,7 @@
22
22
  "files": [
23
23
  "dist",
24
24
  "README.md",
25
+ "CHANGELOG.md",
25
26
  "LICENSE"
26
27
  ],
27
28
  "exports": {