Skip to content

Commit

Permalink
tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
tommy-mitchell committed Aug 21, 2024
1 parent f077c64 commit 8d57c7e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
3 changes: 1 addition & 2 deletions template/.github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: CI Lint
on:
push:
branches:
- main
branches: ["main"]
pull_request:
jobs:
lint:
Expand Down
5 changes: 2 additions & 3 deletions template/.github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: CI Test
on:
push:
branches:
- main
branches: ["main"]
pull_request:
jobs:
test:
Expand All @@ -11,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [18.18, 20.8, 21, 22]
node-version: [18.19, 20.8, 21, 22]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand Down
13 changes: 6 additions & 7 deletions template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
},
"type": "module",
"exports": {
"default": "./dist/index.js",
"types": "./dist/index.d.ts"
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"files": [
"dist"
],
"engines": {
"node": "^18.18 || ^20.8 || >=21"
"node": "^18.19 || ^20.8 || >=21"
},
"scripts": {
"prepare": "npm run build",
Expand All @@ -32,22 +32,21 @@
"test:types": "npm run build && tsd -t dist/index.d.ts"
},
"ava": {
"files": ["!test/fixtures"],
"extensions": { "ts": "module" },
"nodeArguments": ["--import=tsimp"]
},
"devDependencies": {
"@tommy-mitchell/dprint-config": "^0.4.0",
"@tommy-mitchell/eslint-config-xo": "^0.5.0",
"@tommy-mitchell/eslint-config-xo": "^0.6.0",
"@tommy-mitchell/tsconfig": "^2.1.0",
"@types/node": "18.18",
"@types/node": "18.19",
"ava": "^6.1.3",
"c8": "^10.1.2",
"esmock": "^2.6.7",
"tsd": "^0.31.1",
"tsimp": "^2.0.11",
"tsup": "^8.2.4",
"type-fest": "^4.24.0",
"type-fest": "^4.25.0",
"typescript": "~5.5.4",
"xo": "^0.59.3"
}
Expand Down

0 comments on commit 8d57c7e

Please sign in to comment.