commit
fix any typescript issues that v7 gave us
diff --git a/apps/server/tsconfig.json b/apps/server/tsconfig.json
index 564a599..3786b55 100644
--- a/apps/server/tsconfig.json
+++ b/apps/server/tsconfig.json
@@ -1,4 +1,10 @@
{
"extends": "../../tsconfig.base.json",
+ "compilerOptions": {
+ // TS7 no longer auto-includes @types/bun the way TS5 did, so name it
+ // explicitly. This is the only package that uses Bun's globals
+ // (`Bun`, `import.meta.dir`), so it's scoped here rather than the base.
+ "types": ["bun"]
+ },
"include": ["src"]
}
diff --git a/bun.lock b/bun.lock
index 810d193..9fb1be2 100644
--- a/bun.lock
+++ b/bun.lock
@@ -5,10 +5,10 @@
"": {
"name": "music-monorepo",
"dependencies": {
- "@dotenvx/dotenvx": "^2.19.0",
+ "@dotenvx/dotenvx": "^2.19.1",
},
"devDependencies": {
- "@tauri-apps/cli": "^2",
+ "@tauri-apps/cli": "^2.11.4",
"@types/bun": "^1.3.14",
"concurrently": "^10.0.4",
"typescript": "^7.0.2",
@@ -66,7 +66,7 @@
"packages": {
"@borewit/text-codec": ["@borewit/[email protected]", "", {}, "sha512-DDaRehssg1aNrH4+2hnj1B7vnUGEjU6OIlyRdkMd0aUdIUvKXrJfXsy8LVtXAy7DRvYVluWbMspsRhz2lcW0mQ=="],
- "@dotenvx/dotenvx": ["@dotenvx/[email protected]", "", { "dependencies": { "@dotenvx/primitives": "^2.1.1", "@dotenvx/tooling": "^1.0.3", "yocto-spinner": "^1.2.1" }, "bin": { "dotenvx": "src/cli/dotenvx.js" } }, "sha512-DPy8Xbe+wV8gDRAC9Kr324dkgH4aQS7tPGh1YLkBSBICFvAQNe5umnpRT7IZ0yJ3VlsfWVFJ6+2s9dcZjtQOAw=="],
+ "@dotenvx/dotenvx": ["@dotenvx/[email protected]", "", { "dependencies": { "@dotenvx/primitives": "^2.1.1", "@dotenvx/tooling": "^1.0.3", "yocto-spinner": "^1.2.1" }, "bin": { "dotenvx": "src/cli/dotenvx.js" } }, "sha512-OTTjLHzAm2/V7OwshVBfwe9YPKpRaeuGYS6Tq3TLu5dugmvuqtVWP4FOWud2KEnbTY8FNY6Wb4gMyDNUwfU1Uw=="],
"@dotenvx/primitives": ["@dotenvx/[email protected]", "", {}, "sha512-d7cmVY8LA4SlgSCDyB7tOPLPpinE1959/hXEd+euUGeAK/6QBEmdD+yDOrcanbzBwwqQxpYts0ETa+W+GOgLtg=="],
diff --git a/package.json b/package.json
index 90c3242..92fa937 100644
--- a/package.json
+++ b/package.json
@@ -21,10 +21,10 @@
"android:build": "cd apps/desktop/src-tauri && cargo tauri android build --apk"
},
"dependencies": {
- "@dotenvx/dotenvx": "^2.19.0"
+ "@dotenvx/dotenvx": "^2.19.1"
},
"devDependencies": {
- "@tauri-apps/cli": "^2",
+ "@tauri-apps/cli": "^2.11.4",
"concurrently": "^10.0.4",
"typescript": "^7.0.2",
"@types/bun": "^1.3.14"