Skip to content

Commit 7244c09

Browse files
vadyvastatomyrJLekawa
authored
fix: react is not defined (#2574)
* fix: lock styled-components dep * chore: add changeset * Apply suggestion from @tatomyr * tests: fix e2e tests * chore: update .changeset/cuddly-trains-prove.md Co-authored-by: Jacek Łękawa <164185257+JLekawa@users.noreply.github.com> * tests: update snapshot --------- Co-authored-by: Andrew Tatomyr <andrew.tatomyr@redocly.com> Co-authored-by: Jacek Łękawa <164185257+JLekawa@users.noreply.github.com>
1 parent cc119cc commit 7244c09

File tree

7 files changed

+561
-40
lines changed

7 files changed

+561
-40
lines changed

.changeset/cuddly-trains-prove.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@redocly/cli": patch
3+
---
4+
5+
Fixed an issue where running CLI commands would result in "ReferenceError: React is not defined" message.

package-lock.json

Lines changed: 10 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"semver": "^7.5.2",
6363
"set-cookie-parser": "^2.3.5",
6464
"simple-websocket": "^9.0.0",
65-
"styled-components": "^6.3.8",
65+
"styled-components": "6.3.9",
6666
"ulid": "^3.0.1",
6767
"undici": "^6.23.0",
6868
"yargs": "17.0.1"

0 commit comments

Comments
 (0)