switch to pnpm
This commit is contained in:
parent
bdbbea7c4b
commit
5a903af22a
7 changed files with 3522 additions and 910 deletions
25
mise.toml
Normal file
25
mise.toml
Normal 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']
|
||||
Loading…
Add table
Add a link
Reference in a new issue