Skip to content

Commit 2ea1b74

Browse files
committed
chore(deps): pin node version & setup mise
1 parent aea36e9 commit 2ea1b74

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

.mise.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[tools]
2+
node = "24.11.1"
3+
"npm:@antfu/ni" = "latest"
4+
5+
[env]
6+
_.path = ['{{config_root}}/node_modules/.bin']
7+
8+
[settings]
9+
# This must be enabled to make the hooks work
10+
experimental = true
11+
12+
# Enabling corepack will install the packageManager specified in package.json
13+
[[hooks.postinstall]]
14+
script = "npx corepack enable"
15+
16+
[[hooks.cd]]
17+
script = "mise install"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"url": "https://github.com/codepunkt/vitest-environment-prisma-postgres"
1212
},
1313
"engines": {
14-
"node": ">=24.0.0"
14+
"node": "24.11.1"
1515
},
1616
"scripts": {
1717
"build": "tsup",

0 commit comments

Comments
 (0)