You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,10 +10,10 @@ To get started with the project, run `yarn` in the root directory to install the
10
10
yarn
11
11
```
12
12
13
-
All packages in this monorepo depend on the [shared package](packages/shared) (`@callstack/react-native-legal-shared`). This package needs to be rebuilt whenever you make changes to it since other packages consume the exported, built JS code with emitted typings. You can do this by running the following command from the root directory, which will start `tsc` in watch mode:
13
+
All packages in this monorepo depend on the [shared package](packages/shared) (`@callstack/licenses`). This package needs to be rebuilt whenever you make changes to it since other packages consume the exported, built JS code with emitted typings. You can do this by running the following command from the root directory, which will start `tsc` in watch mode:
14
14
15
15
```sh
16
-
yarn workspace @callstack/react-native-legal-shared dev
16
+
yarn workspace @callstack/licenses dev
17
17
```
18
18
19
19
While developing, you will have 2 example apps that can be used to test your changes.
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,13 +71,13 @@ npm i --save-dev license-kit
71
71
### Node.js - API
72
72
73
73
```sh
74
-
yarn add -D @callstack/react-native-legal-shared
74
+
yarn add -D @callstack/licenses
75
75
```
76
76
77
77
or
78
78
79
79
```sh
80
-
npm i --save-dev @callstack/react-native-legal-shared
80
+
npm i --save-dev @callstack/licenses
81
81
```
82
82
83
83
## Usage
@@ -181,7 +181,7 @@ For a list of supported flags and the default values, run `npx license-kit --hel
181
181
182
182
### I want to customize the presentation of the licenses in my JS/TS project
183
183
184
-
You can use the `@callstack/react-native-legal-shared` package to access the core functionalities of the license management tool. To do so, please read the [programmatic usage documentation](https://callstackincubator.github.io/react-native-legal/docs/programmatic-usage#usage).
184
+
You can use the `@callstack/licenses` package to access the core functionalities of the license management tool. To do so, please read the [programmatic usage documentation](https://callstackincubator.github.io/react-native-legal/docs/programmatic-usage#usage).
We expose the core functionality related to Node.JS dependencies as a standalone CLI tool, `license-kit`, which can be used in any Node.js project, not just React Native apps. This allows you to generate license reports for any Node.js application.
16
16
17
-
In case your use case involves programmatic usage of the functionality provided by `license-kit`, you can use the `@callstack/react-native-legal-shared` package. This package exposes the core functionalities of the license management tool, allowing you to integrate it into your Node.js applications.
17
+
In case your use case involves programmatic usage of the functionality provided by `license-kit`, you can use the `@callstack/licenses` package. This package exposes the core functionalities of the license management tool, allowing you to integrate it into your Node.js applications.
In case your use case involves programmatic usage of the functionality provided by `license-kit`, you can use the `@callstack/react-native-legal-shared` package. This package exposes the core functionalities of the license management tool, allowing you to integrate it into your Node.js applications.
9
+
In case your use case involves programmatic usage of the functionality provided by `license-kit`, you can use the `@callstack/licenses` package. This package exposes the core functionalities of the license management tool, allowing you to integrate it into your Node.js applications.
10
10
11
11
## Installation
12
12
13
13
To get started, install the package using your preferred package manager:
Copy file name to clipboardExpand all lines: docs/docs/docs/react-native.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,7 +88,7 @@ On **iOS**, all detected licenses will also appear in the **Settings app** under
88
88
If you want to use the license management functionality in a Node.js project or any non-React Native application, you can either:
89
89
90
90
- use the `license-kit` CLI tool, which is a standalone tool that can be used in any Node.js project to generate license metadata - see [this section](/docs/standalone-cli) for more details
91
-
- programmatically use the `@callstack/react-native-legal-shared` package, which exposes the core functionalities of this tool - see [this section](/docs/programmatic-usage) for more details
91
+
- programmatically use the `@callstack/licenses` package, which exposes the core functionalities of this tool - see [this section](/docs/programmatic-usage) for more details
0 commit comments