Repository navigation
ci: update Node.js, pnpm and workflows - #1355
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1355 +/- ##
=======================================
Coverage 90.00% 90.00%
=======================================
Files 3 3
Lines 80 80
Branches 20 20
=======================================
Hits 72 72
Misses 6 6
Partials 2 2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This was referenced Nov 30, 2026
pnpm 12 reads build script approvals from allowBuilds instead of onlyBuiltDependencies.
Every job takes Node.js from .tool-versions and pnpm 12, actions are pinned to release commits, which renovate keeps current, and the token of a run only reads unless a job needs more. Tests run as separate types, lint and unit jobs; checks add package.json linting; commitlint runs from the repository; the release job is ready for npm trusted publishing.
The big-lib preset runs the bundle in headless Chrome, which no longer works; the small-lib preset measures what a consumer ships, for the whole package and for single components, with limits pinned on a 50 B step.
The description ends with a period and the homepage, now the documentation website, follows the license.
The react-chartjs-2 tag on Stack Overflow gets no new questions since 2025. The bug report now points to the StackBlitz sandbox.
npm fund and the Sponsor button of the repository point to Ko-fi, as in the other repositories of the maintainer.
dangreen
force-pushed
the
ci/toolchain
branch
from
November 30, 2026 15:02
03ba08e to
d3b7381
Compare
Questions go to the Q&A category of Discussions instead of issues, so they stay apart from bug reports and an answer can be marked.
dangreen
marked this pull request as ready for review
November 30, 2026 15:15
This was referenced Nov 30, 2026
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.
Part 2 of the tooling stack. Based on master (#1354 is merged).
What
.tool-versions. pnpm 12 reads build script approvals fromallowBuilds, so the threepnpm-workspace.yamlfiles move to it.Argue,nano_kit):.tool-versionsand uses pnpm 12;helpers:pinGitHubActionDigestskeeps the pins current;ci.ymlbecomestests.ymlwith separatetypes,lintandunitjobs (badges updated);checks.ymlgets apackage.jsonlint job (@trigen/lint-package-json) and runs size-limit directly instead ofandresz1/size-limit-action@master;commit.ymlruns commitlint from the repository instead of a third-party action;release.ymlgets a manual trigger with version inputs, per-job permissions andid-token: write.big-libpreset ran the bundle in headless Chrome and fails on current Node.js. Thesmall-libpreset measures the whole package and single components (Chart,Line); limits are pinned on a 50 B step.lint-package-json: description ends with a period,homepageis the documentation website.fundinginpackage.json(shown bynpm fund) and.github/FUNDING.yml(the Sponsor button) point to Ko-fi, as in the other Trigen repositories.Before merging
/discussions/categories/q-a, which is a 404 while Discussions are off.NPM_TOKEN. To switch to npm trusted publishing, addreactchartjs/react-chartjs-2+release.ymlas a trusted publisher ofreact-chartjs-2on npmjs.com, then the token can be dropped.Checked locally
pnpm install --frozen-lockfile,pnpm test,pnpm build,pnpm test:typings,pnpm test:size,pnpm build:storybook, the website build,lint-package-jsonandeditorconfig-checker, all on Node.js 26.10 and pnpm 12.6.Stack
🤖 Generated with Claude Code