Nix NodeJS | 209 Members | |
| 59 Servers |
| Sender | Message | Time |
|---|---|---|
| 10 Dec 2023 | ||
| https://github.com/spacebarchat/server/blob/dev/nix/package.json#L113 | 20:02:18 | |
| ah! i'll give specifics then, apologies. one moment, i only just got my laptop out | 20:05:17 | |
| yeah, i'd love to ditch all of that mess and go back to normal nodejs behavior | 20:05:38 | |
quick question, is it critical to keep stuff not in the normal npm directory in $out? because this could be even shorter if so | 20:06:15 | |
| not at all | 20:06:26 | |
(normal being $out/lib/node_modules/[package name]) | 20:06:30 | |
| wait, how do you mean | 20:06:48 | |
like, the files here aren't getting install like npm install -g would do rn. which is fine, it would just involve moving things to the unexpected place in postInstall | 20:07:25 | |
| i wrote all of that mess due to a bunch of imports cross-referencing projects | 20:08:22 | |
| https://github.com/spacebarchat/server/blob/master/package.json | 20:08:40 | |
| this is the non-nix package.json im using as base, by the way | 20:08:49 | |
In reply to @emma:conduit.rory.gayyeah i'm seeing that | 20:09:10 | |
| Lily Foster i was browsing WebStorm settings... | 20:36:47 | |
I wonder if Use paths relative to project, resource or sources roots is a good option to turn on? | 20:37:02 | |
Download Screenshot from 2023-12-10 21-37-16.png | 20:37:22 | |
| (for imports, that is) | 20:38:14 | |
In reply to @emma:conduit.rory.gay so this doesn't remove the openapi.json file, but this diff seems to build and run similarly in testing:
| 20:38:21 | |
In reply to @emma:conduit.rory.gayfor your IDE? | 20:38:55 | |
| yes | 20:39:08 | |
| Uhh, idk, maybe? I'm not 100% what that setting does or whether it would be appropriate for the semantics of your project | 20:40:33 | |
| me neither | 20:40:44 | |
| let me try to apply that patch | 21:00:02 | |