syndicate-js/packages
Tony Garnock-Jones 075893fc85 Fix up a few of the more egregious problems with the plugin.
TypeScript has been moving on while the plugin has been staying still, and
that has caused the plugin to stop working well. This patch gets things
back into somewhat workable state, but I'm sure more will be required.

Changes include:

 - `hookHost` is no longer required: instead, we hook ts.createSourceFile.

 - `shouldExpand` abstracts away details of whether a file is considered
   Syndicateish or not.

 - The code that does the Syndicate expansion has been abstracted out of
   the detail of how expansion is invoked by the language server.

 - I've had to monkey-patch ScriptInfo in order to get access to the
   `editContent` method.

 - As a consequence, at plugin startup, we invalidate existing ScriptInfo
   instances so they are rebuilt with our SyndicateScriptInfo constructor.
2023-04-28 10:32:49 +02:00
..
compiler Publish 2023-03-06 23:27:14 +01:00
core Publish 2023-03-06 23:27:14 +01:00
create Publish 2023-02-11 22:06:28 +01:00
fs Publish 2023-03-06 23:27:14 +01:00
html Publish 2023-03-06 23:27:14 +01:00
service Publish 2023-03-06 23:27:14 +01:00
syndicatec Publish 2023-03-06 23:27:14 +01:00
timer Publish 2023-03-06 23:27:14 +01:00
ts-plugin Fix up a few of the more egregious problems with the plugin. 2023-04-28 10:32:49 +02:00
tsc Publish 2023-03-06 23:27:14 +01:00
ws-relay Publish 2023-03-06 23:27:14 +01:00