tshm not working
It's not installed. The path will probably be wrong once it is.
This'll be a problem unless I build locally or patchelf: https://github.com/samhh/tshm/issues/53
First step: https://github.com/samhh/dotfiles/commit/80a91fb4a9e1b2d55a3779f41f29d6149a212c4c
Now the TS plugin which is distributed via npm. :thinking:
Seemingly no luck: https://github.com/samhh/dotfiles/commit/05c689bba758aea13e523a542473723ca2bc5748
As a sanity check the plugin does work if I put it into a project tsconfig.
A direct link to the Nix store doesn't work either.
No difference whether or not the project tsconfig contains any other plugins.
Node is able to find tshm in $PATH just fine in this simple script:
console.log(spawnSync("tshm", ["-a"], { input: "declare const foo: Bar" }).stdout.toString())
// foo :: Bar
The config works if the plugin is installed in peer/project node_modules, even if it's not configured in that project's tsconfig.
https://github.com/samhh/dotfiles/commit/602f90a15e051da71cff8219193db8329ce01ab3