create-react-native-library 0.52.0 → 0.52.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-react-native-library",
3
- "version": "0.52.0",
3
+ "version": "0.52.1",
4
4
  "description": "CLI to scaffold React Native libraries",
5
5
  "keywords": [
6
6
  "react-native",
@@ -66,5 +66,5 @@
66
66
  "@types/validate-npm-package-name": "^3.0.3",
67
67
  "@types/yargs": "^17.0.10"
68
68
  },
69
- "gitHead": "250cb0a6013eb73266c5c0392ff3366ad0cdfe6a"
69
+ "gitHead": "b02d73a94101356296e545a6644c4c31d9dfc5de"
70
70
  }
@@ -11,13 +11,15 @@ This project is a monorepo managed using [Yarn workspaces](https://yarnpkg.com/f
11
11
  - The library package in the root directory.
12
12
  - An example app in the `example/` directory.
13
13
 
14
- To get started with the project, run `yarn` in the root directory to install the required dependencies for each package:
14
+ To get started with the project, make sure you have the correct version of [Node.js](https://nodejs.org/) installed. See the [`.nvmrc`](./.nvmrc) file for the version used in this project.
15
+
16
+ Run `yarn` in the root directory to install the required dependencies for each package:
15
17
 
16
18
  ```sh
17
19
  yarn
18
20
  ```
19
21
 
20
- > Since the project relies on Yarn workspaces, you cannot use [`npm`](https://github.com/npm/cli) for development.
22
+ > Since the project relies on Yarn workspaces, you cannot use [`npm`](https://github.com/npm/cli) for development without manually migrating.
21
23
 
22
24
  <% if (project.moduleConfig === 'nitro-modules' || project.viewConfig === 'nitro-view') { -%>
23
25
  This project uses Nitro Modules. If you're not familiar with how Nitro works, make sure to check the [Nitro Modules Docs](https://nitro.margelo.com/).
@@ -56,7 +56,9 @@ const result = await multiply(3, 7);
56
56
 
57
57
  ## Contributing
58
58
 
59
- See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.
59
+ - [Development workflow](CONTRIBUTING.md#development-workflow)
60
+ - [Sending a pull request](CONTRIBUTING.md#sending-a-pull-request)
61
+ - [Code of conduct](CODE_OF_CONDUCT.md)
60
62
 
61
63
  ## License
62
64
 
@@ -144,11 +144,3 @@ dependencies {
144
144
  implementation project(":react-native-nitro-modules")
145
145
  <% } -%>
146
146
  }
147
-
148
- <% if (project.moduleConfig === "turbo-modules" || project.viewConfig === "fabric-view") { -%>
149
- react {
150
- jsRootDir = file("../src/")
151
- libraryName = "<%- project.viewConfig !== null ? project.name + 'View' : project.name -%>"
152
- codegenJavaPackageName = "com.<%- project.package -%>"
153
- }
154
- <% } -%>