-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
18 changed files
with
182 additions
and
85 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
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,6 +1,6 @@ | ||
app streaming { | ||
wasp: { | ||
version: "^0.15.0" | ||
version: "^0.16.0" | ||
}, | ||
title: "streaming" | ||
} | ||
|
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,7 +1,48 @@ | ||
// =============================== IMPORTANT ================================= | ||
// This file is mainly used for Wasp IDE support. | ||
// | ||
// Wasp will compile your code with slightly different (less strict) compilerOptions. | ||
// You can increase the configuration's strictness (e.g., by adding | ||
// "noUncheckedIndexedAccess": true), but you shouldn't reduce it (e.g., by | ||
// adding "strict": false). Just keep in mind that this will only affect your | ||
// IDE support, not the actual compilation. | ||
// | ||
// Full TypeScript configurability is coming very soon :) | ||
{ | ||
"files": [], | ||
"references": [ | ||
{ "path": "./tsconfig.src.json" }, | ||
{ "path": "./tsconfig.wasp.json" } | ||
"compilerOptions": { | ||
"module": "esnext", | ||
// Needed because this is used as a project reference. | ||
"composite": true, | ||
"target": "esnext", | ||
// We're bundling all code in the end so this is the most appropriate option, | ||
// it's also important for autocomplete to work properly. | ||
"moduleResolution": "bundler", | ||
// JSX support | ||
"jsx": "preserve", | ||
"strict": true, | ||
// Allow default imports. | ||
"esModuleInterop": true, | ||
"lib": [ | ||
"dom", | ||
"dom.iterable", | ||
"esnext" | ||
], | ||
"skipLibCheck": true, | ||
"allowJs": true, | ||
"typeRoots": [ | ||
// This is needed to properly support Vitest testing with jest-dom matchers. | ||
// Types for jest-dom are not recognized automatically and Typescript complains | ||
// about missing types e.g. when using `toBeInTheDocument` and other matchers. | ||
"node_modules/@testing-library", | ||
// Specifying type roots overrides the default behavior of looking at the | ||
// node_modules/@types folder so we had to list it explicitly. | ||
// Source 1: https://www.typescriptlang.org/tsconfig#typeRoots | ||
// Source 2: https://github.com/testing-library/jest-dom/issues/546#issuecomment-1889884843 | ||
"node_modules/@types" | ||
], | ||
"outDir": ".wasp/out/user" | ||
}, | ||
"include": [ | ||
"src" | ||
] | ||
} |
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,6 +1,6 @@ | ||
app TodoTypescript { | ||
wasp: { | ||
version: "^0.15.0" | ||
version: "^0.16.0" | ||
}, | ||
title: "ToDo TypeScript", | ||
|
||
|
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,6 +1,6 @@ | ||
app waspello { | ||
wasp: { | ||
version: "^0.15.0" | ||
version: "^0.16.0" | ||
}, | ||
|
||
title: "Waspello", | ||
|
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,6 +1,6 @@ | ||
app waspleau { | ||
wasp: { | ||
version: "^0.15.0" | ||
version: "^0.16.0" | ||
}, | ||
|
||
title: "Waspleau", | ||
|
Oops, something went wrong.