chore(knip): add config and remove dead code/deps

- knip.json: scope to src, ignore submodule/worktrees, mark
  generated abi.ts as unresolved-allowed, honor @public JSDoc tag
- drop 14 orphaned files (12 ui components, model/Bank, model/Pix)
- drop 18 unused deps (urql, tanstack, wagmi/{core,vue}, graphql,
  permissionless, graphql-codegen suite, axe-core, lighthouse,
  vue/test-utils)
- drop 4 unused exports and de-export 9 internal-only types
- mark NetworksTestnet as @public (in-flight testnet support)
This commit is contained in:
2026-05-07 20:06:29 -03:00
committed by hueso
parent 5dc630acdf
commit 00390ab0c3
26 changed files with 46 additions and 2349 deletions

22
knip.json Normal file
View File

@@ -0,0 +1,22 @@
{
"$schema": "https://unpkg.com/knip@latest/schema.json",
"entry": [
"src/router/index.ts",
"index.html",
"wagmi.config.ts"
],
"project": [
"src/**/*.{ts,vue}",
"*.config.{ts,js}"
],
"ignore": [
"p2pix-smart-contracts/**",
".claude/**",
"babel.config.js"
],
"ignoreUnresolved": [
"./abi",
"@/blockchain/abi"
],
"tags": ["public"]
}