chore(deps-dev): bump dev-deps group + fix vitest 3.2.6 mock resolution (#197)

* chore(deps-dev): bump the dev-deps group across 1 directory with 7 updates

Bumps the dev-deps group with 7 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) | `2.4.15` | `2.4.16` |
| [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) | `3.2.4` | `3.2.6` |
| [turbo](https://github.com/vercel/turborepo) | `2.9.14` | `2.9.16` |
| [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) | `3.2.4` | `3.2.6` |
| [@types/opentype.js](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/opentype.js) | `1.3.9` | `1.3.10` |
| [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `6.4.2` | `6.4.3` |
| [vitepress-plugin-llms](https://github.com/okineadev/vitepress-plugin-llms) | `1.12.2` | `1.13.1` |

Updates `@biomejs/biome` from 2.4.15 to 2.4.16
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.4.16/packages/@biomejs/biome)

Updates `@vitest/coverage-v8` from 3.2.4 to 3.2.6
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v3.2.6/packages/coverage-v8)

Updates `turbo` from 2.9.14 to 2.9.16
- [Release notes](https://github.com/vercel/turborepo/releases)
- [Changelog](https://github.com/vercel/turborepo/blob/main/RELEASE.md)
- [Commits](https://github.com/vercel/turborepo/compare/v2.9.14...v2.9.16)

Updates `vitest` from 3.2.4 to 3.2.6
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v3.2.6/packages/vitest)

Updates `@types/opentype.js` from 1.3.9 to 1.3.10
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/opentype.js)

Updates `vite` from 6.4.2 to 6.4.3
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v6.4.3/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.4.3/packages/vite)

Updates `vitepress-plugin-llms` from 1.12.2 to 1.13.1
- [Release notes](https://github.com/okineadev/vitepress-plugin-llms/releases)
- [Commits](https://github.com/okineadev/vitepress-plugin-llms/compare/v1.12.2...v1.13.1)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-version: 2.4.16
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-deps
- dependency-name: "@vitest/coverage-v8"
  dependency-version: 3.2.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-deps
- dependency-name: turbo
  dependency-version: 2.9.16
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-deps
- dependency-name: vitest
  dependency-version: 3.2.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-deps
- dependency-name: "@types/opentype.js"
  dependency-version: 1.3.10
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-deps
- dependency-name: vite
  dependency-version: 6.4.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-deps
- dependency-name: vitepress-plugin-llms
  dependency-version: 1.13.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-deps
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix(test): resolve vitest 3.2.6 mock path breakage for posthog-node and @sentry/node

Add posthog-node and @sentry/node to vitest resolve aliases (matching
the existing pattern for all other api-workspace packages) and switch
the analytics test mocks from fragile relative node_modules paths to
bare specifiers. Vitest 3.2.6 changed how it matches mock paths through
pnpm symlinks after vi.resetModules(), causing 9 analytics test failures.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
SnapOtter
2026-06-04 22:22:40 +08:00
committed by GitHub
co-authored by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
parent e4608991ef
commit 1616ad1a5a
9 changed files with 635 additions and 786 deletions
+1 -1
View File
@@ -50,7 +50,7 @@
"@types/better-sqlite3": "^7.6.0",
"@types/js-yaml": "^4.0.9",
"@types/node": "^22.19.19",
"@types/opentype.js": "^1.3.9",
"@types/opentype.js": "^1.3.10",
"@types/pdfkit": "^0.17.6",
"@types/potrace": "^2.1.5",
"@types/qrcode": "^1.5.6",
+1 -1
View File
@@ -20,6 +20,6 @@
"@vitejs/plugin-react": "^4.3.0",
"tailwindcss": "^4.3.0",
"typescript": "^5.7.0",
"vite": "^6.4.2"
"vite": "^6.4.3"
}
}
+1 -1
View File
@@ -10,7 +10,7 @@
"devDependencies": {
"tsx": "^4.22.4",
"vitepress": "^1.1.4",
"vitepress-plugin-llms": "^1.12.2"
"vitepress-plugin-llms": "^1.13.1"
},
"license": "AGPL-3.0"
}
+1 -1
View File
@@ -47,7 +47,7 @@
"@vitejs/plugin-react": "^4.3.0",
"tailwindcss": "^4.3.0",
"typescript": "^5.7.0",
"vite": "^6.4.2"
"vite": "^6.4.3"
},
"license": "AGPL-3.0"
}
+4 -4
View File
@@ -53,7 +53,7 @@
]
},
"devDependencies": {
"@biomejs/biome": "^2.4.15",
"@biomejs/biome": "^2.4.16",
"@playwright/test": "^1.60.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^13.0.1",
@@ -66,15 +66,15 @@
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/adm-zip": "^0.5.8",
"@vitest/coverage-v8": "^3.2.4",
"@vitest/coverage-v8": "^3.2.6",
"adm-zip": "^0.5.17",
"husky": "^9.1.7",
"jsdom": "^29.1.1",
"lint-staged": "^16.4.0",
"semantic-release": "^25.0.3",
"turbo": "^2.9.14",
"turbo": "^2.9.16",
"typescript": "^5.7.0",
"vitest": "^3.0.0"
"vitest": "^3.2.6"
},
"license": "AGPL-3.0",
"pnpm": {
+1 -1
View File
@@ -18,7 +18,7 @@
},
"devDependencies": {
"typescript": "^5.7.0",
"vitest": "^3.0.0"
"vitest": "^3.2.6"
},
"license": "AGPL-3.0"
}
+622 -775
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -52,11 +52,11 @@ vi.mock("drizzle-orm", () => ({
eq: () => "mocked-eq",
}));
vi.mock("../../../apps/api/node_modules/posthog-node", () => ({
vi.mock("posthog-node", () => ({
PostHog: MockPostHog,
}));
vi.mock("../../../apps/api/node_modules/@sentry/node", () => ({
vi.mock("@sentry/node", () => ({
init: mockSentryInit,
captureException: mockSentryCapture,
close: mockSentryClose,
+2
View File
@@ -108,6 +108,8 @@ export default defineConfig({
sharp: path.join(apiNodeModules, "sharp"),
"openid-client": path.join(apiNodeModules, "openid-client"),
"opentype.js": path.join(apiNodeModules, "opentype.js"),
"posthog-node": path.join(apiNodeModules, "posthog-node"),
"@sentry/node": path.join(apiNodeModules, "@sentry/node"),
react: path.join(webNodeModules, "react"),
"react-dom": path.join(webNodeModules, "react-dom"),
"react-router-dom": path.join(webNodeModules, "react-router-dom"),