20 Commits

Author SHA1 Message Date
Eugene Zolenko
fe0490c807 - attempting to achieve line ending sanity 2018-07-05 14:59:54 -06:00
Eugene Zolenko
c86e07bc0f - fix for invisible declaration files, #95 2018-07-05 14:39:45 -06:00
Eugene Zolenko
ffe3b6cd9f - fix for LanguageServiceHost ignoring virtual modules #78 2018-06-22 11:47:28 -06:00
Eugene Zolenko
9e1342a719 - transformers taking list of both chains and individual transformers #76 2018-04-30 08:56:45 -06:00
Eugene Zolenko
c8427dcba6 - fix for tslint errors 2018-04-27 17:30:35 -06:00
Eugene Zolenko
7b939304ae - new transformers interface #76 2018-04-27 17:16:38 -06:00
Eugene Zolenko
9dd2f61b29
Transformers (#74) 2018-04-13 23:18:24 -06:00
Eugene Zolenko
591ef5d4c7 - rolling most of runtime dependencies into a static build 2017-09-25 18:22:38 -06:00
ezolenko
448913d411 - fix for #24. forcing declarations for project files even if they are ignored by rollup 2017-08-15 17:56:29 -06:00
ezolenko
81228203cf - option for overriding typescript version for #27 2017-08-11 00:33:36 -06:00
wessberg
29eae41e26 Refactoring. Declarations will now be local to the rollup destination directory 2017-07-27 04:22:49 +02:00
ezolenko
a102e115f1 - fix for #22 2017-06-28 19:02:26 -06:00
Eugene Zolenko
7a815cf685 - linting 2017-04-20 15:05:43 -06:00
ezolenko
068d839ffe - package version 2017-04-02 22:47:56 -06:00
ezolenko
65fb8834ed - normalizing paths used as snapshot cache keys (#6) 2017-04-02 22:40:09 -06:00
ezolenko
722cb2da00 - error codes and types 2017-03-24 23:08:10 -06:00
Eugene Zolenko
96b284635f Watch (#8)
* - partial fix for watch mode (#6)

* - trying to detect watch mode

* - support for watch mode
2017-03-14 19:04:59 -06:00
Ran Benita
01958a4fce - fix plugin chaining
If we have plugins that are ordered before typescript, e.g. `replace`,
the input to typescript should be the output of the previous plugin.
However, this doesn't happen, instead typescript transforms the original
file.

From my (possibly incorrect) analysis, this happens because of a cache
invalidation issue. If a module is processed by typescript before it is
transformed by the plugin, it seems the file is read directly from the
disk and inserted into the LanguageService `HostCache`. Later, when the
file is transformed by the plugin, there is a call to `setSnapshot` with
the "good" code (transformed by previous plugins), and then a call to
`getEmitOutput` which is expected to use the snapshot we had just set.
But this does *not* happen, instead we get the "bad" code from the
`HostCache`.

To fix this, make each call to `setSnapshot` increment the "script
version"; this tells typescript that it needs to reprocess the file.
2017-03-09 22:17:12 +02:00
ezolenko
6df208b9c4 - tracking global types 2017-02-09 23:09:43 -07:00
Eugene Zolenko
b9b2172f62 - cache 2017-02-08 18:30:44 -07:00