| 10 Dec 2023 |
Lily Foster | In reply to @emma:conduit.rory.gay didnt we just get rid of postPatch? no, i left it there in my diff | 21:34:24 |
Emma [it/its] ⚡️ | oh, the diff claimed it was removedd as far as i saw | 21:34:44 |
Lily Foster | i mostly just got rid of installPhase and used npm to handle the logic | 21:34:44 |
Emma [it/its] ⚡️ | oh wait nvm i confused it for installPhase | 21:34:56 |
Lily Foster | ah, yeah. it happens :) | 21:35:08 |
Emma [it/its] ⚡️ | thanks for the git patch thing btw ^^ | 21:35:21 |
Lily Foster | In reply to @emma:conduit.rory.gay thanks for the git patch thing btw ^^ i'm happy to help! i just noticed i was getting a fatal: not a git repository when running the start-bundle bin and found where git rev-parse HEAD was happening | 21:36:46 |
Emma [it/its] ⚡️ | ah | 21:36:58 |
Emma [it/its] ⚡️ | thats just because stderr from git gets passed through i guess | 21:37:13 |
Lily Foster | In reply to @emma:conduit.rory.gay thats just because stderr from git gets passed through i guess well it also shouldn't be expecting to run from a git repo anyway, that was just how i noticed what it was doing | 21:37:52 |
Emma [it/its] ⚡️ | fair, code already existed when i joined the project anyways | 21:38:18 |
Emma [it/its] ⚡️ | https://github.com/spacebarchat/server/tree/dev/emma-refactors
the branch im working on, btw | 21:44:03 |
Emma [it/its] ⚡️ | Lily Foster do you happen to know how to configure prettier to use .editorconfig? | 22:29:17 |
Emma [it/its] ⚡️ | or does it do so by default? | 22:29:46 |
Lily Foster | In reply to @emma:conduit.rory.gay Lily Foster do you happen to know how to configure prettier to use .editorconfig? should be documented at https://prettier.io/docs/en/configuration#editorconfig | 23:01:55 |
| 11 Dec 2023 |
Emma [it/its] ⚡️ | apparently it does so by default but i had to delete prettierrc due to conflicts | 00:15:35 |
@janik0:matrix.org | What do I do if I have a package where the build just outputs something like dist/index.js and then expects to be run with yarn start, do I move that int $out/share/... and add a wrapper script in bin $out/bin for the yarn start? | 12:41:20 |
@janik0:matrix.org | * What do I do if I have a package where the build just outputs something like dist/index.js and then expects to be run with yarn start, do I move that int $out/share/... and add a wrapper script in $out/bin for the yarn start? | 12:41:53 |
Lily Foster | In reply to @janik0:matrix.org What do I do if I have a package where the build just outputs something like dist/index.js and then expects to be run with yarn start, do I move that int $out/share/... and add a wrapper script in bin $out/bin for the yarn start? yarn start just runs the start script. can you share the package.json? | 12:42:01 |
@janik0:matrix.org | Redacted or Malformed Event | 12:44:06 |
@janik0:matrix.org | https://github.com/excalidraw/excalidraw-room/blob/master/package.json#L32 | 12:44:07 |
Lily Foster | In reply to @janik0:matrix.org https://github.com/excalidraw/excalidraw-room/blob/master/package.json#L32 ugh why are they like this. they could have just added a bin: { exename: "dist/index.js" } and then everything would have worked as the node gods intended. but no, they must make things more difficult for themselves.... | 12:45:52 |
@janik0:matrix.org | In reply to @lily:lily.flowers ugh why are they like this. they could have just added a bin: { exename: "dist/index.js" } and then everything would have worked as the node gods intended. but no, they must make things more difficult for themselves.... i can patch that in my derivation and upstream it if it's just that simple :D | 12:46:25 |