diff --git a/package-lock.json b/package-lock.json index ab87d16..4f610d3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26,7 +26,7 @@ "sass": "^1.58.1", "sass-loader": "^13.2.2", "tailwindcss": "^3.3.2", - "typescript": "^4.9.3", + "typescript": "^5.0.4", "unplugin-vue-components": "^0.23.0", "vite": "^4.2.0", "vite-plugin-vue-setup-extend": "^0.4.0", @@ -4454,16 +4454,16 @@ } }, "node_modules/typescript": { - "version": "4.9.5", - "resolved": "https://registry.npmmirror.com/typescript/-/typescript-4.9.5.tgz", - "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", + "version": "5.0.4", + "resolved": "https://registry.npmmirror.com/typescript/-/typescript-5.0.4.tgz", + "integrity": "sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==", "devOptional": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" }, "engines": { - "node": ">=4.2.0" + "node": ">=12.20" } }, "node_modules/ufo": { @@ -8418,9 +8418,9 @@ "dev": true }, "typescript": { - "version": "4.9.5", - "resolved": "https://registry.npmmirror.com/typescript/-/typescript-4.9.5.tgz", - "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", + "version": "5.0.4", + "resolved": "https://registry.npmmirror.com/typescript/-/typescript-5.0.4.tgz", + "integrity": "sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==", "devOptional": true }, "ufo": { diff --git a/package.json b/package.json index 0960118..4733d82 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "sass": "^1.58.1", "sass-loader": "^13.2.2", "tailwindcss": "^3.3.2", - "typescript": "^4.9.3", + "typescript": "^5.0.4", "unplugin-vue-components": "^0.23.0", "vite": "^4.2.0", "vite-plugin-vue-setup-extend": "^0.4.0", diff --git a/tsconfig.json b/tsconfig.json index 7fdf6a6..694a535 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -19,6 +19,6 @@ "@/*":["src/*"] } }, - "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue", "mock/utils.ts", "mock/index.ts"], + "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue", "components.d.ts"], "references": [{ "path": "./tsconfig.node.json" }] }