File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4242 - name : Install
4343 run : pnpm install --frozen-lockfile
4444
45+ - name : Build
46+ run : pnpm build
47+
4548 - name : Test
4649 run : pnpm test
Original file line number Diff line number Diff line change 1+ import js from "@eslint/js" ;
2+ import tseslint from "typescript-eslint" ;
3+
4+ export default [
5+ {
6+ ignores : [ "dist" , "node_modules" ] ,
7+ } ,
8+ js . configs . recommended ,
9+ ...tseslint . configs . recommended ,
10+ {
11+ languageOptions : {
12+ ecmaVersion : "latest" ,
13+ sourceType : "module" ,
14+ globals : {
15+ process : "readonly" ,
16+ } ,
17+ } ,
18+ } ,
19+ ] ;
Original file line number Diff line number Diff line change 1919 ],
2020 "scripts" : {
2121 "build" : " pnpm exec tsc -p tsconfig.json" ,
22- "test" : " pnpm build && node --test tests/*.js"
22+ "clean" : " rimraf dist .output" ,
23+ "lint" : " eslint ." ,
24+ "test" : " pnpm build && node --test tests/*.js" ,
25+ "prepublishOnly" : " pnpm build"
2326 },
2427 "author" : {
2528 "name" : " Dean Clatworthy" ,
3639 " postcss"
3740 ],
3841 "dependencies" : {
39- "autoprefixer" : " ^10.4.22 " ,
42+ "autoprefixer" : " ^10.4.24 " ,
4043 "postcss" : " ^8.5.6"
4144 },
4245 "peerDependencies" : {
4346 "esbuild" : " ^0.27.0"
4447 },
4548 "devDependencies" : {
46- "@types/node" : " ^22.13.0" ,
47- "esbuild" : " ^0.27.0" ,
48- "typescript" : " ^5.7.3"
49+ "@eslint/js" : " ^9.0.0" ,
50+ "@types/node" : " ^25.2.2" ,
51+ "esbuild" : " ^0.27.3" ,
52+ "eslint" : " ^9.0.0" ,
53+ "rimraf" : " ^6.0.1" ,
54+ "typescript-eslint" : " ^8.20.0" ,
55+ "typescript" : " ^5.9.3"
4956 },
5057 "engines" : {
5158 "node" : " >=22"
You can’t perform that action at this time.
0 commit comments