-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
244 additions
and
178 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 4 | ||
indent_style = tab | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.{json,yml}] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,36 @@ | ||
{ | ||
"extends": "../../src/main/resources/assets/tsconfig.json", | ||
"compilerOptions": { | ||
"sourceMap": true, // Important to get correct line numbers when running coverage tests | ||
"types": [ | ||
"jest", // This only works for test files in this folder | ||
], | ||
"extends": "../../main/resources/assets/tsconfig.json", | ||
"compilerOptions": { | ||
"baseUrl": ".", | ||
// A series of entries which re-map imports to lookup locations relative | ||
// to the baseUrl if set, or to the tsconfig file itself otherwise. | ||
"paths": { | ||
"/assets/*": ["../../main/resources/assets/*"], | ||
}, | ||
} | ||
"sourceMap": true, // Important to get correct line numbers when running coverage tests | ||
|
||
// By default all visible ”@types” packages are included in your | ||
// compilation. Packages in node_modules/@types of any enclosing folder | ||
// are considered visible. For example, that means packages within | ||
// ./node_modules/@types/, ../node_modules/@types/, | ||
// ../../node_modules/@types/, and so on. | ||
// If types is specified, only packages listed will be included in the | ||
// global scope. | ||
// This feature differs from typeRoots in that it is about specifying | ||
// only the exact types you want included, whereas typeRoots supports | ||
// saying you want particular folders. | ||
"types": [ | ||
"jest", // This only works for test files in this folder | ||
], | ||
}, | ||
"include": [ | ||
// "../../main/resources/assets/**/*.spec.ts", | ||
// "../../main/resources/assets/**/*.spec.tsx", | ||
// "../../main/resources/assets/**/*.test.ts", | ||
// "../../main/resources/assets/**/*.test.tsx", | ||
"./**/*.spec.ts", | ||
"./**/*.spec.tsx", | ||
"./**/*.test.ts", | ||
"./**/*.test.tsx" | ||
], | ||
} |
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
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,39 +1,39 @@ | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"extends": "../../../tsconfig.json", | ||
|
||
"compilerOptions": { | ||
"sourceMap": true, // Important to get correct line numbers when running coverage tests | ||
"types": [ | ||
"global", // Already added via typeRoots? nope, doesn't work that way | ||
"jest", // This only works for test files in this folder | ||
"node", // console | ||
], | ||
}, | ||
|
||
// Specifies an array of filenames or patterns to include in the program. | ||
// These filenames are resolved relative to the directory containing the | ||
// tsconfig.json file. | ||
"include": [ | ||
"../../src/main/resources/**/*.spec.ts", | ||
"../../src/main/resources/**/*.spec.tsx", | ||
"../../src/main/resources/**/*.test.ts", | ||
"../../src/main/resources/**/*.test.tsx", | ||
"../../test/server/**/*.spec.ts", | ||
"../../test/server/**/*.spec.tsx", | ||
"../../test/server/**/*.test.ts", | ||
"../../test/server/**/*.test.tsx" | ||
"compilerOptions": { | ||
"sourceMap": true, // Important to get correct line numbers when running coverage tests | ||
"types": [ | ||
"global", // Already added via typeRoots? nope, doesn't work that way | ||
"jest", // This only works for test files in this folder | ||
"node", // console | ||
], | ||
}, | ||
|
||
// Specifies an array of filenames or patterns that should be skipped when | ||
// resolving include. | ||
// Important: exclude only changes which files are included as a result of | ||
// the include setting. A file specified by exclude can still become part of | ||
// your codebase due to an import statement in your code, a types inclusion, | ||
// a /// <reference directive, or being specified in the files list. | ||
// It is not a mechanism that prevents a file from being included in the | ||
// codebase - it simply changes what the include setting finds. | ||
"exclude": [ | ||
"../../src/main/resources/assets/**/*.*", | ||
"../../src/main/resources/static/**/*.*", | ||
], | ||
} | ||
// Specifies an array of filenames or patterns to include in the program. | ||
// These filenames are resolved relative to the directory containing the | ||
// tsconfig.json file. | ||
"include": [ | ||
// "../../main/resources/**/*.spec.ts", | ||
// "../../main/resources/**/*.spec.tsx", | ||
// "../../main/resources/**/*.test.ts", | ||
// "../../main/resources/**/*.test.tsx", | ||
"./**/*.spec.ts", | ||
"./**/*.spec.tsx", | ||
"./**/*.test.ts", | ||
"./**/*.test.tsx" | ||
], | ||
|
||
// Specifies an array of filenames or patterns that should be skipped when | ||
// resolving include. | ||
// Important: exclude only changes which files are included as a result of | ||
// the include setting. A file specified by exclude can still become part of | ||
// your codebase due to an import statement in your code, a types inclusion, | ||
// a /// <reference directive, or being specified in the files list. | ||
// It is not a mechanism that prevents a file from being included in the | ||
// codebase - it simply changes what the include setting finds. | ||
// "exclude": [ | ||
// "../../main/resources/assets/**/*.*", | ||
// "../../main/resources/static/**/*.*", | ||
// ], | ||
} |
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,22 +1,28 @@ | ||
{ | ||
"extends": "../../../../tsconfig.json", | ||
"exclude": [ | ||
"../../../../node_modules/typescript/lib/lib.es5.d.ts", | ||
], | ||
"include": [ | ||
"./**/*.tsx", | ||
"./**/*.ts" | ||
], | ||
"compilerOptions": { | ||
"baseUrl": ".", | ||
"jsx": "react", | ||
"moduleResolution": "node", | ||
"lib": [ | ||
"DOM", | ||
"ES2020", | ||
], | ||
"paths": {}, | ||
"rootDir": ".", | ||
"target": "ES2020" // Modern browsers | ||
} | ||
"extends": "../../../../tsconfig.json", | ||
"exclude": [ | ||
"../../../../node_modules/typescript/lib/lib.es5.d.ts", | ||
], | ||
"include": [ | ||
"./**/*.tsx", | ||
"./**/*.ts" | ||
], | ||
"compilerOptions": { | ||
"baseUrl": ".", | ||
"jsx": "react", | ||
"moduleResolution": "node", | ||
"lib": [ | ||
"DOM", | ||
"ES2020", | ||
], | ||
|
||
// A series of entries which re-map imports to lookup locations relative | ||
// to the baseUrl if set, or to the tsconfig file itself otherwise. | ||
"paths": { | ||
// Empty to avoid access to src/main/resources via / | ||
}, | ||
|
||
"rootDir": ".", | ||
"target": "ES2020" // Modern browsers | ||
} | ||
} |
Oops, something went wrong.