Migrate to modern yarn with pnpm linking#562
Conversation
|
I'm sure this'll stop exactly nobody but I have no idea how to deal with modern yarn under nix. As far as I can find, the only solution are ugly hacks, or shipping a package-lock.json for plain npm. Ugly hacks are already in use to get draupnir to build with corepack: NixOS/nixpkgs#274052 (comment) I would love to avoid a situation where I have to either choose to not use draupnir at all, or commit heinous crimes to patch all of this out to get it to compile at all. |
|
Without the previous commit, which I think is wrong, the three errors are: I wonder if
|
| "js-yaml": "^4.1.0", | ||
| "jsdom": "^24.0.0", | ||
| "matrix-appservice-bridge": "^9.0.1", | ||
| "matrix-bot-sdk": "^0.7.1", |
We use a new vector fork of the matrix-bot-sdk because of matrix-appservice-bridge, but depending on the version of matrix-appservice-bridge you use, they expect the vector fork to be aliased to "matrix-bot-sdk". The newer versions remove that alias. |
yarn lintfails since➤ YN0060: │ eslint is listed by your project with version 9.7.0 (p456fe), which doesn't satisfy what typescript-eslint and other dependencies request (^8.56.0).and I am unsure on whether that is something I am causing.Resolves: #475