Skip to content

Commit

Permalink
Updates SDK tsconfig to enable the incremental (#1931)
Browse files Browse the repository at this point in the history
  • Loading branch information
infomiho authored Apr 3, 2024
1 parent 2767ca0 commit 2b3bbf9
Show file tree
Hide file tree
Showing 14 changed files with 53 additions and 6 deletions.
11 changes: 11 additions & 0 deletions waspc/ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## 0.13.1 (2024-04-04)

### 🐞 Bug fixes

- Vite HMR now works correctly with Wasp's new project structure (no more full-page reloads).
- Keycloak UI helpers are now correctly exported.

### 🔧 Small improvements

- Improved how IDEs auto-import symbols from `wasp/*` modules.

## 0.13.0 (2024-03-18)

### ⚠️ Breaking changes
Expand Down
5 changes: 5 additions & 0 deletions waspc/data/Generator/templates/sdk/wasp/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@
// about missing types e.g. when using `toBeInTheDocument` and other matchers.
"@testing-library/jest-dom"
],
// This option enables faster SDK compilation, less Vite HMR messages
// and it prevent unnecessary full-page reloads when using Vite HMR.
// While this is great, we still want to dig deeper at some point to understand
// better why Vite HMR misbehaves when the SDK is recompiled: https://github.com/wasp-lang/wasp/issues/1934
"incremental": true,
// todo(filip): Only works with common js, see https://www.typescriptlang.org/tsconfig#paths and daily-article.
// "paths": {
// "@wasp/*": [
Expand Down
3 changes: 2 additions & 1 deletion waspc/e2e-test/GoldenTest.hs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ runGoldenTest goldenTest = do
"dev.db-journal",
"package-lock.json",
".gitignore",
".DS_Store"
".DS_Store",
"tsconfig.tsbuildinfo"
]

writeFileManifest :: String -> [FilePath] -> FilePath -> IO ()
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2b3bbf9

Please sign in to comment.