Skip to content

Commit

Permalink
Overrides for styled-components installs
Browse files Browse the repository at this point in the history
  • Loading branch information
nschubach committed Oct 18, 2023
1 parent 4edf1d6 commit c149df8
Show file tree
Hide file tree
Showing 12 changed files with 906 additions and 666 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14
20.8.1
823 changes: 671 additions & 152 deletions blocks/article-body-block/package-lock.json

Large diffs are not rendered by default.

11 changes: 5 additions & 6 deletions blocks/article-body-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,19 @@
"url": "ssh://[email protected]/WPMedia/arc-themes-blocks.git",
"directory": "blocks/article-body-block"
},
"scripts": {
"test": "echo \"Error: run tests from root\" && exit 1",
"lint": "eslint --ext js --ext jsx features"
},
"peerDependencies": {
"@arc-fusion/prop-types": "^0.1.5",
"@wpmedia/engine-theme-sdk": "*",
"@wpmedia/news-theme-css": "*",
"@wpmedia/video-player-block": "*",
"styled-components": "^6.1.0"
},
"overrides": {
"styled-components": "^6.1.0"
},
"dependencies": {
"react-oembed-container": "^1.0.0",
"sanitize-html": "^1.18.2"
"react-oembed-container": "^1.0.1",
"sanitize-html": "^2.11.0"
},
"gitHead": "83fb8d6685958d85ddbfcfbf01d9a5c864cd6c95"
}
7 changes: 3 additions & 4 deletions blocks/article-tag-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,14 @@
"url": "ssh://[email protected]/WPMedia/arc-themes-blocks.git",
"directory": "blocks/article-tag-block"
},
"scripts": {
"test": "echo \"Error: run tests from root\" && exit 1",
"lint": "eslint --ext js --ext jsx features"
},
"peerDependencies": {
"@wpmedia/engine-theme-sdk": "*",
"@wpmedia/news-theme-css": "*",
"@wpmedia/shared-styles": "*",
"styled-components": "^6.1.0"
},
"overrides": {
"styled-components": "^6.1.0"
},
"gitHead": "83fb8d6685958d85ddbfcfbf01d9a5c864cd6c95"
}
7 changes: 3 additions & 4 deletions blocks/header-nav-chain-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@
"url": "ssh://[email protected]/WPMedia/arc-themes-blocks.git",
"directory": "blocks/header-nav-chain-block"
},
"scripts": {
"test": "echo \"Error: run tests from root\" && exit 1",
"lint": "eslint --ext js --ext jsx features"
},
"peerDependencies": {
"@arc-fusion/prop-types": "^0.1.5",
"@wpmedia/engine-theme-sdk": "*",
Expand All @@ -34,5 +30,8 @@
"focus-trap-react": "^8.4.2",
"use-debounce": "^3.4.3"
},
"overrides": {
"styled-components": "^6.1.0"
},
"gitHead": "83fb8d6685958d85ddbfcfbf01d9a5c864cd6c95"
}
7 changes: 3 additions & 4 deletions blocks/masthead-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,13 @@
"@wpmedia/shared-styles": "*",
"styled-components": "^6.1.0"
},
"scripts": {
"test": "echo \"Error: run tests from root\" && exit 1",
"lint": "eslint --ext js --ext jsx features"
},
"repository": {
"type": "git",
"url": "ssh://[email protected]/WPMedia/arc-themes-blocks.git",
"directory": "blocks/masthead-block"
},
"overrides": {
"styled-components": "^6.1.0"
},
"gitHead": "83fb8d6685958d85ddbfcfbf01d9a5c864cd6c95"
}
7 changes: 3 additions & 4 deletions blocks/results-list-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@
"url": "ssh://[email protected]/WPMedia/arc-themes-blocks.git",
"directory": "blocks/results-list-block"
},
"scripts": {
"test": "echo \"Error: run tests from root\" && exit 1",
"lint": "eslint --ext js --ext jsx features"
},
"peerDependencies": {
"@arc-fusion/prop-types": "^0.1.5",
"@wpmedia/byline-block": "*",
Expand All @@ -37,5 +33,8 @@
"@wpmedia/shared-styles": "*",
"styled-components": "^6.1.0"
},
"overrides": {
"styled-components": "^6.1.0"
},
"gitHead": "83fb8d6685958d85ddbfcfbf01d9a5c864cd6c95"
}
4 changes: 3 additions & 1 deletion blocks/shared-styles/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
"@wpmedia/resizer-image-block": "*",
"styled-components": "^6.1.0"
},
"scripts": {},
"overrides": {
"styled-components": "^6.1.0"
},
"gitHead": "83fb8d6685958d85ddbfcfbf01d9a5c864cd6c95"
}
5 changes: 4 additions & 1 deletion blocks/video-player-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@
"@wpmedia/shared-styles": "*"
},
"dependencies": {
"react-oembed-container": "^1.0.0"
"react-oembed-container": "^1.0.1"
},
"overrides": {
"styled-components": "^6.1.0"
},
"gitHead": "83fb8d6685958d85ddbfcfbf01d9a5c864cd6c95"
}
9 changes: 3 additions & 6 deletions blocks/video-promo-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,11 @@
"url": "ssh://[email protected]/WPMedia/arc-themes-blocks.git",
"directory": "blocks/video-promo-block"
},
"scripts": {
"test": "echo \"Error: run tests from root\" && exit 1",
"lint": "eslint --ext js --ext jsx features"
},
"peerDependencies": {
"@wpmedia/engine-theme-sdk": "*",
"@wpmedia/news-theme-css": "*",
"@wpmedia/shared-styles": "*",
"styled-components": "^6.1.0"
},
"overrides": {
"styled-components": "^6.1.0"
},
"gitHead": "83fb8d6685958d85ddbfcfbf01d9a5c864cd6c95"
Expand Down
Loading

0 comments on commit c149df8

Please sign in to comment.