Skip to content

Commit 0188345

Browse files
authored
Fix pnpm lock files for example deps (#2705)
1 parent 5fe7401 commit 0188345

File tree

27 files changed

+10643
-3343
lines changed

27 files changed

+10643
-3343
lines changed

packages/browser/playground/.pnpmfile.cjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
const repoRoot = __dirname + '/../../..'
12
/** @type {import('pnpm').Hooks} */
23
module.exports = {
34
hooks: {
@@ -7,7 +8,7 @@ module.exports = {
78
for (const dep in deps) {
89
if (dep.startsWith('posthog') || dep.startsWith('@posthog')) {
910
const tarballName = dep.replace('@', '').replace('/', '-')
10-
deps[dep] = `file:../../../../target/${tarballName}.tgz`
11+
deps[dep] = `file:${repoRoot}/target/${tarballName}.tgz`
1112
}
1213
}
1314
}

packages/browser/playground/csp-violations/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"concurrently": "^9.1.2",
1818
"dotenv": "^16.5.0",
1919
"express": "^4.18.2",
20-
"posthog-js": "^1.242.2",
20+
"posthog-js": "file:../..",
2121
"uuid": "^11.1.0"
2222
},
2323
"devDependencies": {

packages/browser/playground/csp-violations/pnpm-workspace.yaml

Whitespace-only changes.

packages/browser/playground/error-tracking/next-ts-app/pnpm-lock.yaml

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

packages/browser/playground/error-tracking/next-ts-app/pnpm-workspace.yaml

Whitespace-only changes.

packages/browser/playground/error-tracking/react-ts-esbuild/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"eslint-plugin-react-refresh": "^0.4.19",
2929
"globals": "^15.15.0",
3030
"typescript": "~5.7.2",
31-
"type script-eslint": "^8.24.1",
31+
"typescript-eslint": "^8.24.1",
3232
"vite": "^6.2.0"
3333
}
3434
}

packages/browser/playground/error-tracking/react-ts-esbuild/pnpm-lock.yaml

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

packages/browser/playground/error-tracking/react-ts-esbuild/pnpm-workspace.yaml

Whitespace-only changes.

packages/browser/playground/error-tracking/vue-ts-esbuild/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"@vitejs/plugin-vue": "^5.2.1",
1919
"@vue/tsconfig": "^0.7.0",
2020
"typescript": "~5.7.2",
21-
"vite": "^6.2.0",
21+
"vite": "^6.4.1",
2222
"vue-tsc": "^2.2.4"
2323
}
2424
}

packages/browser/playground/error-tracking/vue-ts-esbuild/pnpm-lock.yaml

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

0 commit comments

Comments
 (0)