From cee76cf9a9647b5e266ec8551490168ca6c03c0b Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Thu, 28 Nov 2024 13:21:48 +0800 Subject: [PATCH 1/2] feat(lib)!: disable `skipLibCheck` in library tsconfig, closes #5 BREAKING CHANGE: This change requires libraries extending `tsconfig.lib.json` to be type-checked against their dependencies as well as the `.d.ts` files in their own projects. So it might introduce new type errors. It bumps the Vue.js version requirement to `^3.4.0`, as the Vue.js core can only be correctly type-checked in `--isolatedModules` mode after version 3.4 (following the removal of `const enum` usage). It might also increase the compilation time of the library projects. --- package.json | 2 +- tsconfig.lib.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index af8c439..514e724 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ }, "peerDependencies": { "typescript": "5.x", - "vue": "^3.3.0" + "vue": "^3.4.0" }, "peerDependenciesMeta": { "typescript": { diff --git a/tsconfig.lib.json b/tsconfig.lib.json index 650e370..d6b6fca 100644 --- a/tsconfig.lib.json +++ b/tsconfig.lib.json @@ -2,6 +2,7 @@ "compilerOptions": { "noEmit": false, "declaration": true, - "emitDeclarationOnly": true + "emitDeclarationOnly": true, + "skipLibCheck": false } } From 37994ed821d966cdc41df6204a815f3f77c50653 Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Thu, 28 Nov 2024 13:34:46 +0800 Subject: [PATCH 2/2] 0.7.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 514e724..d1986b0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@vue/tsconfig", - "version": "0.6.0", + "version": "0.7.0", "description": "A base TSConfig for working with Vue.js", "main": "tsconfig.json", "scripts": { pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy