Skip to content

Commit

Permalink
Fix peer deps issue
Browse files Browse the repository at this point in the history
  • Loading branch information
axelboc committed Sep 9, 2024
1 parent 712a35c commit c60012c
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 681 deletions.
4 changes: 4 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ engine-strict=true
# Don't check exact pnpm version in `packageManager` field (required by Netlify)
package-manager-strict=false

# Make installation of peer dependencies more predictible
auto-install-peers=false
strict-peer-dependencies=true

# Save exact dependency versions in `package.json`
save-prefix=""

Expand Down
7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@
"dependencies": {
"typescript": "5.0.3"
}
},
"eslint-plugin-tailwindcss": {
"peerDependenciesMeta": {
"tailwindcss": {
"optional": true
}
}
}
},
"peerDependencyRules": {
Expand Down
1 change: 1 addition & 0 deletions packages/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"@types/ndarray-ops": "~1.2.7",
"@types/node": "^20.12.11",
"@types/react": "^18.3.3",
"d3-array": "3.2.4",
"d3-format": "3.1.0",
"eslint": "8.57.0",
"eslint-config-galex": "4.5.2",
Expand Down
Loading

0 comments on commit c60012c

Please sign in to comment.