Skip to content

Commit

Permalink
Remove RPC (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsotimus authored Feb 5, 2024
1 parent f32022a commit 298b6ef
Show file tree
Hide file tree
Showing 29 changed files with 9 additions and 702 deletions.
40 changes: 0 additions & 40 deletions .github/workflows/consent.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
Expand Down
16 changes: 5 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
# PostHog Packages
# vite-plugin-posthog

## vite-plugin-posthog
## Description

A Package that adds PostHog to your Vite project. Compatible with Vue, Svelte and React.
This is a monorepo that houses the package `vite-plugin-posthog`. This package is a Vite plugin that adds PostHog to your Vite project.

A Package that adds PostHog to your Vite project. Compatible with any Vite app.

- Extra support currently given to React (via hooks and components)
- More support for Vue and Svelte coming soon

[Read more about this package here](packages/vite-plugin-posthog/README.md)

## react-posthog-consent

A Package that gives you access to better consent management for PostHog in React.

- Supports official PostHog React SDK and supports `vite-plugin-posthog` out of the box

[Read more about this package here](packages/react-posthog-consent/README.md)
2 changes: 1 addition & 1 deletion bin/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ commit_and_push() {
VERSION="$(get_new_version)"
BRANCH_NAME="release/$PACKAGE_NAME-v$VERSION"
git checkout -b "$BRANCH_NAME"
npm install
npm ci
git add .
git commit -m"$PACKAGE_NAME-$VERSION"
git push --set-upstream origin "$BRANCH_NAME"
Expand Down
8 changes: 2 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,12 @@
"name": "vite-plugin-posthog",
"private": true,
"scripts": {
"fbuild": "turbo build --filter=vite-plugin-posthog --filter=react-posthog-consent --force",
"build": "turbo build --filter=vite-plugin-posthog --filter=react-posthog-consent",
"dev": "turbo dev --filter=example-react",
"example:build": "turbo build --filter=example-react",
"lint": "turbo lint",
"build": "turbo build --filter=vite-plugin-posthog --force",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"vpp:build": "turbo build --filter=vite-plugin-posthog --force",
"vpp:deploy": "bash ./bin/deploy.sh vite-plugin-posthog",
"rpc:build": "turbo build --filter=react-posthog-consent --force",
"rpc:deploy": "bash ./bin/deploy.sh react-posthog-consent"
"deploy": "bash ./bin/deploy.sh vite-plugin-posthog"

},
"devDependencies": {
Expand Down
2 changes: 0 additions & 2 deletions packages/react-posthog-consent/.npmignore

This file was deleted.

21 changes: 0 additions & 21 deletions packages/react-posthog-consent/LICENSE

This file was deleted.

103 changes: 0 additions & 103 deletions packages/react-posthog-consent/README.md

This file was deleted.

66 changes: 0 additions & 66 deletions packages/react-posthog-consent/package.json

This file was deleted.

56 changes: 0 additions & 56 deletions packages/react-posthog-consent/rollup.config.mjs

This file was deleted.

Loading

0 comments on commit 298b6ef

Please sign in to comment.