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
23 changes: 20 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,31 @@ on:
branches: [main]

jobs:
lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v4
with:
run_install: false

- uses: actions/setup-node@v4
with:
node-version: '24'
cache: 'pnpm'

- run: pnpm install --frozen-lockfile

- run: pnpm lint

test:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: ['18', '20']
node-version: ['18', '20', '22', '24']

steps:
- uses: actions/checkout@v4
Expand All @@ -28,8 +47,6 @@ jobs:

- run: pnpm install --frozen-lockfile

- run: pnpm lint

- run: pnpm build

- run: pnpm test:all
3 changes: 2 additions & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import babelEslintParser from '@babel/eslint-parser';
import eslint from '@eslint/js';
import eslintPluginVitest from '@vitest/eslint-plugin';
import { defineConfig } from 'eslint/config';
import eslintConfigPrettier from 'eslint-config-prettier';
import eslintPluginJsdoc from 'eslint-plugin-jsdoc';
import eslintPluginN from 'eslint-plugin-n';
Expand Down Expand Up @@ -51,7 +52,7 @@ const customRules = {
},
};

export default tseslint.config(
export default defineConfig(
{
ignores: [
'dist/',
Expand Down
52 changes: 26 additions & 26 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,47 +52,47 @@
"test:ui": "vitest --ui"
},
"dependencies": {
"@babel/core": "^7.27.4",
"@babel/core": "^7.28.5",
"content-tag": "^4.0.0"
},
"devDependencies": {
"@babel/eslint-parser": "^7.27.5",
"@babel/types": "^7.27.6",
"@eslint/js": "^9.28.0",
"@tsconfig/node18": "^18.2.4",
"@tsconfig/strictest": "^2.0.5",
"@babel/eslint-parser": "^7.28.5",
"@babel/types": "^7.28.5",
"@eslint/js": "^9.39.1",
"@tsconfig/node24": "^24.0.3",
"@tsconfig/strictest": "^2.0.8",
"@types/babel__core": "^7.20.5",
"@types/node": "^22.15.31",
"@typescript-eslint/eslint-plugin": "^8.34.0",
"@typescript-eslint/parser": "^8.34.0",
"@vitest/eslint-plugin": "^1.2.4",
"@vitest/ui": "^3.2.3",
"concurrently": "^9.1.2",
"eslint": "^9.28.0",
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-jsdoc": "^50.8.0",
"eslint-plugin-n": "^17.20.0",
"@types/node": "^24.10.1",
"@typescript-eslint/eslint-plugin": "^8.48.0",
"@typescript-eslint/parser": "^8.48.0",
"@vitest/eslint-plugin": "^1.5.1",
"@vitest/ui": "^4.0.14",
"concurrently": "^9.2.1",
"eslint": "^9.39.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-jsdoc": "^61.4.1",
"eslint-plugin-n": "^17.23.1",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-unicorn": "^59.0.1",
"globals": "^16.2.0",
"eslint-plugin-unicorn": "^62.0.0",
"globals": "^16.5.0",
"prettier": "^3.7.3",
"prettier-plugin-jsdoc": "^1.7.0",
"release-plan": "^0.11.0",
"typescript": "^5.8.3",
"typescript-eslint": "^8.34.0",
"vite": "^6.3.5",
"vitest": "^3.2.3"
"release-plan": "^0.17.2",
"typescript": "^5.9.3",
"typescript-eslint": "^8.48.0",
"vite": "^7.2.4",
"vitest": "^4.0.14"
},
"peerDependencies": {
"prettier": ">= 3.0.0"
},
"packageManager": "pnpm@9.15.9",
"packageManager": "pnpm@10.24.0",
"engines": {
"node": "18.* || >= 20"
},
"volta": {
"node": "18.19.0",
"pnpm": "9.15.9"
"node": "20.19.6",
"pnpm": "10.24.0"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
Expand Down
Loading
Loading