Skip to content

Commit

Permalink
Merge pull request #14 from kongying-tavern/fix/typescript
Browse files Browse the repository at this point in the history
Fix for typescript 5
  • Loading branch information
boxsnake authored Nov 29, 2023
2 parents b50c442 + 9b253cb commit 111d4f3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
15 changes: 9 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,36 +12,39 @@
"lint": "pnpm lint-eslint && pnpm lint-stylelint",
"lint-eslint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
"lint-stylelint": "stylelint ./**/*.{css,sass,scss} --fix --ignore-path .gitignore",
"clean": "rimraf pnpm-lock.yaml node_modules dist",
"release": "semantic-release",
"svgo": "svgo -rf src"
},
"dependencies": {
"@vueuse/core": "^10.1.2",
"element-plus": "^2.2.32",
"element-plus": "^2.4.3",
"lodash": "^4.17.21",
"pinia": "^2.0.28",
"tailwindcss": "^3.2.7",
"vue": "^3.2.45",
"vue-router": "^4.1.6"
"vue": "^3.3.9",
"vue-router": "^4.2.5"
},
"devDependencies": {
"@aghap/semantic-release-gh-pages": "^2.0.9",
"@rushstack/eslint-patch": "^1.1.4",
"@tsconfig/node20": "^20.1.2",
"@types/lodash": "^4.14.194",
"@types/node": "^18.11.12",
"@types/node": "^20.10.0",
"@typescript-eslint/eslint-plugin": "^6.13.0",
"@vitejs/plugin-vue": "^4.0.0",
"@vitejs/plugin-vue-jsx": "^3.0.0",
"@vue/eslint-config-prettier": "^8.0.0",
"@vue/eslint-config-typescript": "^12.0.0",
"@vue/tsconfig": "^0.1.3",
"@vue/tsconfig": "^0.4.0",
"autoprefixer": "^10.4.13",
"commitizen": "^4.3.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.54.0",
"eslint-plugin-vue": "^9.18.1",
"postcss": "^8.4.31",
"prettier": "^3.1.0",
"rimraf": "^5.0.5",
"sass": "^1.58.3",
"semantic-release": "^20.1.3",
"stylelint": "^15.11.0",
Expand All @@ -54,7 +57,7 @@
"typescript": "^5.3.2",
"unplugin-auto-import": "^0.15.0",
"vite": "^4.0.0",
"vue-tsc": "^1.0.12"
"vue-tsc": "^1.8.24"
},
"config": {
"commitizen": {
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@vue/tsconfig/tsconfig.node.json",
"extends": "@tsconfig/node20/tsconfig.json",
"include": ["vite.config.*", "vitest.config.*", "cypress.config.*", "playwright.config.*"],
"compilerOptions": {
"composite": true,
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@vue/tsconfig/tsconfig.web.json",
"extends": "@vue/tsconfig/tsconfig.dom.json",
"include": ["env.d.ts", "auto-imports.d.ts", "src/**/*", "src/**/*.vue"],
"compilerOptions": {
"baseUrl": ".",
Expand Down

0 comments on commit 111d4f3

Please sign in to comment.