From 4e70b05a3d332aa1fe84b086b5d088b3d0dd02c3 Mon Sep 17 00:00:00 2001 From: JDMathew Date: Wed, 26 Jun 2024 15:55:05 -0700 Subject: [PATCH] update build config for packages --- packages/animations/tsconfig.build.json | 11 ++++++++--- packages/core/tsconfig.build.json | 11 ++++++++--- packages/extras/tsconfig.build.json | 11 ++++++++--- packages/forms/tsconfig.build.json | 11 ++++++++--- packages/internal/tsconfig.build.json | 11 ++++++++--- packages/lists/tsconfig.build.json | 11 ++++++++--- packages/react-native/tsconfig.build.json | 11 ++++++++--- 7 files changed, 56 insertions(+), 21 deletions(-) diff --git a/packages/animations/tsconfig.build.json b/packages/animations/tsconfig.build.json index 5b67af3b..2f97b18e 100644 --- a/packages/animations/tsconfig.build.json +++ b/packages/animations/tsconfig.build.json @@ -1,9 +1,14 @@ { - "extends": "./tsconfig.json", "include": ["src/**/*.ts"], "exclude": ["src/**/*.test.ts"], "compilerOptions": { - "outDir": "dist", + "target": "ES2016", + "jsx": "react-native", + "module": "CommonJS", + "esModuleInterop": true, + "strict": true, + "skipLibCheck": true, + "outDir": "./dist", "declaration": true } -} \ No newline at end of file +} diff --git a/packages/core/tsconfig.build.json b/packages/core/tsconfig.build.json index 5b67af3b..2f97b18e 100644 --- a/packages/core/tsconfig.build.json +++ b/packages/core/tsconfig.build.json @@ -1,9 +1,14 @@ { - "extends": "./tsconfig.json", "include": ["src/**/*.ts"], "exclude": ["src/**/*.test.ts"], "compilerOptions": { - "outDir": "dist", + "target": "ES2016", + "jsx": "react-native", + "module": "CommonJS", + "esModuleInterop": true, + "strict": true, + "skipLibCheck": true, + "outDir": "./dist", "declaration": true } -} \ No newline at end of file +} diff --git a/packages/extras/tsconfig.build.json b/packages/extras/tsconfig.build.json index 5b67af3b..2f97b18e 100644 --- a/packages/extras/tsconfig.build.json +++ b/packages/extras/tsconfig.build.json @@ -1,9 +1,14 @@ { - "extends": "./tsconfig.json", "include": ["src/**/*.ts"], "exclude": ["src/**/*.test.ts"], "compilerOptions": { - "outDir": "dist", + "target": "ES2016", + "jsx": "react-native", + "module": "CommonJS", + "esModuleInterop": true, + "strict": true, + "skipLibCheck": true, + "outDir": "./dist", "declaration": true } -} \ No newline at end of file +} diff --git a/packages/forms/tsconfig.build.json b/packages/forms/tsconfig.build.json index 5b67af3b..2f97b18e 100644 --- a/packages/forms/tsconfig.build.json +++ b/packages/forms/tsconfig.build.json @@ -1,9 +1,14 @@ { - "extends": "./tsconfig.json", "include": ["src/**/*.ts"], "exclude": ["src/**/*.test.ts"], "compilerOptions": { - "outDir": "dist", + "target": "ES2016", + "jsx": "react-native", + "module": "CommonJS", + "esModuleInterop": true, + "strict": true, + "skipLibCheck": true, + "outDir": "./dist", "declaration": true } -} \ No newline at end of file +} diff --git a/packages/internal/tsconfig.build.json b/packages/internal/tsconfig.build.json index bc33a346..77eb03d1 100644 --- a/packages/internal/tsconfig.build.json +++ b/packages/internal/tsconfig.build.json @@ -1,10 +1,15 @@ { - "extends": "./tsconfig.json", "include": ["src/**/*.ts", "src/ama.rules.json"], "exclude": ["src/**/*.test.ts"], "compilerOptions": { "resolveJsonModule": true, - "outDir": "dist", + "target": "ES2016", + "jsx": "react-native", + "module": "CommonJS", + "esModuleInterop": true, + "strict": true, + "skipLibCheck": true, + "outDir": "./dist", "declaration": true } -} \ No newline at end of file +} diff --git a/packages/lists/tsconfig.build.json b/packages/lists/tsconfig.build.json index 5b67af3b..2f97b18e 100644 --- a/packages/lists/tsconfig.build.json +++ b/packages/lists/tsconfig.build.json @@ -1,9 +1,14 @@ { - "extends": "./tsconfig.json", "include": ["src/**/*.ts"], "exclude": ["src/**/*.test.ts"], "compilerOptions": { - "outDir": "dist", + "target": "ES2016", + "jsx": "react-native", + "module": "CommonJS", + "esModuleInterop": true, + "strict": true, + "skipLibCheck": true, + "outDir": "./dist", "declaration": true } -} \ No newline at end of file +} diff --git a/packages/react-native/tsconfig.build.json b/packages/react-native/tsconfig.build.json index 5b67af3b..2f97b18e 100644 --- a/packages/react-native/tsconfig.build.json +++ b/packages/react-native/tsconfig.build.json @@ -1,9 +1,14 @@ { - "extends": "./tsconfig.json", "include": ["src/**/*.ts"], "exclude": ["src/**/*.test.ts"], "compilerOptions": { - "outDir": "dist", + "target": "ES2016", + "jsx": "react-native", + "module": "CommonJS", + "esModuleInterop": true, + "strict": true, + "skipLibCheck": true, + "outDir": "./dist", "declaration": true } -} \ No newline at end of file +}