Skip to content
Merged

ts 6 #16

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
f078d6f
Fix schema url in tsconfig.build.json
razor-x Aug 19, 2025
c8b7f5b
2.1.1
seambot Aug 19, 2025
d86f9aa
Merge branch 'main' into public
razor-x Aug 19, 2025
7bdafbb
Update to Node v24
razor-x Jan 20, 2026
57fcabc
Update del-cli to v7
razor-x Jan 20, 2026
24c3b46
Update all github actions
razor-x Jan 20, 2026
84c4c7c
2.2.0
seambot Jan 20, 2026
9fd3572
Merge branch 'main' into public
razor-x Jan 20, 2026
e3b78ec
fix: Use @types/node v24
razor-x Jan 20, 2026
25ea86f
2.2.1
seambot Jan 20, 2026
d764b85
Merge branch 'main' into public
razor-x Jan 20, 2026
c66398a
Enable npm trusted publishing
razor-x Jan 20, 2026
bd27d6a
Add trusted publishing step to README
razor-x Jan 20, 2026
9835575
Replace .nvmrc with devEngines
razor-x Jul 27, 2026
944f8af
Update dependencies
razor-x Jul 27, 2026
9f9144b
Update to ava v8
razor-x Jul 27, 2026
fa02098
Update to typescript v7
razor-x Jul 27, 2026
787a67c
Update year to 2026
razor-x Jul 27, 2026
898fb63
Do not bundle cjs
razor-x Jul 27, 2026
6d5a19b
Update all workflow versions
razor-x Jul 27, 2026
adcef84
Update to neostandard v0.13.0
razor-x Jul 27, 2026
6b522fe
3.0.0
seambot Jul 27, 2026
95cd918
Merge branch 'main' into public
razor-x Jul 27, 2026
fa621e5
Use object form for exports/import
razor-x Jul 27, 2026
b35e99d
3.0.1
seambot Jul 27, 2026
d1fcc14
Merge branch 'main' into public
razor-x Jul 27, 2026
03579fa
Fix ava watchMode setting
razor-x Jul 27, 2026
675b305
3.0.2
seambot Jul 27, 2026
35da51c
Allow npm version 11.12.0
razor-x Jul 27, 2026
94f7c35
3.0.3
seambot Jul 27, 2026
1b896b0
Merge branch 'main' into public
razor-x Jul 27, 2026
3bfd0a9
Merge remote-tracking branch 'upstream/public' into ts-6
razor-x Jul 28, 2026
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
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG VARIANT="22"
ARG VARIANT="24"

FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:${VARIANT}

Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"build": {
"dockerfile": "Dockerfile",
"args": {
"VARIANT": "22"
"VARIANT": "24"
}
},
"extensions": [
Expand Down
7 changes: 3 additions & 4 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ inputs:
node_version:
description: The Node.js version.
required: false
default: '22'
default: '24'
registry_url:
description: The Node.js package registry URL.
required: false
Expand All @@ -20,14 +20,13 @@ runs:
using: composite
steps:
- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v7
if: inputs.install_dependencies == 'true'
with:
cache: npm
node-version: ${{ inputs.node_version }}
registry-url: ${{ inputs.registry_url }}
- name: Setup Node.js without cache
uses: actions/setup-node@v4
uses: actions/setup-node@v7
if: inputs.install_dependencies == 'false'
with:
node-version: ${{ inputs.node_version }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
description: The Node.js version.
type: string
required: false
default: '22'
default: '24'
outputs:
artifact_name:
description: The artifact name.
Expand All @@ -21,7 +21,7 @@ jobs:
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7
- name: Setup
uses: ./.github/actions/setup
with:
Expand All @@ -31,7 +31,7 @@ jobs:
- name: Package
run: npm pack
- name: Upload artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: build-${{ github.sha }}
if-no-files-found: error
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
secrets:
registry_token:
description: The package registry token.
required: true
required: false

jobs:
publish:
Expand All @@ -24,21 +24,21 @@ jobs:
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7
- name: Setup
uses: ./.github/actions/setup
with:
install_dependencies: 'false'
- name: Download artifact
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: ${{ inputs.artifact_name }}
path: .
- name: Get meta
id: meta
run: echo "tgz=$(ls *.tgz | head -n1)" >> $GITHUB_OUTPUT
- name: Publish
uses: JS-DevTools/npm-publish@v3
uses: JS-DevTools/npm-publish@v4
with:
access: public
token: ${{ secrets.registry_token }}
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ jobs:
os:
- ubuntu-latest
node:
- '20'
- '22'
- '24'
include:
- os: ubuntu-latest
os_name: Linux
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7
- name: Setup
uses: ./.github/actions/setup
with:
Expand All @@ -42,11 +42,11 @@ jobs:
fail-fast: false
matrix:
node:
- '20'
- '22'
- '24'
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7
- name: Setup
uses: ./.github/actions/setup
with:
Expand All @@ -67,18 +67,18 @@ jobs:
os:
- ubuntu-latest
node:
- '20'
- '22'
- '24'
include:
- os: ubuntu-latest
os_name: Linux
steps:
- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
node-version: ${{ matrix.node }}
- name: Download artifact
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: ${{ needs.build.outputs.artifact_name }}
path: .
Expand Down Expand Up @@ -113,11 +113,11 @@ jobs:
fail-fast: false
matrix:
node:
- '20'
- '22'
- '24'
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7
- name: Setup
uses: ./.github/actions/setup
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_TOKEN }}
- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v6
uses: crazy-max/ghaction-import-gpg@v7
with:
git_user_signingkey: true
git_commit_gpgsign: true
Expand All @@ -32,7 +32,7 @@ jobs:
- name: Format
run: npm run format
- name: Commit
uses: stefanzweifel/git-auto-commit-action@v6
uses: stefanzweifel/git-auto-commit-action@v7
if: always()
with:
commit_message: 'ci: Format code'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_TOKEN }}
- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v6
uses: crazy-max/ghaction-import-gpg@v7
with:
git_user_signingkey: true
git_commit_gpgsign: true
Expand All @@ -38,7 +38,7 @@ jobs:
- name: Normalize package-lock.json
run: npm install
- name: Commit
uses: stefanzweifel/git-auto-commit-action@v6
uses: stefanzweifel/git-auto-commit-action@v7
with:
commit_message: 'ci: Generate code'
commit_user_name: ${{ secrets.GIT_USER_NAME }}
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:
needs: build
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Download artifact
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: ${{ needs.build.outputs.artifact_name }}
path: .
Expand All @@ -36,7 +36,7 @@ jobs:
npx standard-changelog@^5.0.0 --release-count 2 --infile $outfile.tmp --outfile $outfile.tmp
sed '1,3d' $outfile.tmp > $outfile
- name: Create GitHub release
uses: softprops/action-gh-release@v2
uses: softprops/action-gh-release@v3
with:
token: ${{ secrets.GH_TOKEN }}
fail_on_unmatched_files: true
Expand All @@ -47,11 +47,12 @@ jobs:
name: npm
uses: ./.github/workflows/_publish.yml
needs: build
permissions:
contents: read
id-token: write
with:
artifact_name: ${{ needs.build.outputs.artifact_name }}
registry_url: https://registry.npmjs.org
secrets:
registry_token: ${{ secrets.NPM_TOKEN }}
github:
name: GitHub Packages
uses: ./.github/workflows/_publish.yml
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/semantic-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ jobs:
new_release_version: ${{ steps.release.outputs.new_release_version }}
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Semantic release
id: release
uses: cycjimmy/semantic-release-action@v4
uses: cycjimmy/semantic-release-action@v6
with:
dry_run: true
release:
Expand All @@ -43,7 +43,7 @@ jobs:
if: needs.semantic.outputs.new_release_published == 'true' && needs.semantic.outputs.new_release_version != '1.0.0'
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
fetch-depth: 1
- name: Release version ${{ needs.semantic.outputs.new_release_version }} on ${{ github.ref_name }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
token: ${{ secrets.GH_TOKEN }}
- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v6
uses: crazy-max/ghaction-import-gpg@v7
with:
git_user_signingkey: true
git_commit_gpgsign: true
Expand Down
1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2021-2025 Seam Labs, Inc.
Copyright (c) 2021-2026 Seam Labs, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,6 @@ _GitHub Actions should already be configured: this section is for reference only

The following repository secrets must be set on [GitHub Actions]:

- `NPM_TOKEN`: npm token for installing and publishing packages.
- `GH_TOKEN`: A personal access token for the bot user with
`packages:write` and `contents:write` permission.
- `GIT_USER_NAME`: The GitHub bot user's real name.
Expand Down
8 changes: 3 additions & 5 deletions ava.config.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
export default () => {
return {
files: ['**/*.test.ts', '!package/**/*'],
ignoreChanges: {
watchMode: ['tmp/**/*'],
},
extensions: {
ts: 'commonjs',
watchMode: {
ignoreChanges: ['tmp/**/*'],
},
extensions: ['ts'],
nodeArguments: ['--import=tsx'],
}
}
Loading
Loading