Skip to content

Commit

Permalink
Fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
robbie-c committed Feb 10, 2025
1 parent 246bfde commit 160f021
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions playground/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"private": true,
"packageManager": "pnpm@9.15.4",
"scripts": {
"clean-react": "cd ../../react && rm -rf ./node_modules/",
"clean-react": "cd ../../react && pnpm run clean-node-modules",
"dev": "pnpm run link-posthog-js && pnpm run clean-react && next dev",
"dev-crossdomain": "pnpm run link-posthog-js && pnpm run clean-react && NEXT_PUBLIC_CROSSDOMAIN=1 next dev --experimental-https",
"build": "pnpm run build-posthog-js && pnpm run link-posthog-js && pnpm run clean-react && next build --no-lint",
"start": "next start",
"lint": "next lint",
"build-posthog-js": "cd ../../ && NODE_ENV=dev pnpm i && pnpm run build",
"link-posthog-js": "pnpm link ../.. && cd ../../react && pnpm link .."
"link-posthog-js": "pnpm link ../.."
},
"dependencies": {
"@lottiefiles/react-lottie-player": "^3.5.4",
Expand Down
4 changes: 3 additions & 1 deletion react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
"build": "pnpm clean && cross-env NODE_ENV=production rollup -c rollup.config.ts",
"test": "jest",
"test:debug": "jest --runInBand",
"prepublishOnly": "pnpm test && pnpm build"
"prepublishOnly": "pnpm test && pnpm build",
"link-posthog-js": "pnpm link ..",
"clean-node-modules": "rimraf -r node_modules && pnpm run link-posthog-js"
},
"main": "dist/umd/index.js",
"module": "dist/esm/index.js",
Expand Down

0 comments on commit 160f021

Please sign in to comment.