@christophervr/pptx-viewer 1.6.0 → 1.7.0
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/CHANGELOG.md +26 -0
- package/README.md +26 -1
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +1642 -0
- package/dist/cli.mjs +1641 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +24 -0
- package/dist/index.mjs +1 -1638
- package/package.json +70 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
All notable changes to this project are documented here.
|
|
4
4
|
This file is generated from [Conventional Commits](https://www.conventionalcommits.org)
|
|
5
5
|
by [git-cliff](https://git-cliff.org); do not edit it by hand.
|
|
6
|
+
A release listed with no entries carried no Conventional Commit in this package's
|
|
7
|
+
scope: scripts/release-plan.mjs re-releases a package whenever any of its files
|
|
8
|
+
change, not only on conventional ones.
|
|
9
|
+
|
|
10
|
+
## [1.6.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/@christophervr/pptx-viewer@1.6.0) - 2026-08-07
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
- **core:** Export and import decks as portable JSON (by @ChristopherVR) ([965fc05](https://github.com/ChristopherVR/pptx-viewer/commit/965fc05ce0993d97a15d6199c8763eada99fa646))
|
|
15
|
+
- **shared:** Blackboard mode, element rename and column charts (by @ChristopherVR) ([a69ffce](https://github.com/ChristopherVR/pptx-viewer/commit/a69ffce0a7635632cf19cb060b329a8ff5d19422))
|
|
6
16
|
|
|
7
17
|
## [1.5.9](https://github.com/ChristopherVR/pptx-viewer/releases/tag/@christophervr/pptx-viewer@1.5.9) - 2026-07-27
|
|
8
18
|
|
|
@@ -54,6 +64,10 @@ by [git-cliff](https://git-cliff.org); do not edit it by hand.
|
|
|
54
64
|
|
|
55
65
|
## [1.5.1](https://github.com/ChristopherVR/pptx-viewer/releases/tag/@christophervr/pptx-viewer@1.5.1) - 2026-07-12
|
|
56
66
|
|
|
67
|
+
### Bug Fixes
|
|
68
|
+
|
|
69
|
+
- **cli:** Fix Angular Node.js preflight, vanilla three dep, collab packages prompt (by @ChristopherVR) ([8e41cea](https://github.com/ChristopherVR/pptx-viewer/commit/8e41cea107925c61a6ec94480a71fc91df31e4d9))
|
|
70
|
+
|
|
57
71
|
## [1.5.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/@christophervr/pptx-viewer@1.5.0) - 2026-07-11
|
|
58
72
|
|
|
59
73
|
### Features
|
|
@@ -62,8 +76,16 @@ by [git-cliff](https://git-cliff.org); do not edit it by hand.
|
|
|
62
76
|
|
|
63
77
|
## [1.4.2](https://github.com/ChristopherVR/pptx-viewer/releases/tag/@christophervr/pptx-viewer@1.4.2) - 2026-07-07
|
|
64
78
|
|
|
79
|
+
### Bug Fixes
|
|
80
|
+
|
|
81
|
+
- CLI interactive installation (by @ChristopherVR) ([7b0f649](https://github.com/ChristopherVR/pptx-viewer/commit/7b0f649caa2a2f7bdea949f2583f6c86ff218cc5))
|
|
82
|
+
|
|
65
83
|
## [1.4.1](https://github.com/ChristopherVR/pptx-viewer/releases/tag/@christophervr/pptx-viewer@1.4.1) - 2026-07-05
|
|
66
84
|
|
|
85
|
+
### Bug Fixes
|
|
86
|
+
|
|
87
|
+
- **cli:** Scaffold i18n setup, suppress scaffolder output, auto-run dev (by @ChristopherVR) ([d99b463](https://github.com/ChristopherVR/pptx-viewer/commit/d99b463ccbf39d05f47c044af7053c53f400b2d9))
|
|
88
|
+
|
|
67
89
|
## [1.4.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/@christophervr/pptx-viewer@1.4.0) - 2026-07-05
|
|
68
90
|
|
|
69
91
|
### Features
|
|
@@ -74,6 +96,10 @@ by [git-cliff](https://git-cliff.org); do not edit it by hand.
|
|
|
74
96
|
|
|
75
97
|
## [1.2.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/@christophervr/pptx-viewer@1.2.0) - 2026-07-04
|
|
76
98
|
|
|
99
|
+
### Features
|
|
100
|
+
|
|
101
|
+
- **cli:** Enforce a single UI framework and harden terminal handling (by @ChristopherVR) ([d1c9ae5](https://github.com/ChristopherVR/pptx-viewer/commit/d1c9ae551070ec29bf474a76af21f3b0682fb36d))
|
|
102
|
+
|
|
77
103
|
## [1.1.46](https://github.com/ChristopherVR/pptx-viewer/releases/tag/@christophervr/pptx-viewer@1.1.46) - 2026-07-03
|
|
78
104
|
|
|
79
105
|
### Features
|
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[](https://www.npmjs.com/package/@christophervr/pptx-viewer)
|
|
4
4
|
[](https://github.com/ChristopherVR/pptx-viewer/blob/main/LICENSE)
|
|
5
5
|
|
|
6
|
-
> The interactive installer for the [pptx-viewer](https://github.com/ChristopherVR/pptx-viewer) family: pick what you're building, and it installs the right package(s) plus their required companions, or bootstraps a brand-new starter app for you.
|
|
6
|
+
> The interactive installer for the [pptx-viewer](https://github.com/ChristopherVR/pptx-viewer) family: pick what you're building, and it installs the right package(s) plus their required companions, or bootstraps a brand-new starter app for you. Installed as a dependency and imported (not run via `npx`), it doubles as a drop-in for [`pptx-react-viewer`](https://www.npmjs.com/package/pptx-react-viewer) - see [It's also a drop-in for `pptx-react-viewer`](#its-also-a-drop-in-for-pptx-react-viewer).
|
|
7
7
|
|
|
8
8
|

|
|
9
9
|
|
|
@@ -71,6 +71,31 @@ npx @christophervr/pptx-viewer --pm pnpm # force a pac
|
|
|
71
71
|
| `--yes`, `-y` | Skip confirmation prompts (including the compatibility warning). |
|
|
72
72
|
| `--help`, `-h` | Print usage. |
|
|
73
73
|
|
|
74
|
+
## It's also a drop-in for `pptx-react-viewer`
|
|
75
|
+
|
|
76
|
+
`@christophervr/pptx-viewer` is the name most people search or guess first, so as well as being the `npx` installer above, **the package itself, imported as a library, re-exports [`pptx-react-viewer`](https://www.npmjs.com/package/pptx-react-viewer) directly.** React is this project's primary/flagship binding, so `npm install @christophervr/pptx-viewer` and importing from it behaves exactly like installing `pptx-react-viewer` on its own:
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
npm install @christophervr/pptx-viewer
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
```tsx
|
|
83
|
+
import { PowerPointViewer } from '@christophervr/pptx-viewer';
|
|
84
|
+
import 'pptx-react-viewer/styles.css'; // styles ship under the real package name
|
|
85
|
+
|
|
86
|
+
<PowerPointViewer content={arrayBuffer} canEdit />;
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
Everything [`pptx-react-viewer`](https://www.npmjs.com/package/pptx-react-viewer) exports (`PowerPointViewer`, `Toolbar`, `SlideCanvas`, theme helpers, and the rest) is re-exported from the package root here too, so the two names are interchangeable as a dependency. What differs is what you get from each command:
|
|
90
|
+
|
|
91
|
+
| You run/import | What you get |
|
|
92
|
+
| ---------------------------------------------- | -------------------------------------------------------------------------------------------------- |
|
|
93
|
+
| `npx @christophervr/pptx-viewer` | The interactive installer/scaffolder (this page's main usage) - no code runs, nothing is imported. |
|
|
94
|
+
| `import ... from '@christophervr/pptx-viewer'` | The React viewer component, re-exported from `pptx-react-viewer`. |
|
|
95
|
+
| `import ... from 'pptx-react-viewer'` directly | The exact same component, one dependency lighter (no installer code pulled in). |
|
|
96
|
+
|
|
97
|
+
Reach for the `pptx-react-viewer` name directly in new React projects; this package's re-export exists so nothing breaks if you (or your editor's autocomplete) reach for `@christophervr/pptx-viewer` instead. If you're building for Vue, Angular, Svelte, or vanilla JS, use the matching package from the table below directly - the re-export here is React-only.
|
|
98
|
+
|
|
74
99
|
## What it installs
|
|
75
100
|
|
|
76
101
|
| Target | Package | What you get |
|
package/dist/cli.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {}
|