@a2f0/skyline 0.1.1 → 0.1.2

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/docs/package.md +8 -6
  2. package/package.json +1 -1
package/docs/package.md CHANGED
@@ -193,14 +193,16 @@ ship-pr bumps the `package.json` patch version on every merge (see
193
193
  npm's `latest` with [trusted publishing](https://docs.npmjs.com/trusted-publishers) and
194
194
  provenance. No npm token is stored: the publish job runs in the `npm` environment, which
195
195
  only `main` can deploy to, and npm's trusted publisher names that environment and
196
- `npm-publish.yml`. A deliberate major or minor bump in a PR is kept. Runs never overlap,
197
- and when merges land together only the newest pending run starts, so intermediate
196
+ `npm-publish.yml`. A deliberate major or minor bump in a PR is kept. Runs on `main` never
197
+ overlap, and when merges land together only the newest pending run starts, so intermediate
198
198
  versions can be skipped on npm.
199
199
 
200
- The workflow installs, typechecks, runs the package suite (`bun run check:package`) in the
201
- runner's Google Chrome, and packs the tarball, all without publish rights; the publish job
202
- receives only that tarball and runs `npm publish --ignore-scripts`. The merged commit has
203
- already passed the full `bun run check`.
200
+ The workflow first runs the full `bun run check`, browser suites included, in the runner's
201
+ Google Chrome. Only when that passes does it build and pack the tarball; both jobs run without
202
+ publish rights, and the publish job receives only that tarball and runs
203
+ `npm publish --ignore-scripts`. Dispatching the workflow on another branch
204
+ (`gh workflow run npm-publish.yml --ref <branch>`) runs only the tests, in a queue of its own,
205
+ so it never displaces a pending publish.
204
206
 
205
207
  npm adds a trusted publisher only to a package that already exists, so the first version
206
208
  is published by hand from an up-to-date `main`. Until then the workflow fails with that
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@a2f0/skyline",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Interactive Chicago skyline viewer and reusable Three.js building models",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {