-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
50 lines (45 loc) · 1.85 KB
/
Copy pathtsconfig.json
File metadata and controls
50 lines (45 loc) · 1.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"compilerOptions": {
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "bundler",
"lib": ["ESNext"],
"types": ["bun"],
"strict": true,
"noImplicitAny": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
"exactOptionalPropertyTypes": false,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noImplicitOverride": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"isolatedModules": true,
"verbatimModuleSyntax": false,
"skipLibCheck": true,
"noEmit": true,
"allowImportingTsExtensions": true,
// The @lastdb/app-sdk is vendored as a committed prebuilt directory under
// vendor/ rather than installed as a package. A relative `file:` dependency
// does NOT survive a `bun add github:EdgeVector/fbrain` install — bun extracts
// the repo tarball but never runs a nested install for fbrain's own file:
// deps, so no node_modules/@lastdb/app-sdk symlink is created and the bare
// specifier fails to resolve at runtime. Resolving `@lastdb/app-sdk` via a
// tsconfig path alias instead removes the install-time dependency entirely:
// bun honors these paths relative to the ENTRYPOINT's directory (verified for
// a globally-installed bin run from any cwd), so it resolves whether fbrain is
// a local clone or installed under node_modules/fbrain/ from a github:
// specifier. To refresh the SDK, replace vendor/lastdb-app-sdk/ with a freshly
// unpacked @lastdb/app-sdk tarball (tar xzf … --strip-components=1).
"baseUrl": ".",
"paths": {
"@lastdb/app-sdk": ["./vendor/lastdb-app-sdk"]
}
},
"include": ["src/**/*", "test/**/*"],
"exclude": ["node_modules", "dist"]
}