Skip to content

Commit

Permalink
fix: pin [email protected] to avoid styled-jsx/babel bug (#502)
Browse files Browse the repository at this point in the history
  • Loading branch information
amcgee authored Feb 18, 2021
1 parent 21a0629 commit 123c9aa
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"rollup-plugin-postcss": "^2.0.3",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-visualizer": "^3.2.2",
"styled-jsx": "^3.2.5"
"styled-jsx": "<3.3.3"
},
"bin": {
"d2-app-scripts": "./bin/d2-app-scripts"
Expand Down
16 changes: 15 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -15236,7 +15236,21 @@ [email protected]:
loader-utils "^2.0.0"
schema-utils "^2.7.0"

styled-jsx@^3.2.2, styled-jsx@^3.2.5:
styled-jsx@<3.3.3:
version "3.3.2"
resolved "https://registry.yarnpkg.com/styled-jsx/-/styled-jsx-3.3.2.tgz#2474601a26670a6049fb4d3f94bd91695b3ce018"
integrity sha512-daAkGd5mqhbBhLd6jYAjYBa9LpxYCzsgo/f6qzPdFxVB8yoGbhxvzQgkC0pfmCVvW3JuAEBn0UzFLBfkHVZG1g==
dependencies:
"@babel/types" "7.8.3"
babel-plugin-syntax-jsx "6.18.0"
convert-source-map "1.7.0"
loader-utils "1.2.3"
source-map "0.7.3"
string-hash "1.1.3"
stylis "3.5.4"
stylis-rule-sheet "0.0.10"

styled-jsx@^3.2.2:
version "3.2.5"
resolved "https://registry.yarnpkg.com/styled-jsx/-/styled-jsx-3.2.5.tgz#0172a3e13a0d6d8bf09167dcaf32cf7102d932ca"
integrity sha512-prEahkYwQHomUljJzXzrFnBmQrSMtWOBbXn8QeEkpfFkqMZQGshxzzp4H8ebBIsbVlHF/3+GSXMnmK/fp7qVYQ==
Expand Down

0 comments on commit 123c9aa

Please sign in to comment.