posthog-js 1.128.4 → 1.129.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 CHANGED
@@ -49,23 +49,15 @@ You can use the create react app setup in `playground/nextjs` to test posthog-js
49
49
 
50
50
  ## Developing together with another project
51
51
 
52
- Install Yalc to link a local version of `posthog-js` in another JS project: `npm install -g yalc`
52
+ Install pnpm to link a local version of `posthog-js` in another JS project: `npm install -g pnpm`
53
53
 
54
54
  #### Run this to link the local version
55
55
 
56
- - In the `posthog-js` directory: `yalc publish`
57
- - In the other directory: `yalc add posthog-js`, then install dependencies
58
- (for `posthog` this means: `yalc add posthog-js && pnpm i && pnpm copy-scripts`)
59
56
 
60
- #### Run this to update the linked local version
57
+ - In the `posthog-js` directory: `pnpm link --global`
58
+ - (for `posthog` this means: `pnpm link --global posthog-js && pnpm i && pnpm copy-scripts`)
59
+ - You can then remove the link with `pnpm link --global posthog-js
61
60
 
62
- - In the other directory: `yalc update`, then install dependencies
63
- (for `posthog` this means: `yalc update && pnpm i && pnpm copy-scripts`)
64
-
65
- #### Run this to unlink the local version
66
-
67
- - In the other directory: `yalc remove posthog-js`, then install dependencies
68
- (for `posthog` this means: `yalc remove posthog-js && pnpm i && pnpm copy-scripts`)
69
61
 
70
62
  ## Releasing a new version
71
63