@legenki/print2medusa 0.8.0 → 0.8.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 +19 -0
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -350,6 +350,25 @@ cannot: that the sync claim is atomic under concurrent inserts, and that a
350
350
  redelivered webhook produces one row rather than two — both of which depend on
351
351
  real unique-index behaviour.
352
352
 
353
+ ### Releasing
354
+
355
+ Publishing runs from CI on a version tag, so the tarball is always built from
356
+ a checkout that passed the full suite rather than from a maintainer's laptop:
357
+
358
+ ```bash
359
+ npm version 0.8.2 --no-git-tag-version # edit CHANGELOG first
360
+ git commit -am "docs: release 0.8.2"
361
+ git tag -a v0.8.2 -m "0.8.2"
362
+ git push origin main --follow-tags
363
+ ```
364
+
365
+ The workflow refuses to publish if the tag and `package.json` disagree, or if
366
+ that version is already on npm. It publishes with `--provenance`, so npm
367
+ records which repository and workflow built the package.
368
+
369
+ Needs an `NPM_TOKEN` repository secret — a **granular** automation token
370
+ scoped to this package, not a classic token with account-wide write.
371
+
353
372
  In a host Medusa app:
354
373
 
355
374
  ```bash
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@legenki/print2medusa",
3
- "version": "0.8.0",
4
- "description": "Printful \u2192 Medusa v2 plugin: product sync, auto fulfillment, and admin tools",
3
+ "version": "0.8.1",
4
+ "description": "Printful Medusa v2 plugin: product sync, auto fulfillment, and admin tools",
5
5
  "author": "Andy Legenki",
6
6
  "license": "MIT",
7
7
  "repository": {