@jokerized/decksmith 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
@@ -408,9 +408,17 @@ consequences worth knowing before you touch anything:
408
408
  npmjs.com names `release.yml` exactly, and npm does not check that configuration when
409
409
  you save it. Rename the file and publishing fails as an authentication error that says
410
410
  nothing about a rename.
411
+ - **So is the environment name.** The job runs in the `release` environment and the
412
+ trusted publisher requires that claim, which is what stops some *other* workflow in
413
+ this repository from publishing. Both ends have to say `release`.
411
414
  - **`repository.url` in `package.json` must match this repo exactly**, for the same
412
415
  reason.
413
416
 
417
+ The `release` environment is also where deployment protection lives. It is restricted to
418
+ `v*` **tags**, so a push to a branch cannot reach it. Required reviewers would go here
419
+ too — GitHub gates that rule behind a paid plan for private repositories, so there is no
420
+ human approval step today; anyone who can push a `v*` tag can publish.
421
+
414
422
  ```sh
415
423
  npm version minor # bumps package.json and tags
416
424
  git push --follow-tags
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jokerized/decksmith",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Turn a source document into an animated explanation deck.",
5
5
  "type": "module",
6
6
  "license": "MIT",