Skip to content
This repository was archived by the owner on Jul 12, 2023. It is now read-only.

Commit 332c46f

Browse files
authored
Merge pull request #465 from guardian/william/remove-emotion-10
Remove Emotion 10
2 parents b1ed9bf + 6fcfcdd commit 332c46f

File tree

4 files changed

+0
-34
lines changed

4 files changed

+0
-34
lines changed

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ Once you've cloned the repo, run
99
`yarn storybook` to display the components
1010
`yarn start` will show the full discussion app with query parameter options
1111

12-
#### A Note on `yarn start` and Create React App
13-
14-
We override the react-scripts from CRA using config-overrides.js in the root. This allows us to add babel plugins, specifically the autoLabel option for local development, without touching the rollup build.
15-
1612
### Publishing changes to NPM
1713

1814
You need a @guardian scoped NPM user account to be able to publish changes. You then will need to login to this NPM account locally on your maching. Once authenticated, run:

config-overrides.js

Lines changed: 0 additions & 10 deletions
This file was deleted.

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
},
2929
"peerDependencies": {
3030
"@emotion/react": "^11.1.5",
31-
"emotion": "10.0.27",
3231
"@guardian/src-button": "^3.3.0",
3332
"@guardian/src-foundations": "^3.3.0",
3433
"@guardian/src-icons": "^3.3.0",
@@ -70,7 +69,6 @@
7069
"@types/react-dom": "^17.0.1",
7170
"babel-loader": "^8.2.2",
7271
"babel-plugin-const-enum": "^1.0.1",
73-
"emotion": "10.0.27",
7472
"eslint-plugin-react-hooks": "^4.0.4",
7573
"fetch-mock": "^9.3.1",
7674
"husky": "^4.2.3",

yarn.lock

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7529,16 +7529,6 @@ create-ecdh@^4.0.0:
75297529
bn.js "^4.1.0"
75307530
elliptic "^6.0.0"
75317531

7532-
create-emotion@^10.0.27:
7533-
version "10.0.27"
7534-
resolved "https://registry.yarnpkg.com/create-emotion/-/create-emotion-10.0.27.tgz#cb4fa2db750f6ca6f9a001a33fbf1f6c46789503"
7535-
integrity sha512-fIK73w82HPPn/RsAij7+Zt8eCE8SptcJ3WoRMfxMtjteYxud8GDTKKld7MYwAX2TVhrw29uR1N/bVGxeStHILg==
7536-
dependencies:
7537-
"@emotion/cache" "^10.0.27"
7538-
"@emotion/serialize" "^0.11.15"
7539-
"@emotion/sheet" "0.9.4"
7540-
"@emotion/utils" "0.11.3"
7541-
75427532
create-hash@^1.1.0, create-hash@^1.1.2:
75437533
version "1.2.0"
75447534
resolved "https://registry.yarnpkg.com/create-hash/-/create-hash-1.2.0.tgz#889078af11a63756bcfb59bd221996be3a9ef196"
@@ -8549,14 +8539,6 @@ emotion-theming@^10.0.19:
85498539
"@emotion/weak-memoize" "0.2.5"
85508540
hoist-non-react-statics "^3.3.0"
85518541

8552-
emotion@10.0.27:
8553-
version "10.0.27"
8554-
resolved "https://registry.yarnpkg.com/emotion/-/emotion-10.0.27.tgz#f9ca5df98630980a23c819a56262560562e5d75e"
8555-
integrity sha512-2xdDzdWWzue8R8lu4G76uWX5WhyQuzATon9LmNeCy/2BHVC6dsEpfhN1a0qhELgtDVdjyEA6J8Y/VlI5ZnaH0g==
8556-
dependencies:
8557-
babel-plugin-emotion "^10.0.27"
8558-
create-emotion "^10.0.27"
8559-
85608542
encodeurl@~1.0.2:
85618543
version "1.0.2"
85628544
resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59"

0 commit comments

Comments
 (0)