feat: force use of pnpm

This commit is contained in:
Brendan Allan 2022-03-30 18:35:57 +08:00
parent 9c9c9240b3
commit 117cf0fed3
3 changed files with 4 additions and 2 deletions

1
.gitignore vendored
View file

@ -54,7 +54,6 @@ yalc.lock
!http_cache/cache !http_cache/cache
!http_cache/cache/cache.go !http_cache/cache/cache.go
*.log *.log
.npmrc
!create-turbo/templates/**/* !create-turbo/templates/**/*
todos.md todos.md
examples/*/*.lock examples/*/*.lock

1
.npmrc Normal file
View file

@ -0,0 +1 @@
engine-strict = true

View file

@ -60,7 +60,9 @@
} }
}, },
"engines": { "engines": {
"npm": ">=7.0.0", "pnpm": ">=6.0.0",
"npm": "pnpm",
"yarn": "pnpm",
"node": ">=14.0.0" "node": ">=14.0.0"
} }
} }