Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,16 @@ jobs:
uses: ./.github/actions/setup
- name: Cut ${{ github.event.inputs.version }} version
run: npm version --sign-git-tag=true ${{ github.event.inputs.version }}
- name: Record prerelease channel
env:
VERSION: ${{ github.event.inputs.version }}
run: |
case "$VERSION" in
*-*) channel="${VERSION#*-}"; channel="${channel%%.*}" ;;
*) echo "Stable release, no channel note required."; exit 0 ;;
esac
git fetch origin "+refs/notes/semantic-release:refs/notes/semantic-release" || true
git notes --ref semantic-release add --force \
--message "{\"channels\":[\"$channel\"]}" "v$VERSION^{commit}"
git push origin refs/notes/semantic-release
echo "Recorded v$VERSION on the '$channel' channel."
1 change: 1 addition & 0 deletions ava.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ export default () => {
},
extensions: ['ts'],
nodeArguments: ['--import=tsx'],
workerThreads: false,
}
}
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"./connect": {
"types": "./index.d.ts",
"import": "./index.js"
"default": "./index.js"
}
},
"module": "index.js",
Expand Down Expand Up @@ -65,13 +65,13 @@
"report": "c8 report"
},
"engines": {
"node": ">=22.11.0",
"node": ">=22.12.0",
"npm": ">=10.0.0"
},
"devEngines": {
"runtime": {
"name": "node",
"version": "^24.11.0 || ^22.11.0"
"version": "^24.11.0 || ^22.12.0"
},
"packageManager": {
"name": "npm",
Expand Down
Loading