Skip to content

Commit f1f2279

Browse files
chore: Rename nitro-codegen to nitrogen (#891)
<!-- Please provide enough information so that others can review your pull request. --> <!-- Keep pull requests small and focused on a single change. --> ### Summary Nitro-codegen is renamed to nitrogen . This fixes below issue <img width="700" height="160" alt="image" src="https://github.com/user-attachments/assets/b261119d-fa11-4d87-bbad-1895cd07013b" /> <!-- What existing problem does the pull request solve? Can you solve the issue with a different approach? --> ### Test plan <!-- List the steps with which we can test this change. Provide screenshots if this changes anything visual. --> N/A <!-- CURSOR_SUMMARY --> --- > [!NOTE] > In the template package.json, switch devDependency from `nitro-codegen` to `nitrogen` and remove the `nitrogen` script. > > - **Templates**: > - **`packages/create-react-native-library/templates/common/$package.json`**: > - Dev dependency: replace `nitro-codegen` with `nitrogen` when `nitro-modules`/`nitro-view` is selected. > - Scripts: remove `"nitrogen": "nitro-codegen"` entry. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 7c96b49. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
1 parent 9e80177 commit f1f2279

File tree

1 file changed

+1
-4
lines changed
  • packages/create-react-native-library/templates/common

1 file changed

+1
-4
lines changed

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@
4848
"clean": "del-cli lib",
4949
<% } -%>
5050
"prepare": "bob build",
51-
<% if (project.moduleConfig === 'nitro-modules' || project.viewConfig === 'nitro-view') { -%>
52-
"nitrogen": "nitro-codegen",
53-
<% } -%>
5451
"release": "release-it --only-version"
5552
},
5653
"keywords": [
@@ -92,7 +89,7 @@
9289
"eslint-plugin-prettier": "^5.5.4",
9390
"jest": "^29.7.0",
9491
<% if (project.moduleConfig === 'nitro-modules' || project.viewConfig === 'nitro-view') { -%>
95-
"nitro-codegen": "^<%- versions.nitro %>",
92+
"nitrogen": "^<%- versions.nitro %>",
9693
<% } -%>
9794
"prettier": "^3.6.2",
9895
"react": "19.1.0",

0 commit comments

Comments
 (0)