Commit Graph

21 Commits

Author SHA1 Message Date
Matthew Haughton
133d489738 Remove explicit isolatedModules config
This is set to true when verbatimModuleSyntax is enabled.
2024-11-12 20:08:36 +11:00
Matthew Haughton
031e35e5e2 Enable verbatimModuleSyntax option
https://www.typescriptlang.org/tsconfig/#verbatimModuleSyntax
2024-11-12 20:08:36 +11:00
Matthew Haughton
2bd8f24dfb Enable bundler module resolution mode
Previous "node" option should no longer be used:
https://www.typescriptlang.org/docs/handbook/modules/reference.html#node10-formerly-known-as-node

"bundler" is recommended when using a bundler.
2024-10-22 08:52:59 +11:00
Niels van Velzen
a12440b9b8
Merge pull request #625 from 3flex/patch-1
Turn on isolatedModules
2024-10-21 14:35:44 +02:00
Matthew Haughton
65c91a96a0
Set TypeScript target to ES2015
This matches the target for Vite's build.
2024-10-21 22:32:23 +11:00
Matthew Haughton
ba42afa6e6
Turn on isolatedModules
This should be enabled for Vite since its build process uses esbuild
for transpilation without type information. This option enables
warnings when using features that don't work for isolated
transpilation.

https://v2.vitejs.dev/guide/features.html#typescript-compiler-options
2024-10-21 22:27:25 +11:00
Niels van Velzen
12371b4bcb Replace Jest with Vitest 2023-10-03 16:21:16 +02:00
Niels van Velzen
eb5fdd254a Replace Webpack with Vite 2023-10-02 22:03:47 +02:00
YouKnowBlom
f79586bd05 Add jest types to tsconfig 2021-07-06 23:01:00 +02:00
Fernando Fernández
bd84bdc251 chore: automatic prettier fix 2021-05-13 11:31:05 +02:00
Fernando Fernández
e517da3bfd chore(lint): automatic prettier fix 2021-05-13 11:14:02 +02:00
Fernando Fernández
743c1d9a31 chore(lint): make linting stricter and auto lint on commit and save 2021-05-13 11:14:02 +02:00
Fernando Fernández
aeb104e8c9 chore(deps): bump @types/webpack from 4.41.26 to 5.28.0 2021-04-13 13:58:17 +02:00
Simon Dobie
77246fab62 add tsconfig file for webpack 2021-01-05 11:34:35 +11:00
Simon Dobie
9bbc0d7a84 fix merge issues 2021-01-04 15:32:11 +11:00
Simon Dobie
c743025fe2 merge webpack config files into one, convert config to typescript 2021-01-04 12:00:57 +11:00
Fernando Fernández
d13b2417f8 Module resolution with ~ and mimicked vue linting config 2021-01-01 03:37:18 +01:00
hawken
94bfb5cf55 yarn lint:code, lint&pretty at root, fix lint && prettify 2020-12-27 20:19:35 +01:00
Andreas B
613fb494b2 Update tsconfig to include dom 2020-11-22 22:34:46 +01:00
Andreas B
e6b2ba272f Override rules for TS files only and enable strict ts 2020-10-31 15:39:06 +01:00
Andreas B
2e6b602495 Add typescript, configure build and add cast types 2020-10-31 13:22:53 +01:00