Skip to content

Commit

Permalink
fix(lazy-index): fix "Preset requires a filename to be set" error (#2977
Browse files Browse the repository at this point in the history
)
  • Loading branch information
tido64 committed Feb 19, 2024
1 parent 2e70115 commit 18f82d6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/wicked-tools-camp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rnx-kit/react-native-lazy-index": patch
---

Fix "Preset requires a filename to be set" error when an older version of `babel-plugin-codegen` is used
2 changes: 1 addition & 1 deletion packages/react-native-lazy-index/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"test": "rnx-kit-scripts test"
},
"dependencies": {
"babel-plugin-codegen": "^4.0.0"
"babel-plugin-codegen": "^4.1.5"
},
"peerDependencies": {
"react-native": ">=0.59"
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4276,7 +4276,7 @@ __metadata:
"@rnx-kit/tsconfig": "*"
"@types/jest": ^29.2.1
"@types/node": ^20.0.0
babel-plugin-codegen: ^4.0.0
babel-plugin-codegen: ^4.1.5
eslint: ^8.23.0
jest: ^29.2.1
prettier: ^3.0.0
Expand Down Expand Up @@ -5710,7 +5710,7 @@ __metadata:
languageName: node
linkType: hard

"babel-plugin-codegen@npm:^4.0.0":
"babel-plugin-codegen@npm:^4.1.5":
version: 4.1.5
resolution: "babel-plugin-codegen@npm:4.1.5"
dependencies:
Expand Down

0 comments on commit 18f82d6

Please sign in to comment.