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 +25 -1
- package/dist/pdf.worker.min.mjs +1 -1
- package/dist/pdfjs-viewer-element.js +1 -1
- package/dist/viewer-BRHCK-Dq.js +1 -0
- package/package.json +17 -15
- package/dist/viewer-BDue30WQ.js +0 -1
- /package/dist/{locale-ZlyOoh6p.js → locale-BQ2lrlea.js} +0 -0
- /package/dist/{paper-and-ink-DgTYBeKf.js → paper-and-ink-BXzMNDbP.js} +0 -0
- /package/dist/{pdf-Db_S0hNt.js → pdf-DKD02eam.js} +0 -0
- /package/dist/{viewer-D69caMA4.js → viewer-B3NJrEcS.js} +0 -0
- /package/dist/{viewer-asGZOfPa.js → viewer-B_NQkbAL.js} +0 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# pdfjs-viewer
|
|
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
|
```
|