Kirill Bulatov
08dc019824
Use proper npm arguments and clean its inherited env vars
2023-11-28 18:39:03 +02:00
Julia
94e9acda9a
Avoid user NPM config/cache & put NodeRuntime installation behind a lock
2023-11-14 14:49:31 -05:00
Kirill Bulatov
ab12b3c6e1
Rework prettier tests
...
Do not infuse `FakeNodeRuntime` with prettier exceptions, rather keep
the default formatter installation method as no-op.
2023-10-24 14:25:46 +02:00
Kirill Bulatov
7c90ad59a6
Make the first prettier test pass
2023-10-12 13:30:49 +03:00
Kirill Bulatov
41d699ac40
Prettier server style fixes
2023-10-12 12:31:30 +03:00
Kirill Bulatov
61f321016d
Add prettier tests infrastructure
2023-10-11 19:13:28 +03:00
Julia
5e815dbf58
Remove NodeRuntime static & add fake implementation for tests
2023-09-06 11:18:55 -04:00
Julia
4cc33332ae
Reattempt Node installation if the installation itself errors
...
This also makes us a bit more aggressive about reinstalling Node
2023-07-28 15:24:40 -04:00
Julia
4f85bd2ec3
Put our downloaded copy of Node in the env for every NPM action
...
Intelephense (PHP language server) has a dependency on `protobufjs`
which invokes `node` in the `postinstall` script and if the user did
not have a system Node runtime installed that would fail. Have this
use our downloaded installation too
2023-07-21 16:13:00 -04:00
Julia and Antonio Scandurra
4c47d64262
Detect Node broken-ness initially
...
This will help cases where Node is broken causing Copilot to fail to
start but because it doesn't install via NPM we would not have caught
it prior.
Co-Authored-By: Antonio Scandurra <me@as-cii.com >
2023-07-18 10:02:14 -04:00
Julia
4a51852e68
Reinstall Node whenever a NodeRuntime operation has serious error
2023-06-28 16:43:45 -04:00
Julia
e0728c7789
Source ESLint server from Github rather than 3rd party NPM package
2023-04-28 16:42:36 -04:00
Mikayla Maki
58f6902229
Refactor out the node runtime crate and hook up all related imports
2023-03-28 10:27:31 -07:00