Skip to content

Commit

Permalink
fix: #70 and enforce use pnpm (#71)
Browse files Browse the repository at this point in the history
* fix: #70 and enforce use pnpm

* chore: update pnpm-lock.yaml
  • Loading branch information
genffy committed Oct 6, 2023
1 parent 72b3e13 commit 9d549c5
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 24 deletions.
2 changes: 2 additions & 0 deletions .npmrc
@@ -1,3 +1,5 @@
shamefully-hoist=true
strict-peer-dependencies=false
shell-emulator=true
# fix code ERESOLVE \n ERESOLVE could not resolve
legacy-peer-deps=true
4 changes: 4 additions & 0 deletions package.json
Expand Up @@ -11,6 +11,7 @@
"license": "MIT",
"private": true,
"scripts": {
"preinstall": "npx only-allow pnpm",
"dev": "nuxi dev",
"build": "nuxi build",
"preview": "nuxi preview",
Expand All @@ -33,6 +34,9 @@
"sass": "^1.68.0",
"typescript": "^5.2.2"
},
"peerDependencies": {
"pinia": "^2.1.6"
},
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
Expand Down
45 changes: 21 additions & 24 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 comment on commit 9d549c5

@vercel
Copy link

@vercel vercel bot commented on 9d549c5 Oct 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.