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/**/*"] +}