posthog-js 1.161.5 → 1.161.6-alpha.0
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/README.md +10 -0
- package/dist/array.full.js +1 -1
- package/dist/array.full.js.map +1 -1
- package/dist/array.js +1 -1
- package/dist/array.js.map +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/module.js +1 -1
- package/dist/module.js.map +1 -1
- package/lib/package.json +1 -1
- package/package.json +1 -1
- package/dist/lib/src/web-experiments.test.d.ts +0 -1
- package/lib/src/web-experiments.test.d.ts +0 -1
- package/lib/src/web-experiments.test.js +0 -310
- package/lib/src/web-experiments.test.js.map +0 -1
package/README.md
CHANGED
|
@@ -79,6 +79,10 @@ If you forget to add the label, don't try to update the version locally as you w
|
|
|
79
79
|
|
|
80
80
|
To release an alpha or beta version, you'll need to use the CLI locally:
|
|
81
81
|
|
|
82
|
+
#### CLI
|
|
83
|
+
|
|
84
|
+
Only one person is set as a collaborator on NPM, so they're the only person that can manually publish alphas
|
|
85
|
+
|
|
82
86
|
1. Make sure you're a collaborator on `posthog-js` in npm ([check here](https://www.npmjs.com/package/posthog-js)).
|
|
83
87
|
2. Make sure you're logged into the npm CLI (`npm login`).
|
|
84
88
|
3. Check out your work-in-progress branch (do not release an alpha/beta from `main`).
|
|
@@ -91,3 +95,9 @@ To release an alpha or beta version, you'll need to use the CLI locally:
|
|
|
91
95
|
```
|
|
92
96
|
|
|
93
97
|
5. Enjoy the new prerelease version. You can now use it locally, in a dummy app, or in the [main repo](https://github.com/posthog/PostHog).
|
|
98
|
+
|
|
99
|
+
#### Automagically
|
|
100
|
+
|
|
101
|
+
Use the "release alpha" label on your PR to have an alpha version published automatically. This automation currently doesn't check whether an alpha exists for the version it will try to publish. If you need to publish two alphas from one PR you'll need to fix that
|
|
102
|
+
|
|
103
|
+
Remember that these versions are public and folk might use them, so make sure they're not _too_ alpha 🙈
|