-
-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10464 from murdos/simplify-generated-tsconfig
Simplify generated tsconfig for vue and react
- Loading branch information
Showing
14 changed files
with
20 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/resources/generator/client/pagination/domain/Page.ts.mustache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/resources/generator/client/pagination/secondary/RestPage.ts.mustache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,15 @@ | ||
{ | ||
"extends": "@tsconfig/vite-react/tsconfig.json", | ||
"compilerOptions": { | ||
"target": "ESNext", | ||
"useDefineForClassFields": true, | ||
"lib": ["DOM", "DOM.Iterable", "ESNext"], | ||
"allowJs": false, | ||
"skipLibCheck": true, | ||
"esModuleInterop": false, | ||
"allowSyntheticDefaultImports": true, | ||
"strict": true, | ||
"forceConsistentCasingInFileNames": true, | ||
"resolveJsonModule": true, | ||
"isolatedModules": true, | ||
"noEmit": true, | ||
"jsx": "react-jsx", | ||
"composite": false, | ||
"module": "esnext", | ||
"moduleResolution": "node", | ||
"baseUrl": "src", | ||
"baseUrl": ".", | ||
"types": ["vitest/globals"], | ||
"paths": { | ||
"@/*": ["main/webapp/app/*"], | ||
"@assets/*": ["main/webapp/assets/*"] | ||
"@/*": ["src/main/webapp/app/*"], | ||
"@assets/*": ["src/main/webapp/assets/*"] | ||
} | ||
}, | ||
"include": ["vite.config.ts", "src"], | ||
"exclude": ["src/test/javascript/integration/**/*spec.ts", "node_modules"] | ||
"include": ["src/main/webapp/**/*", "src/test/javascript/spec/**/*"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,13 @@ | ||
{ | ||
"extends": "@vue/tsconfig/tsconfig.dom.json", | ||
"compilerOptions": { | ||
"target": "esnext", | ||
"useDefineForClassFields": true, | ||
"module": "esnext", | ||
"moduleResolution": "node", | ||
"strict": true, | ||
"jsx": "preserve", | ||
"skipLibCheck": true, | ||
"allowJs": true, | ||
"sourceMap": true, | ||
"resolveJsonModule": true, | ||
"esModuleInterop": true, | ||
"lib": ["esnext", "dom"], | ||
"types": ["vite/client", "vitest/globals"], | ||
"baseUrl": ".", | ||
"paths": { | ||
"@/*": ["src/main/webapp/app/*"] | ||
} | ||
}, | ||
"include": [ | ||
"src/main/webapp/**/*.ts", | ||
"src/main/webapp/**/*.d.ts", | ||
"src/main/webapp/**/*.tsx", | ||
"src/main/webapp/**/*.vue", | ||
"src/test/javascript/spec/**/*.ts", | ||
"src/test/javascript/spec/**/*.vue" | ||
], | ||
"exclude": ["./node_modules"] | ||
"include": ["src/main/webapp/**/*", "src/test/javascript/spec/**/*"] | ||
} |
2 changes: 1 addition & 1 deletion
2
src/main/resources/generator/client/vue/webapp/app/common/domain/Logger.ts.mustache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...main/resources/generator/client/vue/webapp/app/common/secondary/ConsoleLogger.ts.mustache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/resources/generator/client/vue/webapp/app/http/AxiosHttp.ts.mustache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/resources/generator/client/vue/webapp/app/vue/VueProp.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { PropType } from 'vue'; | ||
import type { PropType } from 'vue'; | ||
|
||
export const objectType = <T>() => Object as PropType<T>; | ||
export const arrayType = <T>() => Array as PropType<T[]>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters