posthog-js
Advanced tools
Comparing version 1.13.14 to 1.13.15
@@ -0,1 +1,7 @@ | ||
## 1.13.15 - 2021-09-29 | ||
- Speculative logging for PostHog/posthog#4816 (#293) | ||
- Bump tmpl from 1.0.4 to 1.0.5 in /react (#287) | ||
- Bump ansi-regex from 5.0.0 to 5.0.1 in /react (#294) | ||
## 1.13.14 - 2021-09-28 | ||
@@ -2,0 +8,0 @@ |
{ | ||
"name": "posthog-js", | ||
"version": "1.13.14", | ||
"version": "1.13.15", | ||
"description": "Posthog-js allows you to automatically capture usage and send events to PostHog.", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/PostHog/posthog-js", |
@@ -31,5 +31,37 @@ # PostHog Browser JS Library | ||
## Alternative to yarn link | ||
### Developing with main PostHog repo | ||
Run `npm install -g yalc` | ||
In the posthog-js repo | ||
* run `yalc publish` | ||
In the posthog repo | ||
* run `yalc add posthog-js` | ||
* run `yarn` | ||
* run `yarn copy-scripts` | ||
### When making changes | ||
In the posthog-js repo | ||
* run `yalc publish` | ||
In the posthog repo | ||
* run `yalc update` | ||
* run `yarn` | ||
* run `yarn copy-scripts` | ||
### To remove the local package | ||
In the posthog repo | ||
* run `yalc remove posthog-js` | ||
* run `yarn install` | ||
## Developing with main PostHog repo | ||
The `posthog-js` snippet for a website loads static js from the main `PostHog/posthog` repo. Which means, when testing the snippet with a website, there's a bit of extra setup required: | ||
@@ -36,0 +68,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
614230
12835
108