Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2da521b

Browse files
committed
fix(flake.nix): assert equal playwright version in nix and package.json
Change-Id: I8cc78e842f7d0b1d2a90a4517a186a03636c5559Signed-off-by: Thomas Kosiewski <tk@coder.com>
1 parenta2cc1b8 commit2da521b

File tree

3 files changed

+23
-14
lines changed

3 files changed

+23
-14
lines changed

‎flake.nix‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,14 @@
216216
'';
217217
};
218218
in
219+
# "Keep in mind that you need to use the same version of playwright in your node playwright project as in your nixpkgs, or else playwright will try to use browsers versions that aren't installed!"
220+
# - https://nixos.wiki/wiki/Playwright
221+
assertpkgs.lib.assertMsg
222+
(
223+
(pkgs.lib.importJSON./site/package.json).devDependencies."@playwright/test"
224+
==pkgs.playwright-driver.version
225+
)
226+
"There is a mismatch between the playwright versions in the ./nix.flake and the ./site/package.json file. Please make sure that they use the exact same version.";
219227
rec{
220228
inheritformatter;
221229

‎site/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
"@biomejs/biome":"1.9.4",
127127
"@chromatic-com/storybook":"3.2.2",
128128
"@octokit/types":"12.3.0",
129-
"@playwright/test":"1.47.2",
129+
"@playwright/test":"1.47.0",
130130
"@storybook/addon-actions":"8.5.2",
131131
"@storybook/addon-essentials":"8.4.6",
132132
"@storybook/addon-interactions":"8.5.3",

‎site/pnpm-lock.yaml‎

Lines changed: 14 additions & 13 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp