From 3e85a2fdd2b51fdd962a8948fefef09fd36347e3 Mon Sep 17 00:00:00 2001 From: chufan Date: Sat, 13 Jul 2024 00:57:17 +0800 Subject: [PATCH] chore: update --- packages/axios/tsconfig.json | 19 +------------------ packages/color/tsconfig.json | 19 +------------------ packages/hooks/tsconfig.json | 19 +------------------ packages/materials/tsconfig.json | 19 +------------------ packages/ofetch/tsconfig.json | 19 +------------------ packages/scripts/tsconfig.json | 19 +------------------ packages/uno-preset/tsconfig.json | 19 +------------------ packages/utils/tsconfig.json | 19 +------------------ tsconfig.package.json | 20 ++++++++++++++++++++ 9 files changed, 28 insertions(+), 144 deletions(-) diff --git a/packages/axios/tsconfig.json b/packages/axios/tsconfig.json index 5823ed54..8ac70592 100644 --- a/packages/axios/tsconfig.json +++ b/packages/axios/tsconfig.json @@ -1,20 +1,3 @@ { - "compilerOptions": { - "target": "ESNext", - "jsx": "preserve", - "lib": ["DOM", "ESNext"], - "baseUrl": ".", - "module": "ESNext", - "moduleResolution": "node", - "resolveJsonModule": true, - "types": ["node"], - "strict": true, - "strictNullChecks": true, - "noUnusedLocals": true, - "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true - }, - "include": ["src/**/*"], - "exclude": ["node_modules", "dist"] + "extends": "../../tsconfig.package.json" } diff --git a/packages/color/tsconfig.json b/packages/color/tsconfig.json index 5823ed54..8ac70592 100644 --- a/packages/color/tsconfig.json +++ b/packages/color/tsconfig.json @@ -1,20 +1,3 @@ { - "compilerOptions": { - "target": "ESNext", - "jsx": "preserve", - "lib": ["DOM", "ESNext"], - "baseUrl": ".", - "module": "ESNext", - "moduleResolution": "node", - "resolveJsonModule": true, - "types": ["node"], - "strict": true, - "strictNullChecks": true, - "noUnusedLocals": true, - "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true - }, - "include": ["src/**/*"], - "exclude": ["node_modules", "dist"] + "extends": "../../tsconfig.package.json" } diff --git a/packages/hooks/tsconfig.json b/packages/hooks/tsconfig.json index 5823ed54..8ac70592 100644 --- a/packages/hooks/tsconfig.json +++ b/packages/hooks/tsconfig.json @@ -1,20 +1,3 @@ { - "compilerOptions": { - "target": "ESNext", - "jsx": "preserve", - "lib": ["DOM", "ESNext"], - "baseUrl": ".", - "module": "ESNext", - "moduleResolution": "node", - "resolveJsonModule": true, - "types": ["node"], - "strict": true, - "strictNullChecks": true, - "noUnusedLocals": true, - "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true - }, - "include": ["src/**/*"], - "exclude": ["node_modules", "dist"] + "extends": "../../tsconfig.package.json" } diff --git a/packages/materials/tsconfig.json b/packages/materials/tsconfig.json index 5823ed54..8ac70592 100644 --- a/packages/materials/tsconfig.json +++ b/packages/materials/tsconfig.json @@ -1,20 +1,3 @@ { - "compilerOptions": { - "target": "ESNext", - "jsx": "preserve", - "lib": ["DOM", "ESNext"], - "baseUrl": ".", - "module": "ESNext", - "moduleResolution": "node", - "resolveJsonModule": true, - "types": ["node"], - "strict": true, - "strictNullChecks": true, - "noUnusedLocals": true, - "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true - }, - "include": ["src/**/*"], - "exclude": ["node_modules", "dist"] + "extends": "../../tsconfig.package.json" } diff --git a/packages/ofetch/tsconfig.json b/packages/ofetch/tsconfig.json index 5823ed54..8ac70592 100644 --- a/packages/ofetch/tsconfig.json +++ b/packages/ofetch/tsconfig.json @@ -1,20 +1,3 @@ { - "compilerOptions": { - "target": "ESNext", - "jsx": "preserve", - "lib": ["DOM", "ESNext"], - "baseUrl": ".", - "module": "ESNext", - "moduleResolution": "node", - "resolveJsonModule": true, - "types": ["node"], - "strict": true, - "strictNullChecks": true, - "noUnusedLocals": true, - "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true - }, - "include": ["src/**/*"], - "exclude": ["node_modules", "dist"] + "extends": "../../tsconfig.package.json" } diff --git a/packages/scripts/tsconfig.json b/packages/scripts/tsconfig.json index 67ab8a43..8ac70592 100644 --- a/packages/scripts/tsconfig.json +++ b/packages/scripts/tsconfig.json @@ -1,20 +1,3 @@ { - "compilerOptions": { - "target": "ESNext", - "jsx": "preserve", - "lib": ["DOM", "ESNext"], - "baseUrl": ".", - "module": "ESNext", - "moduleResolution": "node", - "resolveJsonModule": true, - "types": ["node"], - "strict": true, - "strictNullChecks": true, - "noUnusedLocals": true, - "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true - }, - "include": ["src/**/*", "typings/**/*"], - "exclude": ["node_modules", "dist"] + "extends": "../../tsconfig.package.json" } diff --git a/packages/uno-preset/tsconfig.json b/packages/uno-preset/tsconfig.json index 5823ed54..8ac70592 100644 --- a/packages/uno-preset/tsconfig.json +++ b/packages/uno-preset/tsconfig.json @@ -1,20 +1,3 @@ { - "compilerOptions": { - "target": "ESNext", - "jsx": "preserve", - "lib": ["DOM", "ESNext"], - "baseUrl": ".", - "module": "ESNext", - "moduleResolution": "node", - "resolveJsonModule": true, - "types": ["node"], - "strict": true, - "strictNullChecks": true, - "noUnusedLocals": true, - "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true - }, - "include": ["src/**/*"], - "exclude": ["node_modules", "dist"] + "extends": "../../tsconfig.package.json" } diff --git a/packages/utils/tsconfig.json b/packages/utils/tsconfig.json index 5823ed54..8ac70592 100644 --- a/packages/utils/tsconfig.json +++ b/packages/utils/tsconfig.json @@ -1,20 +1,3 @@ { - "compilerOptions": { - "target": "ESNext", - "jsx": "preserve", - "lib": ["DOM", "ESNext"], - "baseUrl": ".", - "module": "ESNext", - "moduleResolution": "node", - "resolveJsonModule": true, - "types": ["node"], - "strict": true, - "strictNullChecks": true, - "noUnusedLocals": true, - "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true - }, - "include": ["src/**/*"], - "exclude": ["node_modules", "dist"] + "extends": "../../tsconfig.package.json" } diff --git a/tsconfig.package.json b/tsconfig.package.json index e69de29b..470dfbe2 100644 --- a/tsconfig.package.json +++ b/tsconfig.package.json @@ -0,0 +1,20 @@ +{ + "compilerOptions": { + "target": "ESNext", + "jsx": "preserve", + "lib": ["DOM", "ESNext"], + "baseUrl": ".", + "module": "ESNext", + "moduleResolution": "node", + "resolveJsonModule": true, + "types": ["node"], + "strict": true, + "strictNullChecks": true, + "noUnusedLocals": true, + "allowSyntheticDefaultImports": true, + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true + }, + "exclude": ["node_modules", "dist"], + "include": ["src/**/*"] +}