Skip to content

Commit e83210a

Browse files
committed
Bump pnpm version.
1 parent 5acadea commit e83210a

File tree

2 files changed

+21
-8
lines changed

2 files changed

+21
-8
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"docs:preview": "corepack pnpm --filter www preview",
1818
"docs:publish": "corepack pnpm --filter www publish-pages"
1919
},
20-
"packageManager": "pnpm@9.0.6",
20+
"packageManager": "pnpm@9.15.0",
2121
"devDependencies": {
2222
"@changesets/changelog-github": "^0.5.0",
2323
"@changesets/cli": "^2.27.1",

shell.nix

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,27 @@
1-
{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/8e65989a9972ce1da033f445d2598683590dfb8a.tar.gz") {} }:
1+
{ pkgs ? import (fetchTarball
2+
"https://github.com/NixOS/nixpkgs/archive/8e65989a9972ce1da033f445d2598683590dfb8a.tar.gz")
3+
{ } }:
24

3-
pkgs.mkShell {
5+
let
6+
nodejs = pkgs.nodejs_20;
7+
electron = pkgs.electron_30;
8+
pnpm = pkgs.nodePackages.pnpm.overrideAttrs (oldAttrs: rec {
9+
version = "9.15.0";
10+
src = pkgs.fetchurl {
11+
url = "https://registry.npmjs.org/pnpm/-/pnpm-${version}.tgz";
12+
sha512 =
13+
"sha512-duI3l2CkMo7EQVgVvNZije5yevN3mqpMkU45RBVsQpmSGon5djge4QfUHxLPpLZmgcqccY8GaPoIMe1MbYulbA==";
14+
};
15+
});
16+
in pkgs.mkShell {
417
buildInputs = [
18+
nodejs
19+
electron
520
pkgs.git
6-
pkgs.nodejs_20
7-
pkgs.nodePackages.pnpm
821
pkgs.xvfb-run
9-
pkgs.electron_30
22+
pnpm
1023
];
1124

12-
PLAYWRIGHT_ELECTRON_PATH="${pkgs.electron_30}/bin/electron";
13-
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1;
25+
PLAYWRIGHT_ELECTRON_PATH = "${electron}/bin/electron";
26+
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD = 1;
1427
}

0 commit comments

Comments
 (0)