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
# right now this is under the https://www.npmjs.com/~manoelposthog user
24
-
# this has to be moved to the posthog user
25
-
npm publish
26
-
```
22
+
>**Note:** The package is currently published at [posthog-react-native-session-replay](https://www.npmjs.com/package/posthog-react-native-session-replay) under the [manoelposthog](https://www.npmjs.com/~manoelposthog) user. This should eventually be moved to the posthog user.
23
+
24
+
After completing steps 1-6 above, follow these steps to publish to NPM:
25
+
26
+
#### Prerequisites
27
+
- Ensure you have access to publish to the `posthog-react-native-session-replay` package on NPM
28
+
- If you don't have access, contact the package maintainer (currently https://www.npmjs.com/~manoelposthog) to grant your NPM user access to the package
29
+
30
+
#### Steps
31
+
32
+
1. **Install dependencies** (if not done already, required for the build process):
33
+
```bash
34
+
npm install
35
+
```
36
+
37
+
2. **Authenticate with NPM** (if not already authenticated):
38
+
```bash
39
+
npm adduser
40
+
```
41
+
Follow the prompts to log in with your NPM credentials.
42
+
43
+
3. **Publish the package**:
44
+
```bash
45
+
npm publish
46
+
```
47
+
48
+
The `npm publish` command will automatically run the `prepare` script which builds the package using `react-native-builder-bob` before publishing.
0 commit comments