| 8 Mar 2024 |
hexa | but I only get the _cacache in out that way 😄 | 22:47:01 |
Lily Foster | In reply to @hexa:lossy.network but I only get the _cacache in out that way 😄 hmm? | 22:51:08 |
hexa | _cacache package-lock.json
| 22:51:30 |
hexa | * _cacache package-lock.json
| 22:51:39 |
Lily Foster | fetchNpmDeps does that, yeah. if you are needing to build a package then buildNpmPackage should do it | 22:51:51 |
Lily Foster | do you have more context? | 22:52:05 |
hexa | as you know, everything I do is slightly cursed | 22:52:12 |
hexa | the thing has no build script | 22:52:20 |
Lily Foster | In reply to @hexa:lossy.network as you know, everything I do is slightly cursed (me too....) | 22:52:23 |
Lily Foster | In reply to @hexa:lossy.network the thing has no build script dontNpmBuild = true? | 22:52:45 |
hexa | https://github.com/pretix/pretix/blob/master/src/pretix/static/npm_dir/package.json | 22:52:50 |
hexa | https://github.com/pretix/pretix/blob/master/src/pretix/_build.py#L42 | 22:53:07 |
Lily Foster | In reply to @hexa:lossy.network https://github.com/pretix/pretix/blob/master/src/pretix/_build.py#L42 ewww | 22:53:32 |
hexa | told you so! | 22:53:38 |
hexa | never understimated the weird stuff I'm touching | 22:53:45 |
Lily Foster | look, i had to touch the cursed cxx interface generation python code for mupdf (and then the SWIGing the cxx interface to get a python interface.....) | 22:54:29 |
Lily Foster | this is mild | 22:54:32 |
hexa | ok, ok | 22:54:39 |
hexa | this shouldn't be a contest anyway! | 22:54:45 |
Lily Foster | yeah i'm just messing with you :) | 22:54:55 |
Lily Foster | for this, you should be able to buildNpmPackage it yourself and copy it where it needs to be. you might even be able to get away without patching the _build.py to remove the npm install since as long as it doesn't have weird dep types, npm shouldn't try to re-reify stuff unnecessarily (but npm gets spooked very easily) | 22:56:00 |