Skip to content

Commit

Permalink
Use peerDependencies to ensure packages are installed in correct loca…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
leroykorterink committed Aug 13, 2024
1 parent e2ed9b8 commit f8ae3ce
Show file tree
Hide file tree
Showing 6 changed files with 73 additions and 51 deletions.
113 changes: 67 additions & 46 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion packages/stylelint-config-css-in-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"exports": {
".": "./index.mjs"
},
"dependencies": {
"peerDependencies": {
"@mediamonks/stylelint-config": "^1.7.0",
"postcss-styled-syntax": "^0.6.2",
"stylelint-config-recommended": "^14.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/stylelint-config-css/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"exports": {
".": "./index.mjs"
},
"dependencies": {
"peerDependencies": {
"@mediamonks/stylelint-config": "^1.7.0",
"stylelint-config-recommended": "^14.0.0"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/stylelint-config-scss-muban/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"license": "MIT",
"author": "frontend.monks",
"dependencies": {
"peerDependencies": {
"@mediamonks/stylelint-config-scss": "^1.7.0"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/stylelint-config-scss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"exports": {
".": "./index.mjs"
},
"dependencies": {
"peerDependencies": {
"@mediamonks/stylelint-config": "^1.7.0",
"stylelint-config-recommended-scss": "^14.0.0",
"stylelint-use-nesting": "^5.1.1"
Expand Down
3 changes: 2 additions & 1 deletion packages/stylelint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"access": "public"
},
"main": "index.js",
"dependencies": {
"peerDependencies": {
"stylelint": "^16.8.1",
"stylelint-order": "^6.0.3",
"stylelint-use-logical": "^2.1.0"
}
Expand Down

0 comments on commit f8ae3ce

Please sign in to comment.