Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency typescript to v5 #447

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"ts-loader": "^9.4.2",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"typescript": "^4.9.5"
"typescript": "^5.0.4"
},
"prisma": {
"seed": "swc-node prisma/seed.ts"
Expand Down
3 changes: 0 additions & 3 deletions commitlint.config.js

This file was deleted.

7 changes: 7 additions & 0 deletions commitlint.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import type { UserConfig } from '@commitlint/types'

// Cosmicconfig does not support loading ES modules
// https://github.com/cosmiconfig/cosmiconfig/pull/283
module.exports = {
extends: ['@commitlint/config-conventional']
} satisfies UserConfig
5 changes: 3 additions & 2 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,16 @@
"@iconify-json/ri": "^1.1.7",
"@tailwindcss/forms": "^0.5.3",
"@tailwindcss/typography": "^0.5.9",
"@tsconfig/node18": "^2.0.0",
"@types/node": "^18.15.11",
"@types/nprogress": "^0.2.0",
"@vitejs/plugin-vue": "^4.1.0",
"@vue/tsconfig": "^0.1.3",
"@vue/tsconfig": "^0.3.2",
"autoprefixer": "^10.4.14",
"histoire": "^0.16.1",
"postcss": "^8.4.22",
"tailwindcss": "^3.3.1",
"typescript": "^4.9.5",
"typescript": "^5.0.4",
"unplugin-icons": "^0.16.1",
"vite": "^4.2.1",
"vite-plugin-checker": "^0.5.6",
Expand Down
1 change: 0 additions & 1 deletion frontend/tailwind.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable @typescript-eslint/naming-convention */
/* eslint-disable @typescript-eslint/no-var-requires */
import type { Config } from 'tailwindcss'
import defaultTheme from 'tailwindcss/defaultTheme'
import colors from 'tailwindcss/colors'
Expand Down
10 changes: 7 additions & 3 deletions frontend/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
{
"extends": "@vue/tsconfig/tsconfig.web.json",
"extends": ["@vue/tsconfig/tsconfig.dom.json"],
"include": ["env.d.ts", "src/**/*", "src/**/*.vue"],
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
}
},
// Cannot use --moduleResolution bundler option
// since some libraries don't support (types are not exported explicitly)
// https://github.com/microsoft/TypeScript/pull/51669
"moduleResolution": "node"
},

"references": [
{
"path": "./tsconfig.vite-config.json"
"path": "./tsconfig.node.json"
}
]
}
8 changes: 8 additions & 0 deletions frontend/tsconfig.node.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": ["@tsconfig/node18/tsconfig.json", "@vue/tsconfig/tsconfig.json"],
"include": ["*.config.ts"],
"compilerOptions": {
"composite": true,
"types": ["node"]
}
}
8 changes: 0 additions & 8 deletions frontend/tsconfig.vite-config.json

This file was deleted.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
"devDependencies": {
"@commitlint/cli": "^17.6.1",
"@commitlint/config-conventional": "^17.6.1",
"@commitlint/types": "^17.4.4",
"@types/node": "^18.15.11",
"@typescript-eslint/eslint-plugin": "^5.58.0",
"@typescript-eslint/parser": "^5.58.0",
"eslint": "^8.38.0",
Expand All @@ -18,7 +20,7 @@
"lefthook": "^1.3.10",
"prettier": "^2.8.7",
"prettier-plugin-tailwindcss": "^0.2.7",
"typescript": "^4.9.5",
"typescript": "^5.0.4",
"vitepress": "1.0.0-alpha.71",
"vue-eslint-parser": "^9.1.1"
}
Expand Down
Loading