@openpresentation/opf-editor 0.11.2 → 0.11.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 +2 -2
- package/package.json +12 -8
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ Version 0.11.2 adds the slide-size and purpose switches (additive; same requirem
|
|
|
6
6
|
|
|
7
7
|
Version 0.8.0 required `@openpresentation/opf` ^0.11.0, renderer ^0.9.0, and PPTX ^0.9.0. Named ColorRefs (scheme slots, roles, and `var:<id>`) paint through the published renderer and hex-resolve on export. Payload ids share the slide id namespace for pagination and transfer. Native `schemeClr`, theme write, and `p:hf` remain out of scope.
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
This checkout supports Node 22 or later (`engines.node` `>=22`; CI tests Node 22, 24 and 26). Versions 0.7.0 to 0.11.2 declared `24.x`, so npm on Node 22 or 26 silently installed an older release instead (RR-20); upgrade past 0.11.2. Use `.nvmrc` (Node 24) for local development. Earlier published versions retain their original engine declarations. Browser entrypoints remain browser-safe; native application compatibility is verified separately.
|
|
10
10
|
|
|
11
11
|
Version 0.7.0 forwards effective title alignment and shared outline placement options through composition and explicit pagination. Use the same `textMeasurement` and `textRasterPadding` in canvas rendering and export. Accepted rich-text trace origins support selection, caret placement and undo. See the [source contract and limits](https://github.com/OpenPresentation/opf/blob/f94125a1ff95bf0974a055fe1c081d348dad54f2/docs/plans/text-placement.md); native PowerPoint fidelity remains separate.
|
|
12
12
|
|
|
@@ -596,7 +596,7 @@ Svelte bindings are isolated under `@openpresentation/opf-editor/svelte` as acti
|
|
|
596
596
|
|
|
597
597
|
Public npm package publication is handled by `.github/workflows/release.yml` through npm Trusted Publishing (GitHub Actions OIDC) with npm provenance; no npm token is stored. The owner authorized agents to prepare and publish npm releases whenever a release is required (2026-09-29). This authorization does not waive any gate.
|
|
598
598
|
|
|
599
|
-
1. Open a release-prep PR containing only the version bump, `CHANGELOG.md
|
|
599
|
+
1. Open a release-prep PR containing only the version bump, `CHANGELOG.md` (assembled from `changes/` with `node scripts/changelog-fragments.mjs assemble --version X.Y.Z`), dependency ranges, lockfile and current-instruction docs. Publish in dependency order (core, then renderer, then PPTX, then editor): refresh this repo's lockfile only after the required `@openpresentation/opf`, `@openpresentation/opf-render` and `@openpresentation/opf-pptx` versions are on the registry (`npm install --package-lock-only`), then run `npm run test:packed` against them.
|
|
600
600
|
2. Merge after CI is green, then publish by pushing the git tag `opf-editor-v<version>` (or `@openpresentation/opf-editor@v<version>`) at the merge commit. The workflow verifies that the tag matches `package.json` and reruns audit, typecheck, validate, tests, playground, code/JSON browser and packed checks before `npm publish --access public --provenance`. A manual `workflow_dispatch` runs the same job without the tag check and is a fallback only.
|
|
601
601
|
3. Verify with `npm view @openpresentation/opf-editor@<version> version gitHead dist.attestations` and, from the core repo, `node scripts/test-editor-publication.mjs <version> <release-commit> <this-checkout>`. Never republish an existing version.
|
|
602
602
|
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openpresentation/opf-editor",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.3",
|
|
4
4
|
"description": "Embeddable local OPF editor primitives built on the deterministic renderer.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"private": false,
|
|
8
8
|
"engines": {
|
|
9
|
-
"node": "
|
|
9
|
+
"node": ">=22"
|
|
10
10
|
},
|
|
11
11
|
"repository": {
|
|
12
12
|
"type": "git",
|
|
@@ -207,8 +207,11 @@
|
|
|
207
207
|
"sideEffects": false,
|
|
208
208
|
"scripts": {
|
|
209
209
|
"build": "node scripts/build.mjs",
|
|
210
|
-
"typecheck": "node
|
|
211
|
-
"test": "npm run build && npm run check:font-hotlinks && node
|
|
210
|
+
"typecheck": "node scripts/check-syntax.mjs src test scripts examples",
|
|
211
|
+
"test": "npm run build && npm run check:font-hotlinks && node scripts/run-tests.mjs && npm run check:runners && npm run check:changes",
|
|
212
|
+
"test:contract": "npm run build && node scripts/run-tests.mjs --suite contract",
|
|
213
|
+
"check:runners": "node --test scripts/run-tests.test.mjs",
|
|
214
|
+
"check:changes": "node --test scripts/changelog-fragments.test.mjs && node scripts/changelog-fragments.mjs check",
|
|
212
215
|
"validate": "node scripts/validate-package.mjs",
|
|
213
216
|
"test:packed": "node test/packed-install.mjs",
|
|
214
217
|
"prepack": "npm run build",
|
|
@@ -246,11 +249,11 @@
|
|
|
246
249
|
"@codemirror/state": "6.7.6",
|
|
247
250
|
"@codemirror/view": "6.43.13",
|
|
248
251
|
"@lezer/highlight": "1.2.4",
|
|
249
|
-
"@openpresentation/opf": "^0.12.
|
|
252
|
+
"@openpresentation/opf": "^0.12.2",
|
|
250
253
|
"jsonc-parser": "3.3.1"
|
|
251
254
|
},
|
|
252
255
|
"peerDependencies": {
|
|
253
|
-
"@openpresentation/opf-render": "^0.12.
|
|
256
|
+
"@openpresentation/opf-render": "^0.12.2"
|
|
254
257
|
},
|
|
255
258
|
"peerDependenciesMeta": {
|
|
256
259
|
"@openpresentation/opf-render": {
|
|
@@ -292,10 +295,11 @@
|
|
|
292
295
|
"@expo-google-fonts/noto-sans-thai": "0.4.2",
|
|
293
296
|
"@expo-google-fonts/noto-serif-hebrew": "0.4.2",
|
|
294
297
|
"@expo-google-fonts/noto-serif-tibetan": "0.4.2",
|
|
295
|
-
"@openpresentation/opf-pptx": "^0.12.
|
|
296
|
-
"@openpresentation/opf-render": "^0.12.
|
|
298
|
+
"@openpresentation/opf-pptx": "^0.12.4",
|
|
299
|
+
"@openpresentation/opf-render": "^0.12.2",
|
|
297
300
|
"axe-core": "4.13.0",
|
|
298
301
|
"esbuild": "0.28.2",
|
|
302
|
+
"jszip": "3.10.2",
|
|
299
303
|
"pdfjs-dist": "6.3.289",
|
|
300
304
|
"playwright": "1.63.0",
|
|
301
305
|
"@expo-google-fonts/noto-color-emoji": "0.4.6",
|