Skip to content

Commit 977246f

Browse files
authored
Fix dev on nextjs playground (#2051)
1 parent 1e907ac commit 977246f

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

packages/browser/react/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
"scripts": {
1616
"prebuild": "npm run clean",
1717
"start": "tsc-watch",
18-
"clean": "rimraf dist",
18+
"clean": "pnpx rimraf dist",
1919
"build": "pnpm clean && cross-env NODE_ENV=production rollup -c rollup.config.ts",
2020
"test": "jest",
2121
"lint": "eslint src",
2222
"test:debug": "jest --runInBand",
2323
"prepublishOnly": "pnpm test && pnpm build",
2424
"link-posthog-js": "pnpm link ..",
25-
"clean-node-modules": "rimraf node_modules && pnpm run link-posthog-js"
25+
"clean-node-modules": "pnpx rimraf node_modules && pnpm run link-posthog-js"
2626
},
2727
"main": "dist/umd/index.js",
2828
"module": "dist/esm/index.js",
@@ -57,7 +57,6 @@
5757
"react": "^17.0.1",
5858
"react-dom": "^17.0.1",
5959
"react-test-renderer": "^17.0.1",
60-
"rimraf": "^3.0.2",
6160
"rollup": "^2.35.1",
6261
"rollup-plugin-typescript2": "^0.29.0",
6362
"ts-jest": "^26.4.4",

pnpm-lock.yaml

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)