!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

209 Members
60 Servers

Load older messages


SenderMessageTime
4 Jun 2023
@federicodschonborn:matrix.orgFederico Damián Schonborn changed their profile picture.17:40:21
5 Jun 2023
@drupol:matrix.orgPol How to use Yarn 3 in mkYarnPackage wrapper ? 08:30:22
@lily:lily.flowersLily Foster
In reply to @drupol:matrix.org
How to use Yarn 3 in mkYarnPackage wrapper ?

We don't have yarn berry support in our nixpkgs tooling yet, but it's expected Soon™. You can make your own package-lock.json and use the npm tooling for now

Also idk if yarn2nix/mkYarnPackage will ever support it but we have newer tooling on the way that works more similarly to the npm tooling

11:02:32
@drupol:matrix.orgPolIs there any kind of documentation on how to do the package-lock.json ?11:18:56
@drupol:matrix.orgPolSo I can start to package the update of hedgehog 1.9.811:19:33
@lily:lily.flowersLily Foster npm lock on the repo and then you can copy it in with postPatch 11:21:01
7 Jun 2023
@drupol:matrix.orgPol
In reply to @lily:lily.flowers
npm lock on the repo and then you can copy it in with postPatch
Thanks
12:34:51
@drupol:matrix.orgPol npm lock doesn't exists. 12:57:01
@drupol:matrix.orgPol I guess npm i --package-lock-only ? 12:58:11
@lily:lily.flowersLily Foster
In reply to @drupol:matrix.org
I guess npm i --package-lock-only ?
Oh yeah, that (had it mixed up with another tool at the time)
12:59:19
@drupol:matrix.orgPolNo problem. 12:59:29
@lily:lily.flowersLily Foster You can also --ignore-scripts to reduce install side effects as well 12:59:37
@drupol:matrix.orgPol It's a dead end anyway, npm ERR! Unsupported URL Type "workspace:": workspace:commons 12:59:43
@lily:lily.flowersLily Foster
In reply to @drupol:matrix.org
It's a dead end anyway, npm ERR! Unsupported URL Type "workspace:": workspace:commons
Oh, lovely. I guess yarn berry supports workspace: specs now? Seems odd given I don't think npm can do that
13:00:51
@drupol:matrix.orgPolyeah... I think it's specific to yarn indeed.13:01:11
@lily:lily.flowersLily FosterI still don't have too much experience with yarn. I was hoping to get my open fetchYarnDeps PRs merged, get buildYarnPackage merged, and then look at what will be required for yarn berry support (spare time has just been in incredibly limited supply though...)13:02:26
@drupol:matrix.orgPolNo problem. Thanks anyway13:02:54
9 Jun 2023
@hexa:lossy.networkhexa😭14:42:23
@hexa:lossy.networkhexahttps://github.com/matrix-org/matrix-appservice-irc/commit/a6207b92adb9c047598070b15b9ff12e1ec2f0b814:42:42
@hexa:lossy.networkhexahi, we're using a yarn.lock now14:42:49
@hexa:lossy.networkhexa(╯°□°)╯︵ ┻━┻14:44:27
@hexa:lossy.networkhexa

This also moves us onto yarn, to be in line with the rest of our ecosystem.

14:45:21
@raitobezarius:matrix.orgraitobezarius:DDDDDDD15:30:30
@raitobezarius:matrix.orgraitobezariusyes fetchYarnDeps / fixup_yarn_lock broke again16:01:58
@raitobezarius:matrix.orgraitobezarius
success Set "yarn-offline-mirror" to "/nix/store/nmcpyykzzg7gdxyv3f2gfv9sbchsshcr-offline".
Done in 0.02s.
yarn install v1.22.19
[1/5] Validating package.json...
[2/5] Resolving packages...
error Couldn't find any versions for "chartjs-adapter-moment" that matches "1.0.1" in our cache (possible versions are ""). This is usually caused by a missing entry in the lockfile, running Yarn without the --offline flag may help fix this issue.
16:02:02
@raitobezarius:matrix.orgraitobezariusugh16:02:04
@raitobezarius:matrix.orgraitobezarius

furthermore:

❯ ls /nix/store/nmcpyykzzg7gdxyv3f2gfv9sbchsshcr-offline/chartjs_adapter_moment*
/nix/store/nmcpyykzzg7gdxyv3f2gfv9sbchsshcr-offline/chartjs_adapter_moment___chartjs_adapter_moment_1.0.1.tgz
16:03:51
@lily:lily.flowersLily Foster
In reply to @raitobezarius:matrix.org
yes fetchYarnDeps / fixup_yarn_lock broke again
fixup_yarn_lock was already broke. That's why I have an open PR for a new impl that's coupled with prefetch-yarn-deps
16:09:33
@lily:lily.flowersLily Foster(fixup_yarn_lock is from yarn2nix too...)16:09:46
@raitobezarius:matrix.orgraitobezariusI better invest time into reviewing your stuff and helping you I guess16:09:51

Show newer messages


Back to Room ListRoom Version: 6