diff --git a/gui-js/apps/minsky-electron/tsconfig.json b/gui-js/apps/minsky-electron/tsconfig.json index 893d8d7d3..ac6939a46 100644 --- a/gui-js/apps/minsky-electron/tsconfig.json +++ b/gui-js/apps/minsky-electron/tsconfig.json @@ -1,16 +1,4 @@ { - "compilerOptions": { - "target": "es2022", - "useDefineForClassFields": false, - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true, - "strict": false, - "noImplicitOverride": false, - "noImplicitAny": false, - "noPropertyAccessFromIndexSignature": false, - "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true - }, "files": [], "include": [], "references": [ @@ -24,11 +12,5 @@ "path": "./tsconfig.editor.json" } ], - "extends": "../../tsconfig.base.json", - "angularCompilerOptions": { - "enableI18nLegacyMessageIdFormat": false, - "strictInjectionParameters": true, - "strictInputAccessModifiers": true, - "strictTemplates": true - } + "extends": "../../tsconfig.base.json" } \ No newline at end of file diff --git a/gui-js/apps/minsky-electron/tsconfig.spec.json b/gui-js/apps/minsky-electron/tsconfig.spec.json index e48ccba48..d229069ab 100644 --- a/gui-js/apps/minsky-electron/tsconfig.spec.json +++ b/gui-js/apps/minsky-electron/tsconfig.spec.json @@ -2,10 +2,6 @@ "extends": "./tsconfig.json", "compilerOptions": { "outDir": "../../dist/out-tsc", - "module": "commonjs", - "target": "es2016", - "esModuleInterop": true, - "allowSyntheticDefaultImports": true, "types": ["jest", "node"] }, "files": ["src/test-setup.ts"], diff --git a/gui-js/apps/minsky-web/tsconfig.json b/gui-js/apps/minsky-web/tsconfig.json index 893d8d7d3..ac6939a46 100644 --- a/gui-js/apps/minsky-web/tsconfig.json +++ b/gui-js/apps/minsky-web/tsconfig.json @@ -1,16 +1,4 @@ { - "compilerOptions": { - "target": "es2022", - "useDefineForClassFields": false, - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true, - "strict": false, - "noImplicitOverride": false, - "noImplicitAny": false, - "noPropertyAccessFromIndexSignature": false, - "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true - }, "files": [], "include": [], "references": [ @@ -24,11 +12,5 @@ "path": "./tsconfig.editor.json" } ], - "extends": "../../tsconfig.base.json", - "angularCompilerOptions": { - "enableI18nLegacyMessageIdFormat": false, - "strictInjectionParameters": true, - "strictInputAccessModifiers": true, - "strictTemplates": true - } + "extends": "../../tsconfig.base.json" } \ No newline at end of file diff --git a/gui-js/apps/minsky-web/tsconfig.spec.json b/gui-js/apps/minsky-web/tsconfig.spec.json index e48ccba48..d229069ab 100644 --- a/gui-js/apps/minsky-web/tsconfig.spec.json +++ b/gui-js/apps/minsky-web/tsconfig.spec.json @@ -2,10 +2,6 @@ "extends": "./tsconfig.json", "compilerOptions": { "outDir": "../../dist/out-tsc", - "module": "commonjs", - "target": "es2016", - "esModuleInterop": true, - "allowSyntheticDefaultImports": true, "types": ["jest", "node"] }, "files": ["src/test-setup.ts"], diff --git a/gui-js/libs/core/tsconfig.json b/gui-js/libs/core/tsconfig.json index b87665cec..d16a71e9a 100644 --- a/gui-js/libs/core/tsconfig.json +++ b/gui-js/libs/core/tsconfig.json @@ -1,15 +1,4 @@ { - "compilerOptions": { - "target": "es2022", - "useDefineForClassFields": false, - "forceConsistentCasingInFileNames": true, - "strict": false, - "noImplicitOverride": false, - "noImplicitAny": false, - "noPropertyAccessFromIndexSignature": false, - "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true - }, "files": [], "include": [], "references": [ @@ -20,11 +9,5 @@ "path": "./tsconfig.spec.json" } ], - "extends": "../../tsconfig.base.json", - "angularCompilerOptions": { - "enableI18nLegacyMessageIdFormat": false, - "strictInjectionParameters": true, - "strictInputAccessModifiers": true, - "strictTemplates": true - } + "extends": "../../tsconfig.base.json" } \ No newline at end of file diff --git a/gui-js/libs/core/tsconfig.spec.json b/gui-js/libs/core/tsconfig.spec.json index e48ccba48..db267a8fc 100644 --- a/gui-js/libs/core/tsconfig.spec.json +++ b/gui-js/libs/core/tsconfig.spec.json @@ -2,10 +2,7 @@ "extends": "./tsconfig.json", "compilerOptions": { "outDir": "../../dist/out-tsc", - "module": "commonjs", "target": "es2016", - "esModuleInterop": true, - "allowSyntheticDefaultImports": true, "types": ["jest", "node"] }, "files": ["src/test-setup.ts"], diff --git a/gui-js/libs/menu/tsconfig.json b/gui-js/libs/menu/tsconfig.json index b87665cec..d16a71e9a 100644 --- a/gui-js/libs/menu/tsconfig.json +++ b/gui-js/libs/menu/tsconfig.json @@ -1,15 +1,4 @@ { - "compilerOptions": { - "target": "es2022", - "useDefineForClassFields": false, - "forceConsistentCasingInFileNames": true, - "strict": false, - "noImplicitOverride": false, - "noImplicitAny": false, - "noPropertyAccessFromIndexSignature": false, - "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true - }, "files": [], "include": [], "references": [ @@ -20,11 +9,5 @@ "path": "./tsconfig.spec.json" } ], - "extends": "../../tsconfig.base.json", - "angularCompilerOptions": { - "enableI18nLegacyMessageIdFormat": false, - "strictInjectionParameters": true, - "strictInputAccessModifiers": true, - "strictTemplates": true - } + "extends": "../../tsconfig.base.json" } \ No newline at end of file diff --git a/gui-js/libs/menu/tsconfig.spec.json b/gui-js/libs/menu/tsconfig.spec.json index e48ccba48..db267a8fc 100644 --- a/gui-js/libs/menu/tsconfig.spec.json +++ b/gui-js/libs/menu/tsconfig.spec.json @@ -2,10 +2,7 @@ "extends": "./tsconfig.json", "compilerOptions": { "outDir": "../../dist/out-tsc", - "module": "commonjs", "target": "es2016", - "esModuleInterop": true, - "allowSyntheticDefaultImports": true, "types": ["jest", "node"] }, "files": ["src/test-setup.ts"], diff --git a/gui-js/libs/shared/tsconfig.json b/gui-js/libs/shared/tsconfig.json index b87665cec..d16a71e9a 100644 --- a/gui-js/libs/shared/tsconfig.json +++ b/gui-js/libs/shared/tsconfig.json @@ -1,15 +1,4 @@ { - "compilerOptions": { - "target": "es2022", - "useDefineForClassFields": false, - "forceConsistentCasingInFileNames": true, - "strict": false, - "noImplicitOverride": false, - "noImplicitAny": false, - "noPropertyAccessFromIndexSignature": false, - "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true - }, "files": [], "include": [], "references": [ @@ -20,11 +9,5 @@ "path": "./tsconfig.spec.json" } ], - "extends": "../../tsconfig.base.json", - "angularCompilerOptions": { - "enableI18nLegacyMessageIdFormat": false, - "strictInjectionParameters": true, - "strictInputAccessModifiers": true, - "strictTemplates": true - } + "extends": "../../tsconfig.base.json" } \ No newline at end of file diff --git a/gui-js/libs/shared/tsconfig.spec.json b/gui-js/libs/shared/tsconfig.spec.json index e48ccba48..db267a8fc 100644 --- a/gui-js/libs/shared/tsconfig.spec.json +++ b/gui-js/libs/shared/tsconfig.spec.json @@ -2,10 +2,7 @@ "extends": "./tsconfig.json", "compilerOptions": { "outDir": "../../dist/out-tsc", - "module": "commonjs", "target": "es2016", - "esModuleInterop": true, - "allowSyntheticDefaultImports": true, "types": ["jest", "node"] }, "files": ["src/test-setup.ts"], diff --git a/gui-js/libs/ui-components/tsconfig.json b/gui-js/libs/ui-components/tsconfig.json index b87665cec..d16a71e9a 100644 --- a/gui-js/libs/ui-components/tsconfig.json +++ b/gui-js/libs/ui-components/tsconfig.json @@ -1,15 +1,4 @@ { - "compilerOptions": { - "target": "es2022", - "useDefineForClassFields": false, - "forceConsistentCasingInFileNames": true, - "strict": false, - "noImplicitOverride": false, - "noImplicitAny": false, - "noPropertyAccessFromIndexSignature": false, - "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true - }, "files": [], "include": [], "references": [ @@ -20,11 +9,5 @@ "path": "./tsconfig.spec.json" } ], - "extends": "../../tsconfig.base.json", - "angularCompilerOptions": { - "enableI18nLegacyMessageIdFormat": false, - "strictInjectionParameters": true, - "strictInputAccessModifiers": true, - "strictTemplates": true - } + "extends": "../../tsconfig.base.json" } \ No newline at end of file diff --git a/gui-js/libs/ui-components/tsconfig.spec.json b/gui-js/libs/ui-components/tsconfig.spec.json index e48ccba48..db267a8fc 100644 --- a/gui-js/libs/ui-components/tsconfig.spec.json +++ b/gui-js/libs/ui-components/tsconfig.spec.json @@ -2,10 +2,7 @@ "extends": "./tsconfig.json", "compilerOptions": { "outDir": "../../dist/out-tsc", - "module": "commonjs", "target": "es2016", - "esModuleInterop": true, - "allowSyntheticDefaultImports": true, "types": ["jest", "node"] }, "files": ["src/test-setup.ts"], diff --git a/gui-js/tsconfig.base.json b/gui-js/tsconfig.base.json index 40beeb5fd..b760bcf65 100644 --- a/gui-js/tsconfig.base.json +++ b/gui-js/tsconfig.base.json @@ -8,12 +8,13 @@ "emitDecoratorMetadata": true, "experimentalDecorators": true, "importHelpers": true, - "target": "es2015", + "target": "es2022", "module": "esnext", "lib": ["es2020", "dom"], "skipLibCheck": true, "skipDefaultLibCheck": true, - "allowSyntheticDefaultImports": true, + "esModuleInterop": true, + "useDefineForClassFields": false, "baseUrl": ".", "paths": { "@minsky/menu": ["libs/menu/src/index.ts"], @@ -23,5 +24,11 @@ "@minsky/ui-components": ["libs/ui-components/src/index.ts"] } }, - "exclude": ["node_modules", "tmp"] + "exclude": ["node_modules", "tmp"], + "angularCompilerOptions": { + "enableI18nLegacyMessageIdFormat": false, + "strictInjectionParameters": true, + "strictInputAccessModifiers": true, + "strictTemplates": true + } } \ No newline at end of file