Skip to content

Commit

Permalink
test: ✅ reduce the amount of snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmy-guzman committed Oct 31, 2024
1 parent d4b9ee5 commit b0462c4
Show file tree
Hide file tree
Showing 12 changed files with 16 additions and 50,064 deletions.
5 changes: 5 additions & 0 deletions .lefthook.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
"glob": "*.{md,json,yml,ts}",
"run": "pnpm exec prettier --write {staged_files}",
"stage_fixed": true
},
"sort-package-json": {
"glob": "{,**/}package.json",
"run": "pnpm dlx sort-package-json {staged_files}",
"stage_fixed": true
}
}
},
Expand Down
13 changes: 3 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
"dist"
],
"scripts": {
"typegen": "tsx scripts/typegen.ts",
"build": "pnpm typegen && pkgroll --minify",
"coverage": "vitest run --coverage",
"dev": "pkgroll --watch",
Expand All @@ -44,16 +43,17 @@
"prepack": "pnpm build && clean-pkg-json",
"prepare": "is-ci || lefthook install",
"test": "vitest",
"typecheck": "tsc"
"typecheck": "tsc",
"typegen": "tsx scripts/typegen.ts"
},
"prettier": "@jimmy.codes/prettier-config",
"dependencies": {
"@eslint/js": "^8.57.0",
"@tanstack/eslint-plugin-query": "^5.59.7",
"@types/eslint": "8.56.10",
"@types/eslint__js": "8.42.3",
"@typescript-eslint/utils": "^8.12.2",
"@typescript-eslint/parser": "^8.12.2",
"@typescript-eslint/utils": "^8.12.2",
"astro-eslint-parser": "^1.0.3",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.3",
Expand Down Expand Up @@ -115,13 +115,6 @@
"publishConfig": {
"access": "public"
},
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"eslint-plugin-import"
]
}
},
"gitzy": {
"useCommitlintConfig": true
}
Expand Down
Loading

0 comments on commit b0462c4

Please sign in to comment.