Repository navigation
build(deps): fix vulnerable dev dependencies and modernize tooling - #32
Merged
Merged
Conversation
Update dev dependencies to latest (TypeScript 7, React 19 for tests, fast-check 4, husky 9, changesets 3), drop unused ts-node and tslib, and migrate tsconfig off options removed in TypeScript 7 (target ES5, moduleResolution node10, baseUrl/paths).
Publish via changesets/action v2 on master (trusted publishing, kept in publish.yml) instead of on GitHub release, and run biome/tsc/tests/build on pull requests with the labd pnpm-install action.
Fix the publint findings (missing exports map, type and sideEffects) and run publint in CI.
Enable publint in the tsdown config with failOnWarn, so every build lints the package, and drop the separate lint:package script and CI step. The experimental TypeScript 7 API warning from rolldown-plugin-dts is suppressed so it does not fail the build.
Merged
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.
Dependabot alert #33 (critical, form-data < 4.0.4) is stale: form-data is no longer in the lockfile on master. GitHub's dependency graph currently has no snapshot for this repo (the SBOM endpoint returns 404), so the alert was never re-evaluated after the pnpm 12 migration.
pnpm auditon master did report other advisories in dev tooling, all fixed here:pnpm auditis clean after this change. Dev dependencies only, so no changeset.Modernization
This PR now also modernizes the tooling:
build(deps): all dependencies latest (TypeScript 7, React 19 for dev, @types/react 19, fast-check 4, husky 9, changesets 3 + changelog-github); unused ts-node/tslib removed; tsconfig migrated (target es2020, bundler resolution, nobaseUrl)ci:main.ymlruns on push to master and pull requests with the labd pnpm-install action, check/test/build on Node 22/24/26;publish.ymlreleases through changesets/action v2 on master (was release-created + npm publish)build: exports map,type: commonjs,sideEffects: false; publint runs through tsdown (publint: true,failOnWarn: true)docs: npm badges