Skip to content

Commit

Permalink
chore: update repo
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Apr 29, 2024
1 parent eeffb6e commit 355cd94
Show file tree
Hide file tree
Showing 9 changed files with 3,385 additions and 3,562 deletions.
3 changes: 0 additions & 3 deletions .eslintignore

This file was deleted.

1 change: 0 additions & 1 deletion .prettierrc

This file was deleted.

16 changes: 16 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"$schema": "https://biomejs.dev/schemas/1.7.1/schema.json",
"formatter": {
"indentStyle": "space"
},
"javascript": {
"formatter": {
"arrowParentheses": "always"
}
},
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
}
}
6 changes: 6 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import unjs from "eslint-config-unjs";

export default unjs({
ignores: [],
rules: {},
});
17 changes: 8 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,34 +16,33 @@
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"files": ["dist"],
"scripts": {
"build": "pnpm gen-maps && unbuild",
"dev": "vitest dev",
"gen-maps": "jiti ./scripts/gen-maps.ts",
"lint": "eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src test",
"lint:fix": "automd && eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w",
"lint": "eslint . && biome format .",
"lint:fix": "automd && eslint . --fix && biome format . --write",
"prepack": "pnpm build",
"play": "jiti playground",
"release": "pnpm test && changelogen --release && npm publish && git push --follow-tags",
"test": "pnpm lint && pnpm test:types && vitest run --coverage",
"test:types": "tsc --noEmit --skipLibCheck"
},
"devDependencies": {
"@biomejs/biome": "^1.7.1",
"@types/bun": "^1.1.0",
"@types/node": "^20.12.7",
"@vitest/coverage-v8": "^1.5.2",
"automd": "^0.3.7",
"changelogen": "^0.5.5",
"eslint": "^8.57.0",
"eslint-config-unjs": "^0.2.1",
"eslint": "^9.0.6",
"eslint-config-unjs": "^0.3.0-rc.7",
"jiti": "^1.21.0",
"prettier": "^3.2.5",
"typescript": "^5.4.5",
"unbuild": "^2.0.0",
"vitest": "^1.5.2"
},
"packageManager": "pnpm@8.15.7"
}
"packageManager": "pnpm@9.0.6"
}

0 comments on commit 355cd94

Please sign in to comment.