pdfjs-viewer-element 3.2.1 → 3.2.3

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
@@ -1,4 +1,4 @@
1
- # pdfjs-viewer-element
1
+ # pdfjs-viewer
2
2
 
3
3
  Standalone, isolated, drop-in [PDF.js default viewer](https://mozilla.github.io/pdf.js/web/viewer.html).
4
4
 
@@ -46,6 +46,30 @@ npm install pdfjs-viewer-element
46
46
  pnpm add pdfjs-viewer-element
47
47
  ```
48
48
 
49
+ ## Release
50
+
51
+ Release automation is available through npm scripts.
52
+
53
+ Dry-run (builds and prints release actions without changing git tags, pushing, or publishing):
54
+
55
+ ```bash
56
+ pnpm release:dry v3.2.3 --allow-dirty
57
+ ```
58
+
59
+ Real release (requires clean working tree):
60
+
61
+ ```bash
62
+ pnpm release v3.2.3
63
+ ```
64
+
65
+ What `pnpm release` does:
66
+
67
+ - runs a fresh build
68
+ - bumps package version (if needed)
69
+ - creates a release commit (if version changed)
70
+ - creates and pushes git tag `v<version>`
71
+ - publishes to npm as a public package
72
+
49
73
  ```javascript
50
74
  import 'pdfjs-viewer-element'
51
75
  ```