Commit graph

53 commits

Author SHA1 Message Date
Markus Olsson 9ff83b872d Turn on ES2022 🎉 2022-05-04 09:06:43 +02:00
Markus Olsson 28e1e3b6fc Use the default lib for ES2021 2022-03-04 11:44:52 +01:00
Markus Olsson aa5d0eb0e7 We can have nice things! 2022-03-04 00:45:39 +01:00
Markus Olsson 6564a7d88f Remove tslint 2022-02-01 17:40:13 +01:00
Markus Olsson 0356ce451b This is why we can't have nice things
Webpack complains that it doesn't understand the emitted JS
2022-01-28 11:27:38 +01:00
Markus Olsson d8cdf1c2c2 Gotta emit in ts-loader land 2022-01-28 11:27:00 +01:00
Markus Olsson 84db990fa7 Pragmatic upgrade 2022-01-28 10:29:50 +01:00
Markus Olsson 4777d5302f Let's see if we can get by with es2020 2022-01-28 10:29:44 +01:00
Jip Sterk 9c7868b176
Merge branch 'development' into resolve-json-module 2020-12-16 07:02:13 +01:00
Jip Sterk a0489be563
resolve json modules 2020-10-20 00:55:14 +02:00
Rafael Oleza f51c5df121 Add search in diffs 2020-10-07 22:38:52 +02:00
Rafael Oleza 016dc78870
Change the TS config to keep ES6 imports when compiling
We keep them so WebPack can use them for tree shaking
2020-07-10 21:40:36 +02:00
Rafael Oleza 1a9848af7f
Enable importHelpers TypeScript compiler option
This avoids inlining the TypeScript helpers and instead imports them from tslib, saving bundle size
2020-07-08 17:40:20 +02:00
Rafael Oleza a3f21ac29b
Enable esModuleInterop in TypeScript configuration 2020-07-08 17:40:20 +02:00
Markus Olsson 6dccf14728 Chrome 78 supports all of ES2018 but we'll only add the Promise.finally for now
Co-Authored-By: Rafael Oleza <rafeca@users.noreply.github.com>
2020-06-16 18:51:20 +02:00
Ed Luff b203a85935
add it to tsconfig instead (1) 2019-10-28 20:42:51 +00:00
Brendan Forster 62fbe90e8f format some json files 2019-05-03 09:24:59 -03:00
evelyn masso 6050144aad fix tslint for vscode 2018-11-14 16:54:27 -08:00
Jed Fox 0cabb14df7 Address review comments 2018-07-04 14:29:29 -04:00
Brendan Forster e8b84bef68 no longer need this escape hatch 2018-05-21 16:23:06 +10:00
Jed Fox 3b05ffabbf No more JS 2018-05-05 16:16:26 -04:00
Jed Fox 7bf71974ff Convert the webpack configs to TS 2017-12-24 11:27:04 -05:00
Jed Fox a23a482982 Integrate the T Y P E S directly into *-info.js
JSDoc FTW!
2017-12-24 11:27:04 -05:00
Markus Olsson f0608819f9 Okay, let's not take this fight right now
Compile the world
2017-10-20 10:50:57 +02:00
Markus Olsson 147885db23 Exclude the highlighter but include everything else
Also include node and electron as ambient types
2017-10-18 13:28:26 +02:00
Markus Olsson ce712a52c3 Don't auto-include all types
See https://github.com/Microsoft/TypeScript/issues/11917#issuecomment-297560121
2017-10-14 19:35:59 +02:00
Markus Olsson 233b6b3332 Don't typecheck all files, just the referenced ones
See https://stackoverflow.com/questions/43234525/awesome-typescript-loader-load-compile-only-refrenced-files
2017-10-14 15:45:21 +02:00
joshaber e25502d9ad Bump our target for native async/await 2017-09-08 10:55:17 -04:00
joshaber 15a1cb68f1 Don't need these anymore
"strict" includes them
2017-05-01 11:53:30 -04:00
joshaber d65f24cdb4 Enable strict 2017-04-28 16:12:01 -04:00
joshaber a884e5a10a Try updating some things 2017-01-12 14:21:41 -08:00
joshaber 47d1b6fdc0 We use node 2017-01-12 14:12:47 -08:00
joshaber 6b59c16b2f Try removing all of this shit 2017-01-12 13:54:44 -08:00
joshaber 7635c32fdd Bring typeRoots back :( 2017-01-12 13:48:11 -08:00
joshaber eded200d84 Try removing explicit typeRoots 2017-01-12 12:46:27 -08:00
Markus Olsson 1e0bfc0883 Explicitly specify paths to type roots
Without this we're getting an error while using ts-node on Windows.

See
https://github.com/TypeStrong/ts-node/issues/168
https://github.com/TypeStrong/atom-typescript/issues/1055

Note that this works around the issue but as far as I understand
things it shouldn't be necessary.
2016-12-08 13:55:14 +01:00
Brendan Forster b7132329d7 add datetime testing to chai 2016-10-19 11:05:43 +11:00
joshaber e39af1cfce We need these globals 2016-08-03 14:06:26 -04:00
joshaber 475bf5c496 Apply 🔥 to typings 2016-08-03 14:00:48 -04:00
joshaber 32d4856f1e Split our package.json into two different packages. 2016-07-21 14:31:30 -04:00
Phil Haack f698fa25d7 Set compiler options for noImplicitThis
Also set `noUnusedLocals` to true. This requires you run `apm install
https://github.com/Haacked/atom-typescript`
2016-07-14 15:22:06 -07:00
joshaber fb93cad43a atom-typescript doesn't like this either -_- 2016-07-13 09:20:14 -05:00
joshaber 531f7227a1 Don't allow unused locals 2016-07-13 09:55:41 -04:00
joshaber b0acaa9007 atom-typescript doesn't like this option, so ok. 2016-07-11 22:08:29 -04:00
joshaber d20ba7f0e1 #nonulls #nothis 2016-07-11 14:53:52 -04:00
joshaber 8a681c9598 Let TS know about our tests now 2016-06-30 17:28:43 -04:00
joshaber 0ed19eb82c Use the main typings instead of browser 2016-05-26 17:00:27 -04:00
joshaber fd86d1bbaf s/out/dist 2016-05-23 15:01:29 -04:00
joshaber cb7b428665 Don't compile tests. 2016-05-16 17:28:30 -04:00
joshaber fb50ae662c Ignore more artifacts. 2016-05-16 17:26:33 -04:00