fix: kill stale workspace tsconfig refs after pkgs strip

The 01b6ad2b strip removed the upstream packages/* and config/tsconfig/* dirs
but left the old `references` arrays pointing at deleted paths, breaking
typecheck. Reset:

- pkgs/wallet/tsconfig.json now extends ../../tsconfig.base.json directly,
  excludes test files (no @types/jest in this scope), no stale refs.
- apps/{extension,mobile}/tsconfig.json drop refs to packages/* (which never
  existed in this monorepo — those were upstream paths) and reference
  ../../pkgs/wallet only.

apps/web builds clean. pkgs/wallet typecheck still surfaces ~5000 errors
from `@l.x/*` npm packages shipping raw .ts (upstream publishing bug —
documented in LLM.md, not lux/wallet's responsibility to patch).
This commit is contained in:
Hanzo AI
2026-04-30 11:47:00 -07:00
parent 01b6ad2b97
commit 7ee1612c19
4 changed files with 16 additions and 76 deletions
+1
View File
@@ -3,6 +3,7 @@ node_modules
out out
dist dist
build build
apps/web/public/brand.json
*.tsbuildinfo *.tsbuildinfo
.turbo .turbo
.env*.local .env*.local
+1 -22
View File
@@ -6,28 +6,7 @@
"exclude": ["node_modules", ".output", "wxt.config.ts"], "exclude": ["node_modules", ".output", "wxt.config.ts"],
"references": [ "references": [
{ {
"path": "../../packages/wallet" "path": "../../pkgs/wallet"
},
{
"path": "../../packages/utilities"
},
{
"path": "../../packages/uniswap"
},
{
"path": "../../packages/ui"
},
{
"path": "../../packages/sessions"
},
{
"path": "../../packages/notifications"
},
{
"path": "../../packages/gating"
},
{
"path": "../../packages/api"
} }
], ],
"compilerOptions": { "compilerOptions": {
+2 -26
View File
@@ -1,35 +1,11 @@
{ {
"$schema": "https://json.schemastore.org/tsconfig", "$schema": "https://json.schemastore.org/tsconfig",
"display": "Mobile App", "display": "Mobile App",
"extends": "../../config/tsconfig/expo.json", "extends": "../../tsconfig.base.json",
"exclude": [".storybook/storybook.requires.ts"], "exclude": [".storybook/storybook.requires.ts"],
"references": [ "references": [
{ {
"path": "../../packages/sessions" "path": "../../pkgs/wallet"
},
{
"path": "../../packages/notifications"
},
{
"path": "../../packages/hashcash-native"
},
{
"path": "../../packages/gating"
},
{
"path": "../../packages/api"
},
{
"path": "../../packages/wallet"
},
{
"path": "../../packages/utilities"
},
{
"path": "../../packages/ui"
},
{
"path": "../../packages/uniswap"
} }
], ],
"compilerOptions": { "compilerOptions": {
+12 -28
View File
@@ -1,5 +1,5 @@
{ {
"extends": "../../config/tsconfig/app.json", "extends": "../../tsconfig.base.json",
"include": [ "include": [
"src/**/*.ts", "src/**/*.ts",
"src/**/*.d.ts", "src/**/*.d.ts",
@@ -7,33 +7,17 @@
"src/**/*.json", "src/**/*.json",
"env.d.ts" "env.d.ts"
], ],
"references": [ "exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx", "src/test/**"],
{
"path": "../config"
},
{
"path": "../utilities"
},
{
"path": "../lx"
},
{
"path": "../ui"
},
{
"path": "../sessions"
},
{
"path": "../gating"
},
{
"path": "../api"
},
{
"path": "../eslint-config"
}
],
"compilerOptions": { "compilerOptions": {
"types": ["chrome", "jest"] "moduleResolution": "Bundler",
"lib": ["dom", "dom.iterable", "esnext"],
"jsx": "react-jsx",
"resolveJsonModule": true,
"noEmit": true,
"skipLibCheck": true,
"types": [],
"paths": {
"src/*": ["./src/*"]
}
} }
} }