feat(docs): automate versioned example imports#62
Merged
demtario merged 1 commit intoJul 17, 2026
Merged
Conversation
Generate release and next buckets in CI while pinning imported dependencies to concrete npm versions for reproducible snapshots.
demtario
force-pushed
the
feature/DEV-2101_docs-example-ci
branch
from
July 17, 2026 10:45
1daa4ae to
48504ec
Compare
budnix
approved these changes
Jul 17, 2026
demtario
merged commit Jul 17, 2026
266157b
into
feature/DEV-2099_Versioned-docs-examples
4 checks passed
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.
Summary
Task: https://app.clickup.com/t/9015210959/DEV-2101
Test plan
pnpm testPR intentionally merged into another feature branch, to not break production logic with partial changes.
Note
Medium Risk
Introduces CI that checks out an external repo, calls npm during imports, and opens PRs with
contents:write, but changes are confined to docs-example generation and dependency pinning rather than runtime auth or production app logic.Overview
Docs example snapshots are now produced in GitHub Actions instead of relying on developers to run the importer locally. A new Import versioned docs examples workflow builds a branch matrix (release bucket from npm
handsontabledist-tags.latest→prod-docs/<major.minor>, plusdevelop→next, or a single branch viarepository_dispatch/docs-examples-sync), sparse-checks outhandsontable/handsontabledocs content per job, runsimport-docs.mjs, uploads bucket artifacts, and on success opens or updates an automated PR (chore/docs-example-buckets) with merged output underapps/authoring/public/docs-examples/. Job summaries report import outcome, HOT version, and per-framework counts.The importer pins every discovered extra npm dependency (and Angular
@types/*for papaparse/moment) to concrete registrydist-tags.latestversions via sharedresolveNpmPackageVersion; failures are fatal and generatedpackage.jsonfiles no longer contain"latest".runner/docs/docs-examples.mddocuments CI ownership, tokens, and local-only debugging.Reviewed by Cursor Bugbot for commit 1daa4ae. Bugbot is set up for automated code reviews on this repo. Configure here.