Skip to content
Closed
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ coverage
# Turbo
.turbo
.tsbuildinfo
tsconfig.tsbuildinfo
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is wrong. No need to add to gitignore.

The right place is

"tsBuildInfoFile": "node_modules/.cache/core.tsbuildinfo",


# Vim shit
*.py-E
Expand Down Expand Up @@ -60,7 +61,9 @@ apps/web/scripts-dist
# File uploads in development
apps/web/uploads
apps/web/public/uploads
apps/web/public/storage
uploads
storage

# Temporal
tmp
Expand Down Expand Up @@ -89,4 +92,6 @@ __testing__
# New spans
apps/web/ingest
apps/workers/workspaces/*/traces
apps/web/tsc-tracing
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Garbage I generated

*.tsbuildinfo

11 changes: 4 additions & 7 deletions apps/web/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@
}
],
"incremental": true,
"tsBuildInfoFile": ".tsbuildinfo",
"noEmit": true,
"moduleResolution": "Bundler",
"jsx": "preserve",
"typeRoots": [
"./node_modules/@types"
],
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was wrong

"skipLibCheck": true,
"types": [],
"baseUrl": ".",
"paths": {
"$/*": [
Expand All @@ -24,9 +23,7 @@
"./src/**/*.test.ts",
"./src/**/*.ts",
"./src/**/*.tsx",
"next-env.d.ts",
"next.config.js",
".next/types/**/*.ts"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This had a lot of shit. 3.8GB memory now 2.5GB

"next-env.d.ts"
],
"exclude": [
"node_modules",
Expand Down
7 changes: 3 additions & 4 deletions apps/web/tsconfig.workers.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@
"module": "es2022",
"noEmit": false,
"moduleResolution": "Bundler",
"jsx": "preserve",
"typeRoots": ["./node_modules/@types"],
"skipLibCheck": true,
"baseUrl": ".",
"paths": {
"$/*": ["./src/workers/*"],
"@latitude-data/constants": ["../../packages/constants/src/index.ts"],
"@latitude-data/constants/*": ["../../packages/constants/src/*"]
"@latitude-data/constants": ["../../packages/constants"],
"@latitude-data/constants/*": ["../../packages/constants/*"]
}
},
"include": ["./src/workers/**/*.ts"],
Expand Down
3 changes: 3 additions & 0 deletions packages/core/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{
"extends": "@latitude-data/typescript-config/base.json",
"compilerOptions": {
"noEmit": true,
"incremental": true,
"tsBuildInfoFile": "node_modules/.cache/core.tsbuildinfo",
"moduleResolution": "Bundler",
"jsx": "preserve"
},
Expand Down
Loading