Repository navigation
MR-23c: wire up packages/pptx - #799
Closed
michaeljgrimm wants to merge 4 commits into
Closed
michaeljgrimm wants to merge 4 commits into
michaeljgrimm wants to merge 4 commits into
Conversation
…opies and the workflow-contract tests package.json: npm run -> pnpm run, node ../../scripts/run-tests.mjs, drop check:runners and check:changes (root checks cover them), add check:scripts for the package's own check-syntax and browser-suites tests. Deleted: changelog-fragments(+test), flake-repeat, publish-source, quarantine(+test), run-tests(+test), ci-evidence(.mjs/.json) and the tests that read the removed .github/ (candidate-gallery-ci, ci-evidence, publish-source, publish-workflow-trust). The check-syntax tests move to scripts/check-syntax.test.mjs. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ck.json verify-vendor.mjs reads the @node-projects/jszip integrity from the root pnpm-lock.yaml. The native-*, footer-text-shape and compare-native-picture-edit* evidence records the sha256 of the package set pnpm-lock.yaml installs for packages/pptx (scripts/pnpm-lock.mjs, test/helpers/lock-evidence.mjs); an isolated npm consumer keeps hashing its own package-lock.json. native-evidence.mjs finds the editor at ../editor. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…lor-ref-export reads the real fixture test:packed and test:browser pack the candidate and its workspace siblings with pnpm pack (test/helpers/pack-workspace.mjs, which reads the manifest inside the tarball and refuses a workspace: spec), install the tarballs into the isolated npm consumer instead of registry versions, and run npm through scripts/package-manager.mjs instead of npm_execpath. build:deps builds gallery, core and render first. color-ref-export.mjs reads docs/fixtures/color-references.opf.json from the repository root and no longer falls back to an inline deck. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…npm and the root release process Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This was referenced Oct 22, 2026
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
MR-23c (slice of MR-23 "Wire-up"):
packages/pptxruns in the workspace. Base iscodex/mr-23a-root-gallery(#797, 30befac); onlypackages/pptx/**changes, no root file. Four commits; merge with a merge commit or rebase, not a squash.What changed
npm run->pnpm run;test/test:contractcallnode ../../scripts/run-tests.mjs(per the MR-12 table in MR-12: shared scripts take a package directory #780);check:runnersandcheck:changesdropped (root checks cover them). Newbuild:deps(gallery, core, render, in that order: core's dts build needs the gallery'sdist) thattest,test:contract,test:packedandtest:browserrun first. Newcheck:scripts(run bytest) for the package's ownscripts/*.test.mjs.check-syntaxtests moved out ofrun-tests.test.mjsintoscripts/check-syntax.test.mjs.scripts/browser-suites.test.mjsnever importedquarantine.mjsin this package, so it needed no change;browser-suites.jsonsetup ispnpm run .....github/:candidate-gallery-ci,ci-evidence,publish-source,publish-workflow-trust(not re-pointed; MR-40's two-workflow test covers the unified workflow).package-lock.jsonreaders.scripts/verify-vendor.mjsreads the@node-projects/jszipintegrity from the rootpnpm-lock.yaml(scripts/pnpm-lock.mjs, dependency-free, withscripts/pnpm-lock.test.mjs).native-code|chart-colors|metric|quote|table-colors|text,native-evidence,footer-text-shape,compare-native-picture-edit-controlsand its comparator) now records the sha256 of the package setpnpm-lock.yamlinstalls forpackages/pptx(name@version + integrity of the whole closure, OS-independent), viatest/helpers/lock-evidence.mjs. A directory that has its ownpackage-lock.json(the isolated npm consumer of the native packed run) still hashes those bytes; the key names the kind. Evidence recorded before this (docs/evidence, afooter-text-shapebaseline) hashes an npm lock and does not compare equal; I did not rewrite historical evidence.native-picture,compare-native-picture,native-furniture-fixtures,native-font-edit-fixture,compare-published,keynote-*,scripts/keynote-qualification/*,packed-install's consumer lock) read thepackage-lock.jsonof a temporary npm consumer they create or are handed, not this repository's; they are unchanged.npm_execpathusers.provenance-interopandpacked-bundle-browserrun npm throughscripts/package-manager.mjs.packed-installandpacked-bundle-browserpack withpnpm pack(test/helpers/pack-workspace.mjsreads the manifest inside the tarball, asserts noworkspace:spec and that sibling ranges are^<version>), and install the tarballs of pptx, core, gallery (and render) into the isolated consumer instead of registry versions (0.26.0 is not on the registry).--legacy-peer-depsis used because the optional renderer peer at^0.26.0is unresolvable on the registry (ERESOLVE otherwise). TheOPF_NATIVE_UNDERLINE_REGISTRYlimitation is gone: core is the candidate now and the underline control runs.color-ref-export.mjsreadsdocs/fixtures/color-references.opf.jsonfrom the repository root and fails when it is missing (the inline fallback is deleted).native-evidence.mjsfinds the editor at../editor.packages/pptx/AGENTS.mdpoints at the root rules and keeps only package specifics (commands, lock evidence, packed checks, Windows and native PowerPoint rules); README "Development"/"Release Lane", CONTRIBUTING, DEPENDENCY-NOTES andtest/QUARANTINE.mduse pnpm and the root scripts..githubreaders:scripts/keynote-qualification/registry-runtime.mjsreads no.github/file (it verifies a registry consumer and a pinned verifier checkout handed on its command line), so it is unchanged. The six RR-86 drafts are untouched (D20).Local results (macOS arm64, Node 26.7, pnpm 10.33.2, network on)
pnpm --filter @openpresentation/opf-pptx test:contract: 164 scripts pass, browser-check bundle builds.pnpm --filter @openpresentation/opf-pptx test(full): 167 scripts pass;check:scripts6 tests pass.test:packed(packed-install with registry-signature audit of the consumer, provenance-interop against published 0.11.6): pass.test:browser(browser-check, packed bundle in Chromium 156, 129 core examples byte-identical to Node): pass.validate,typecheck(318 files): pass.check:changes,check:quarantine(+quarantine.mjs check --dir packages/pptx),check:font-hotlinks,check:versions,check:workspace-graph,check:pins,scripts/run-tests.test.mjs: pass.*.ps1,packed-install --native, PowerPoint), Node 22/26 legs, CI,scripts/quarantine.mjs run-suite browser(the same two commands ran directly viatest:browser),test:compare-published, keynote registry qualification (need a supplied registry consumer).Root changes this needs (not made here)
pnpm packfails inpackages/javascript(ERR_PNPM_CANNOT_RESOLVE_WORKSPACE_PROTOCOL: core's optional peers on opf-pptx and opf-render areworkspace:^but not installed,autoInstallPeers: false).pack-workspace.mjsfalls back, with a warning, tonpm packof a staged copy with the workspace specs resolved; MR-40's release step needs a real fix (for example devDependencies on the two engines that do not recreate the lockfile cycle, or resolving at publish).pnpm test:enginesorder: pptx'sbuild:depsmakes the three engine suites independent of the order they run in; if render/editor do not get the same, run render first.check:quarantineprinted "Empty" without naming a package; confirm it loopspackages/*withtest/quarantine.json(I ran--dir packages/pptxby hand).Unknown env config "overrides"/"recursive"/...warnings: pnpm exports workspace settings asnpm_config_*. Harmless;package-manager.mjscould drop those variables for npm.packages/pptx/scripts/published-core-gate.mjsand its test (RR-55opf.requiresUnreleasedCore) are unchanged; they are MR-34 deletions.🤖 Generated with Claude Code