-
-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathmise.toml
More file actions
24 lines (20 loc) · 561 Bytes
/
mise.toml
File metadata and controls
24 lines (20 loc) · 561 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[settings]
experimental = true
[plugins]
nix = "https://github.com/jbadeau/mise-nix"
[tools]
node = "22"
"nix:emacs" = "latest"
"nix:mermaid-cli" = "latest"
[env]
_.path = ["node_modules/.bin"]
[hooks.enter]
shell = "bash"
script = """
# Auto-detect Puppeteer-managed Chrome
DETECTED_CHROME=$(npx puppeteer browsers list 2>/dev/null | grep -m1 'chrome@' | sed -E 's/.*\\(([^)]+)\\) //')
if [ -n "$DETECTED_CHROME" ]; then
export PUPPETEER_EXECUTABLE_PATH="$DETECTED_CHROME"
echo "Auto-set PUPPETEER_EXECUTABLE_PATH to $PUPPETEER_EXECUTABLE_PATH"
fi
"""