mirror of
https://github.com/luxfi/wallet.git
synced 2026-07-27 03:37:41 +00:00
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:
@@ -3,6 +3,7 @@ node_modules
|
||||
out
|
||||
dist
|
||||
build
|
||||
apps/web/public/brand.json
|
||||
*.tsbuildinfo
|
||||
.turbo
|
||||
.env*.local
|
||||
|
||||
@@ -6,28 +6,7 @@
|
||||
"exclude": ["node_modules", ".output", "wxt.config.ts"],
|
||||
"references": [
|
||||
{
|
||||
"path": "../../packages/wallet"
|
||||
},
|
||||
{
|
||||
"path": "../../packages/utilities"
|
||||
},
|
||||
{
|
||||
"path": "../../packages/uniswap"
|
||||
},
|
||||
{
|
||||
"path": "../../packages/ui"
|
||||
},
|
||||
{
|
||||
"path": "../../packages/sessions"
|
||||
},
|
||||
{
|
||||
"path": "../../packages/notifications"
|
||||
},
|
||||
{
|
||||
"path": "../../packages/gating"
|
||||
},
|
||||
{
|
||||
"path": "../../packages/api"
|
||||
"path": "../../pkgs/wallet"
|
||||
}
|
||||
],
|
||||
"compilerOptions": {
|
||||
|
||||
@@ -1,35 +1,11 @@
|
||||
{
|
||||
"$schema": "https://json.schemastore.org/tsconfig",
|
||||
"display": "Mobile App",
|
||||
"extends": "../../config/tsconfig/expo.json",
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"exclude": [".storybook/storybook.requires.ts"],
|
||||
"references": [
|
||||
{
|
||||
"path": "../../packages/sessions"
|
||||
},
|
||||
{
|
||||
"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"
|
||||
"path": "../../pkgs/wallet"
|
||||
}
|
||||
],
|
||||
"compilerOptions": {
|
||||
|
||||
+12
-28
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"extends": "../../config/tsconfig/app.json",
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"include": [
|
||||
"src/**/*.ts",
|
||||
"src/**/*.d.ts",
|
||||
@@ -7,33 +7,17 @@
|
||||
"src/**/*.json",
|
||||
"env.d.ts"
|
||||
],
|
||||
"references": [
|
||||
{
|
||||
"path": "../config"
|
||||
},
|
||||
{
|
||||
"path": "../utilities"
|
||||
},
|
||||
{
|
||||
"path": "../lx"
|
||||
},
|
||||
{
|
||||
"path": "../ui"
|
||||
},
|
||||
{
|
||||
"path": "../sessions"
|
||||
},
|
||||
{
|
||||
"path": "../gating"
|
||||
},
|
||||
{
|
||||
"path": "../api"
|
||||
},
|
||||
{
|
||||
"path": "../eslint-config"
|
||||
}
|
||||
],
|
||||
"exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx", "src/test/**"],
|
||||
"compilerOptions": {
|
||||
"types": ["chrome", "jest"]
|
||||
"moduleResolution": "Bundler",
|
||||
"lib": ["dom", "dom.iterable", "esnext"],
|
||||
"jsx": "react-jsx",
|
||||
"resolveJsonModule": true,
|
||||
"noEmit": true,
|
||||
"skipLibCheck": true,
|
||||
"types": [],
|
||||
"paths": {
|
||||
"src/*": ["./src/*"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user