Skip to content

Commit 1212367

Browse files
committed
fix: update codegenConfig to the new format
1 parent a27268f commit 1212367

File tree

1 file changed

+3
-7
lines changed
  • packages/create-react-native-library/templates/common

1 file changed

+3
-7
lines changed

packages/create-react-native-library/templates/common/$package.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -157,13 +157,9 @@
157157
<% if (project.turbomodule) { -%>
158158
},
159159
"codegenConfig": {
160-
"libraries": [
161-
{
162-
"name": "RN<%- project.name -%>Spec",
163-
"type": "modules",
164-
"jsSrcsDir": "src"
165-
}
166-
]
160+
"name": "RN<%- project.name -%>Spec",
161+
"type": "modules",
162+
"jsSrcsDir": "src"
167163
<% } -%>
168164
}
169165
}

0 commit comments

Comments
 (0)