chore: upgrade deps and migrate semantic-release to npm trusted publishing#1
Open
TimoBechtel wants to merge 2 commits intomainfrom
Open
chore: upgrade deps and migrate semantic-release to npm trusted publishing#1TimoBechtel wants to merge 2 commits intomainfrom
TimoBechtel wants to merge 2 commits intomainfrom
Conversation
- Upgraded dependencies and migrated ESLint to flat config\n- Switched release workflow from NPM_TOKEN to OIDC id-token\n- Updated package repository metadata for npm provenance
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
.eslintrc.cjsto flat config (eslint.config.js) for ESLint v9+NPM_TOKENauth to npm Trusted Publishing via GitHub OIDCpackage.jsonrepository metadata to canonical GitHub URL for npm provenance validationDependency/Migration Notes
@timobechtel/styleupgraded to2.0.1and ESLint config migrated per package migration docs (eslint.config.js, import-x resolver setup)semantic-releaseupgraded to25.0.3(includes@semantic-release/npm@13.1.1, Trusted Publishing capable)eslint@10currently breaks with@timobechtel/styleplugin stack; pinned to latest compatibleeslint@9.39.3CI/Release Changes
.github/workflows/release.ymlnow includes:permissionswithid-token: writeactions/checkout@v4withfetch-depth: 0NPM_TOKENfrom release envGITHUB_TOKENValidation
bun testpassesbunx tsc --noEmitpassesbunx eslint .passesbunx semantic-release --dry-run --no-ciloads plugins successfully; full remote check is network-dependentnpm Trusted Publisher Configuration (Exact Values)
Configure this at:
Add a Trusted Publisher with:
GitHub ActionsTimoBechtelprmtrelease.yml.github/workflows/release.ymlmain