Skip to content

Commit

Permalink
chore: bump packages
Browse files Browse the repository at this point in the history
  • Loading branch information
chybisov committed Oct 10, 2024
1 parent 2c2cd59 commit ad00e40
Show file tree
Hide file tree
Showing 5 changed files with 122 additions and 102 deletions.
5 changes: 5 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"recommendations": [
"biomejs.biome"
]
}
33 changes: 33 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"editor.defaultFormatter": "biomejs.biome",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"quickfix.biome": "explicit",
"source.organizeImports.biome": "explicit"
},
"javascript.updateImportsOnFileMove.enabled": "always",
"typescript.updateImportsOnFileMove.enabled": "always",
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true,
"javascript.preferences.autoImportFileExcludePatterns": [
"**/_types/**"
],
"typescript.preferences.autoImportFileExcludePatterns": [
"**/_types/**"
],
"[json]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[javascript]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[javascriptreact]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[typescript]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[typescriptreact]": {
"editor.defaultFormatter": "biomejs.biome"
}
}
38 changes: 10 additions & 28 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.3/schema.json",
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"ignoreUnknown": false,
"ignore": [
"*.md",
"*.lock",
"*.json"
]
"ignore": ["*.md", "*.lock", "*.json"]
},
"formatter": {
"enabled": true,
Expand All @@ -31,13 +27,7 @@
"enabled": true,
"rules": {
"recommended": true,
"complexity": {
"noBannedTypes": "error",
"noUselessThisAlias": "error",
"noUselessTypeConstraint": "error"
},
"correctness": {
"noPrecisionLoss": "error",
"noUnusedImports": "error",
"noUnusedVariables": "error",
"useArrayLiterals": "off"
Expand All @@ -47,35 +37,27 @@
"noReExportAll": "error"
},
"style": {
"noNamespace": "error",
"noNonNullAssertion": "off",
"useAsConstAssertion": "error",
"useBlockStatements": "error",
"useImportType": "warn"
"useBlockStatements": "error"
},
"suspicious": {
"noExtraNonNullAssertion": "error",
"noMisleadingInstantiator": "error",
"noUnsafeDeclarationMerging": "error",
"noConfusingVoidType": "off",
"noExplicitAny": "off"
}
},
"ignore": [
"**/*.json"
]
"ignore": ["**/*.json"]
},
"javascript": {
"formatter": {
"jsxQuoteStyle": "double",
"quoteProperties": "asNeeded",
"trailingCommas": "es5",
"semicolons": "asNeeded",
"arrowParentheses": "always",
"attributePosition": "auto",
"bracketSameLine": false,
"bracketSpacing": true,
"jsxQuoteStyle": "double",
"quoteProperties": "asNeeded",
"quoteStyle": "single",
"attributePosition": "auto",
"bracketSpacing": true
"semicolons": "asNeeded",
"trailingCommas": "es5"
}
}
}
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@
"test": "vitest --run --dangerouslyIgnoreUnhandledErrors",
"test:cov": "pnpm test --coverage",
"test:unit": "pnpm test .unit.spec.ts",
"check": "pnpm biome check ./src",
"check:write": "pnpm biome check --write ./src",
"check:write:unsafe": "pnpm biome check --write --unsafe ./src",
"check": "biome check ./src",
"check:write": "biome check --write ./src",
"check:write:unsafe": "biome check --write --unsafe ./src",
"check:types": "tsc --noEmit",
"check:circular-deps": "madge --circular $(find ./src -name '*.ts')",
"check:circular-deps-graph": "madge --circular $(find ./src -name '*.ts') --image graph.svg",
Expand All @@ -92,15 +92,15 @@
]
},
"dependencies": {
"@lifi/types": "^15.15.0",
"@lifi/types": "^15.16.0",
"@noble/curves": "^1.6.0",
"@noble/hashes": "^1.5.0",
"@solana/wallet-adapter-base": "^0.9.23",
"@solana/web3.js": "^1.95.3",
"bech32": "^2.0.0",
"bitcoinjs-lib": "^7.0.0-rc.0",
"bs58": "^6.0.0",
"viem": "^2.21.19"
"viem": "^2.21.21"
},
"devDependencies": {
"@biomejs/biome": "^1.9.3",
Expand All @@ -117,7 +117,7 @@
"pinst": "^3.0.0",
"standard-version": "^9.5.0",
"ts-node": "^10.9.2",
"typescript": "^5.6.2",
"typescript": "^5.6.3",
"vitest": "^2.1.2"
},
"peerDependencies": {
Expand Down
Loading

0 comments on commit ad00e40

Please sign in to comment.