Skip to content

Commit

Permalink
chore(deps): uniform typescript version, tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
kettei-sproutty committed Oct 8, 2023
1 parent 931a9eb commit cfca35b
Show file tree
Hide file tree
Showing 10 changed files with 41 additions and 23 deletions.
8 changes: 7 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
[workspace]
members = ["apps/ide/src-tauri"]
members = ["apps/ide/src-tauri", "packages/*"]
default-members = ["apps/ide/src-tauri"]
resolver = "2"

[profile.release]
panic = "abort"
opt-level = 3
debug = false
5 changes: 4 additions & 1 deletion apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@
"@astrojs/starlight": "^0.11.0",
"astro": "^3.2.3",
"sharp": "^0.32.5"
},
"devDependencies": {
"tsconfig": "workspace:*"
}
}
}
4 changes: 2 additions & 2 deletions apps/docs/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "astro/tsconfigs/strictest"
}
"extends": "tsconfig/base.json"
}
3 changes: 2 additions & 1 deletion apps/ide/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"svelte": "^4.0.5",
"svelte-check": "^3.4.3",
"tslib": "^2.4.1",
"typescript": "^5.0.0",
"typescript": "^5.2.2",
"tsconfig": "workspace:*",
"vite": "^4.4.2"
},
"type": "module"
Expand Down
4 changes: 3 additions & 1 deletion apps/ide/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"extends": "./.svelte-kit/tsconfig.json",
"$schema": "https://json.schemastore.org/tsconfig",
"extends": ["tsconfig/base.json", "./.svelte-kit/tsconfig.json"],
"compilerOptions": {
"ignoreDeprecations": "5.0",
"allowJs": true,
"checkJs": true,
"esModuleInterop": true,
Expand Down
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion packages/eslint-config-custom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"devDependencies": {
"@vercel/style-guide": "^5.0.0",
"eslint-config-turbo": "^1.10.12",
"typescript": "^4.5.3"
"typescript": "^5.2.2"
}
}
33 changes: 18 additions & 15 deletions packages/tsconfig/base.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Default",
"display": "Base",
"_version": "2.0.0",
"compilerOptions": {
"composite": false,
"declaration": true,
"declarationMap": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"inlineSources": false,
"strict": true,
"allowUnusedLabels": false,
"allowUnreachableCode": false,
"exactOptionalPropertyTypes": true,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noImplicitAny": true,
"noPropertyAccessFromIndexSignature": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"isolatedModules": true,
"moduleResolution": "node",
"noUnusedLocals": false,
"noUnusedParameters": false,
"preserveWatchOutput": true,
"checkJs": true,
"esModuleInterop": true,
"skipLibCheck": true,
"strict": true,
"strictNullChecks": true
},
"exclude": ["node_modules"]
"forceConsistentCasingInFileNames": true
}
}
3 changes: 3 additions & 0 deletions packages/tsconfig/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@
"license": "MIT",
"publishConfig": {
"access": "public"
},
"peerDependencies": {
"typescript": "^5.2.2"
}
}
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"eslint-config-custom": "*",
"react": "^18.2.0",
"tsconfig": "*",
"typescript": "^4.5.2"
"typescript": "^5.2.2"
}
}

0 comments on commit cfca35b

Please sign in to comment.