switch to pnpm

This commit is contained in:
Benjamin Palko 2026-08-11 14:58:11 -04:00
parent bdbbea7c4b
commit 5a903af22a
7 changed files with 3522 additions and 910 deletions

25
mise.toml Normal file
View file

@ -0,0 +1,25 @@
[tools]
node = '24'
[hooks]
# Enabling corepack will install the `pnpm` package manager specified in your package.json
# alternatively, you can also install `pnpm` with mise
postinstall = 'npx corepack enable'
[settings]
# This must be enabled to make the hooks work
experimental = true
[env]
_.path = ['{{config_root}}/node_modules/.bin']
[tasks.pnpm-install]
description = 'Installs dependencies with pnpm'
run = 'pnpm install'
sources = ['package.json', 'pnpm-lock.yaml', 'mise.toml']
outputs = ['node_modules/.pnpm/lock.yaml']
[tasks.dev]
description = 'Calls your dev script in `package.json`'
run = 'pnpm dev'
depends = ['pnpm-install']