posthog-js 1.177.0 → 1.178.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 +7 -4
- package/dist/array.full.es5.js +1 -1
- package/dist/array.full.es5.js.map +1 -1
- package/dist/array.full.js +2 -2
- package/dist/array.full.js.map +1 -1
- package/dist/array.full.no-external.js +2 -2
- package/dist/array.full.no-external.js.map +1 -1
- package/dist/array.js +2 -2
- package/dist/array.js.map +1 -1
- package/dist/array.no-external.js +2 -2
- package/dist/array.no-external.js.map +1 -1
- package/dist/main.js +2 -2
- package/dist/main.js.map +1 -1
- package/dist/module.full.js +2 -2
- package/dist/module.full.js.map +1 -1
- package/dist/module.full.no-external.js +2 -2
- package/dist/module.full.no-external.js.map +1 -1
- package/dist/module.js +2 -2
- package/dist/module.js.map +1 -1
- package/dist/module.no-external.js +2 -2
- package/dist/module.no-external.js.map +1 -1
- package/dist/src/utils/event-utils.d.ts +1 -0
- package/lib/package.json +1 -1
- package/lib/src/utils/event-utils.d.ts +1 -0
- package/lib/src/utils/event-utils.js +9 -0
- package/lib/src/utils/event-utils.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -37,9 +37,12 @@ After all this, you'll be able to run through the below steps:
|
|
|
37
37
|
You can use the create react app setup in `playground/nextjs` to test posthog-js as an npm module in a Nextjs application.
|
|
38
38
|
|
|
39
39
|
1. Run `posthog` locally on port 8000 (`DEBUG=1 TEST=1 ./bin/start`).
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
1. Run `python manage.py setup_dev --no-data` on posthog repo, which sets up a demo account.
|
|
41
|
+
1. Copy Project API key found in `http://localhost:8000/project/settings` and save it for the last step.
|
|
42
|
+
1. Run `cd playground/nextjs`.
|
|
43
|
+
1. Run `pnpm i` to install dependencies.
|
|
44
|
+
1. Run `pnpm run build-posthog-js` to build `posthog-js` locally.
|
|
45
|
+
1. Run `NEXT_PUBLIC_POSTHOG_KEY='<your-local-api-key>' NEXT_PUBLIC_POSTHOG_HOST='http://localhost:8000' pnpm dev` to start the application.
|
|
43
46
|
|
|
44
47
|
### Tiers of testing
|
|
45
48
|
|
|
@@ -100,4 +103,4 @@ Only one person is set as a collaborator on NPM, so they're the only person that
|
|
|
100
103
|
|
|
101
104
|
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
105
|
|
|
103
|
-
Remember that these versions are public and folk might use them, so make sure they're not _too_ alpha 🙈
|
|
106
|
+
Remember that these versions are public and folk might use them, so make sure they're not _too_ alpha 🙈
|