Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions apps/builder/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# vite-shadcn-builder-libra

## 1.0.11

### Patch Changes

- update deps

## 1.0.10

### Patch Changes
Expand Down
34 changes: 17 additions & 17 deletions apps/builder/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vite-shadcn-builder-libra",
"private": true,
"version": "1.0.10",
"version": "1.0.11",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down Expand Up @@ -32,45 +32,45 @@
"@radix-ui/react-dropdown-menu": "^2.1.16",
"@radix-ui/react-toast": "^1.2.15",
"@radix-ui/react-navigation-menu": "^1.2.14",
"tw-animate-css": "^1.3.7",
"tw-animate-css": "^1.3.8",
"class-variance-authority": "^0.7.1",
"cmdk": "^0.2.1",
"lucide-react": "^0.486.0",
"next-themes": "^0.4.6",
"react-day-picker": "^9.9.0",
"react-hook-form": "^7.62.0",
"react-day-picker": "^9.11.0",
"react-hook-form": "^7.63.0",
"sonner": "^2.0.7",
"input-otp": "^1.4.2",
"@splinetool/react-spline": "^4.1.0",
"react-router-dom": "^7.8.2",
"react-router-dom": "^7.9.1",
"tailwind-merge": "^3.3.1",
"zod": "^4.1.5",
"@hookform/resolvers": "^5.2.1",
"hono": "^4.9.6",
"@tanstack/react-query": "^5.85.9",
"zod": "^4.1.11",
"@hookform/resolvers": "^5.2.2",
"hono": "^4.9.8",
"@tanstack/react-query": "^5.89.0",
"recharts": "^2.15.4",
"vaul": "^1.1.2",
"react": "^19.1.1",
"react-dom": "^19.1.1",
"embla-carousel-react": "^8.6.0",
"motion": "^12.23.12"
"motion": "^12.23.16"
},
Comment on lines +35 to 57
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

🧩 Analysis chain

Check Router 7 and RHF minor bumps against our usage

react-router-dom 7.9.1 and react-hook-form 7.63.0 can introduce subtle type/runtime shifts. Sanity-check common hooks (useSearchParams, useForm, Controller) in builder routes/forms.

Run quick repo-wide scans for potentially changed APIs:


🏁 Script executed:

#!/bin/bash
# Router v7 common surfaces
rg -nP -C2 --type=ts --type=tsx '\b(useRoutes|createBrowserRouter|RouterProvider|useSearchParams|useNavigation|Link)\b' apps/builder

# RHF breaking-ish spots
rg -nP -C2 --type=ts --type=tsx '\b(useForm|Controller|useController|FormProvider)\b' apps/builder

Length of output: 55


🏁 Script executed:

#!/bin/bash
# Router v7 common surfaces
rg -nP -C2 -g '*.ts' -g '*.tsx' '\b(useRoutes|createBrowserRouter|RouterProvider|useSearchParams|useNavigation|Link)\b' apps/builder

# RHF breaking-ish spots
rg -nP -C2 -g '*.ts' -g '*.tsx' '\b(useForm|Controller|useController|FormProvider)\b' apps/builder

Length of output: 1688


Fix react-hook-form version; verify RHF usage — router bump low-risk

  • Critical: apps/builder/package.json pins "react-hook-form": "^7.63.0" but upstream releases/npm show latest 7.62.0 — update package.json to an existing version (e.g. ^7.62.0) or confirm 7.63.0 is published to avoid install failures.
  • RHF usage to sanity-check: apps/builder/src/components/ui/form.tsx imports Controller, FormProvider, useFormContext and renders <Controller {...props}/> — run targeted tests/validation after the bump.
  • Router: I found no react-router hooks used in apps/builder; react-router-dom 7.9.1 is a patch release (low-risk for this app).
🤖 Prompt for AI Agents
In apps/builder/package.json around lines 35 to 57, the pinned
"react-hook-form": "^7.63.0" does not appear to exist upstream and will cause
install failures; update the dependency to a published version (e.g. "^7.62.0")
or verify that 7.63.0 is actually published and replace it only if confirmed,
then run installs; after changing, run targeted tests and validate
apps/builder/src/components/ui/form.tsx (which imports Controller, FormProvider,
useFormContext and renders <Controller {...props}/>) to ensure API compatibility
with the chosen RHF version and adjust imports/usages if necessary; no change
required for react-router-dom 7.9.1 as it appears low-risk for this app.

"devDependencies": {
"@types/node": "^22.18.0",
"@types/react": "^19.1.12",
"@types/node": "^22.18.6",
Copy link

@cubic-dev-ai cubic-dev-ai bot Sep 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The @types/node version in this package is inconsistent with the monorepo's requirement of Node.js v24+. This can lead to incorrect type definitions and build errors.

Prompt for AI agents
Address the following comment on apps/builder/package.json at line 59:

<comment>The `@types/node` version in this package is inconsistent with the monorepo&#39;s requirement of Node.js v24+. This can lead to incorrect type definitions and build errors.</comment>

<file context>
@@ -32,45 +32,45 @@
   &quot;devDependencies&quot;: {
-    &quot;@types/node&quot;: &quot;^22.18.0&quot;,
-    &quot;@types/react&quot;: &quot;^19.1.12&quot;,
+    &quot;@types/node&quot;: &quot;^22.18.6&quot;,
+    &quot;@types/react&quot;: &quot;^19.1.13&quot;,
     &quot;@types/react-dom&quot;: &quot;^19.1.9&quot;,
</file context>
Suggested change
"@types/node": "^22.18.6",
"@types/node": "^24.5.2",
Fix with Cubic

"@types/react": "^19.1.13",
"@types/react-dom": "^19.1.9",
"@tailwindcss/vite": "^4.1.12",
"@tailwindcss/vite": "^4.1.13",
"@vitejs/plugin-react-swc": "^3.11.0",
"date-fns": "^4.1.0",
"clsx": "^2.1.1",
"postcss": "^8.5.6",
"autoprefixer": "^10.4.21",
"tailwindcss": "^4.1.12",
"tailwindcss": "^4.1.13",
"tailwindcss-animate": "^1.0.7",
"typescript": "^5.9.2",
"vite": "^6.3.5",
"@cloudflare/vite-plugin": "^1.12.2",
"vite": "^6.3.6",
"@cloudflare/vite-plugin": "^1.13.3",
"wrangler": "4.27.0",
"@cloudflare/workers-types": "^4.20250903.0"
"@cloudflare/workers-types": "^4.20250921.0"
}
}
8 changes: 8 additions & 0 deletions apps/cdn/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @libra/cdn

## 1.0.6

### Patch Changes

- update deps
- Updated dependencies
- @libra/[email protected]

## 1.0.5

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions apps/cdn/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@libra/cdn",
"version": "1.0.5",
"version": "1.0.6",
"scripts": {
"dev": "wrangler dev --port 3004 --persist-to=../web/.wrangler/state",
"deploy": "wrangler deploy --minify",
Expand All @@ -13,8 +13,8 @@
"@libra/db": "*",
"@libra/middleware": "*",
"@libra/typescript-config": "*",
"hono": "^4.9.6",
"@scalar/hono-api-reference": "^0.9.16",
"hono": "^4.9.8",
"@scalar/hono-api-reference": "^0.9.19",
"@hono/zod-openapi": "^0.19.10"
},
"devDependencies": {
Expand Down
9 changes: 9 additions & 0 deletions apps/deploy-workflow/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @libra/deploy-workflow

## 1.0.5

### Patch Changes

- update deps
- Updated dependencies
- @libra/[email protected]
- @libra/[email protected]

## 1.0.4

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions apps/deploy-workflow/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@libra/deploy-workflow",
"version": "1.0.4",
"version": "1.0.5",
"scripts": {
"dev": "wrangler dev --port 3008 --persist-to=../web/.wrangler/state",
"deploy": "wrangler deploy --minify",
Expand All @@ -16,8 +16,8 @@
"@libra/sandbox": "*",
"@libra/templates": "*",
"@libra/typescript-config": "*",
"hono": "^4.9.6",
"@scalar/hono-api-reference": "^0.9.16",
"hono": "^4.9.8",
"@scalar/hono-api-reference": "^0.9.19",
"@hono/zod-openapi": "^0.19.10"
Comment on lines +19 to 21
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

🧩 Analysis chain

Verify Hono-related compatibility across the monorepo and align workspace deps.

  • Ensure hono@^4.9.8, @hono/zod-openapi@^0.19.10, and @scalar/hono-api-reference@^0.9.19 have no peer/version clashes and are consistent across all packages.
  • Consider switching internal @libra/* from "*" to a workspace range ("workspace:*" or link:) for determinism and to avoid accidentally resolving registry versions if any package becomes public.

Repo-wide sanity checks:

If your workspace tool supports it, update internal deps:

-    "@libra/auth": "*",
+    "@libra/auth": "workspace:*",
-    "@libra/common": "*",
+    "@libra/common": "workspace:*",
-    "@libra/db": "*",
+    "@libra/db": "workspace:*",
-    "@libra/middleware": "*",
+    "@libra/middleware": "workspace:*",
-    "@libra/sandbox": "*",
+    "@libra/sandbox": "workspace:*",
-    "@libra/templates": "*",
+    "@libra/templates": "workspace:*",
-    "@libra/typescript-config": "*",
+    "@libra/typescript-config": "workspace:*",

Optionally add:

+  "packageManager": "[email protected]",
+  "engines": { "node": ">=20", "bun": ">=1.1" },

🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo '--- Hono versions across repo ---'
fd -a package.json | while read -r f; do
  dep=$(jq -r '.dependencies.hono // empty' "$f")
  dev=$(jq -r '.devDependencies.hono // empty' "$f")
  if [[ -n "$dep" || -n "$dev" ]]; then
    echo "$f -> deps:$dep devDeps:$dev"
  fi
done | sort

echo '--- @hono/zod-openapi versions across repo ---'
fd -a package.json | xargs -I{} jq -r '"{} -> " + (.dependencies["@hono/zod-openapi"] // empty)' {} | rg -n '-> .+' | sort

echo '--- @scalar/hono-api-reference versions across repo ---'
fd -a package.json | xargs -I{} jq -r '"{} -> " + (.dependencies["@scalar/hono-api-reference"] // empty)' {} | rg -n '-> .+' | sort

echo '--- Internal @libra/* deps using "*" ---'
fd -a package.json | while read -r f; do
  jq -r '
    .dependencies // {} | to_entries[] | select(.key|startswith("@libra/")) | select(.value=="*") |
    "'$f' -> \(.key): \(.value)"' "$f"
done | sort

Length of output: 1102


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo '--- package.json files ---'
fd -a package.json | sort

echo '--- Hono versions across repo (dependencies & devDependencies) ---'
fd -a package.json | while read -r f; do
  dep=$(jq -r '.dependencies.hono // empty' "$f")
  dev=$(jq -r '.devDependencies.hono // empty' "$f")
  if [[ -n "$dep" || -n "$dev" ]]; then
    printf '%s -> deps:%s devDeps:%s\n' "$f" "$dep" "$dev"
  fi
done | sort

echo '--- @hono/zod-openapi versions across repo (dependencies & devDependencies) ---'
fd -a package.json | while read -r f; do
  dep=$(jq -r '.dependencies["@hono/zod-openapi"] // empty' "$f")
  dev=$(jq -r '.devDependencies["@hono/zod-openapi"] // empty' "$f")
  if [[ -n "$dep" || -n "$dev" ]]; then
    printf '%s -> deps:%s devDeps:%s\n' "$f" "$dep" "$dev"
  fi
done | sort

echo '--- @scalar/hono-api-reference versions across repo (dependencies & devDependencies) ---'
fd -a package.json | while read -r f; do
  dep=$(jq -r '.dependencies["@scalar/hono-api-reference"] // empty' "$f")
  dev=$(jq -r '.devDependencies["@scalar/hono-api-reference"] // empty' "$f")
  if [[ -n "$dep" || -n "$dev" ]]; then
    printf '%s -> deps:%s devDeps:%s\n' "$f" "$dep" "$dev"
  fi
done | sort

echo '--- Internal @libra/* deps using "*" ---'
fd -a package.json | while read -r f; do
  jq -r '
    .dependencies // {} | to_entries[] | select(.key|startswith("@libra/")) | select(.value=="*") |
    "'$f' -> \(.key): \(.value)"' "$f" | sed '/^$/d'
done | sort || true

echo '--- Internal @libra/* versions (dependencies & devDependencies) ---'
fd -a package.json | while read -r f; do
  jq -r '
    ((.dependencies // {}) + (.devDependencies // {})) | to_entries[] | select(.key|startswith("@libra/")) |
    "'$f' -> \(.key): \(.value)"' "$f" | sed '/^$/d'
done | sort || true

Length of output: 11237


Align Hono versions and convert internal @libra/ deps to workspace ranges*

  • Hono is inconsistent across the repo: ^4.9.8 is used in apps/builder, apps/cdn, apps/deploy-workflow, apps/deploy, apps/dispatcher, apps/screenshot; apps/vite-shadcn-template uses ^4.8.12 and packages/middleware uses ^4.8.4. Unify to a single version (recommend ^4.9.8) across the monorepo.
  • @hono/zod-openapi (^0.19.10) and @scalar/hono-api-reference (^0.9.19) are aligned in apps/cdn, apps/deploy-workflow, apps/deploy, apps/dispatcher, and apps/screenshot.
  • Replace internal @libra/* deps set to "" with "workspace:" for determinism in these files: apps/cdn/package.json, apps/deploy-workflow/package.json, apps/deploy/package.json, apps/dispatcher/package.json, apps/email/package.json, apps/screenshot/package.json, apps/web/package.json, packages/api/package.json, packages/auth/package.json, packages/db/package.json, packages/middleware/package.json, packages/sandbox/package.json, scripts/package.json.

Apply changes repo-wide (Hono bump + switch "" → "workspace:") and run a full install/lockfile refresh to validate.

🤖 Prompt for AI Agents
In apps/deploy-workflow/package.json around lines 19-21, Hono is set to "^4.9.8"
and internal dependencies using "*" should be deterministic; update this file so
Hono remains "^4.9.8" (to align with the monorepo standard) and change any
internal @libra/* dependency versions that are currently "*" to "workspace:*";
after making these edits, run a full package install and refresh the lockfile
(e.g., npm/yarn/pnpm install) to validate dependency resolution across the repo.

},
"devDependencies": {
Expand Down
9 changes: 9 additions & 0 deletions apps/deploy/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @libra/deploy

## 1.0.9

### Patch Changes

- update deps
- Updated dependencies
- @libra/[email protected]
- @libra/[email protected]

## 1.0.8

### Patch Changes
Expand Down
10 changes: 5 additions & 5 deletions apps/deploy/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@libra/deploy",
"version": "1.0.8",
"version": "1.0.9",
"description": "Queue-based deployment service for Libra platform",
"scripts": {
"dev": "wrangler dev --port 3008 --persist-to=../web/.wrangler/state",
Expand All @@ -20,15 +20,15 @@
"@libra/sandbox": "*",
"@libra/templates": "*",
"@libra/typescript-config": "*",
"hono": "^4.9.6",
"@scalar/hono-api-reference": "^0.9.16",
"hono": "^4.9.8",
"@scalar/hono-api-reference": "^0.9.19",
"@hono/zod-openapi": "^0.19.10",
"zod": "^4.1.5",
"zod": "^4.1.11",
"drizzle-orm": "^0.44.5"
},
"devDependencies": {
"wrangler": "4.27.0",
"@types/node": "^24.3.0",
"@types/node": "^24.5.2",
"typescript": "^5.9.2",
"vitest": "^3.2.4",
"@vitest/coverage-v8": "^3.2.4"
Expand Down
8 changes: 8 additions & 0 deletions apps/dispatcher/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @libra/dispatcher

## 1.0.11

### Patch Changes

- update deps
- Updated dependencies
- @libra/common@1.0.3

Comment on lines +3 to +10
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

🧩 Analysis chain

Good: includes dependency bump reference to @libra/[email protected].

Add release date and optionally list external bumps (hono, zod, @scalar/hono-api-reference) for clarity.

Quick consistency check:


🏁 Script executed:

#!/bin/bash
# Verify apps/dispatcher/package.json reflects these versions
jq -r '.name, .version, .dependencies.hono, .dependencies.zod, .dependencies["@scalar/hono-api-reference"], .dependencies["@libra/common"]' apps/dispatcher/package.json

Length of output: 49


Action required: align CHANGELOG and package.json for @libra/common

  • CHANGELOG lists @libra/[email protected] but apps/dispatcher/package.json has "@libra/common": "*"; update package.json to the intended 1.0.3 (or correct the CHANGELOG) so they match.
  • Add a release date to apps/dispatcher/CHANGELOG.md.
  • Optional: enumerate external bumps for clarity — hono (^4.9.8), zod (^4.1.11), @scalar/hono-api-reference (^0.9.19).

Files: apps/dispatcher/CHANGELOG.md, apps/dispatcher/package.json.

🤖 Prompt for AI Agents
In apps/dispatcher/CHANGELOG.md lines 3-10 and apps/dispatcher/package.json, the
changelog claims @libra/[email protected] while package.json pins "@libra/common":
"*" and the changelog lacks a release date; update package.json to depend on
"1.0.3" (or change the changelog to reflect the actual version you intend), add
a release date entry to apps/dispatcher/CHANGELOG.md for the 1.0.11 entry, and
optionally expand the changelog's Patch Changes to enumerate external bumps
(hono ^4.9.8, zod ^4.1.11, @scalar/hono-api-reference ^0.9.19) so package.json
and CHANGELOG are consistent.

## 1.0.10

### Patch Changes
Expand Down
10 changes: 5 additions & 5 deletions apps/dispatcher/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@libra/dispatcher",
"version": "1.0.10",
"version": "1.0.11",
"type": "module",
"scripts": {
"dev": "wrangler dev --port 3007 --persist-to=../web/.wrangler/state",
Expand All @@ -15,15 +15,15 @@
"@libra/db": "*",
"@libra/common": "*",
"@libra/middleware": "*",
"hono": "^4.9.6",
"hono": "^4.9.8",
"pg": "^8.16.3",
"zod": "^4.1.5",
"zod": "^4.1.11",
"@hono/zod-openapi": "^0.19.10",
"@scalar/hono-api-reference": "^0.9.16"
"@scalar/hono-api-reference": "^0.9.19"
},
"devDependencies": {
"wrangler": "4.27.0",
"@cloudflare/workers-types": "^4.20250903.0",
"@cloudflare/workers-types": "^4.20250921.0",
"typescript": "^5.9.2",
"dotenv": "^17.2.2",
"dotenv-cli": "^10.0.0",
Expand Down
6 changes: 6 additions & 0 deletions apps/docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @libra/docs

## 1.0.8

### Patch Changes

- update deps

## 1.0.7

### Patch Changes
Expand Down
16 changes: 8 additions & 8 deletions apps/docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@libra/docs",
"version": "1.0.7",
"version": "1.0.8",
"private": true,
"scripts": {
"build": "next build",
Expand All @@ -9,14 +9,14 @@
"update": "bun update"
},
"dependencies": {
"fumadocs-core": "^15.7.8",
"fumadocs-mdx": "^11.8.3",
"fumadocs-ui": "^15.7.8",
"motion": "^12.23.12",
"fumadocs-core": "^15.7.13",
"fumadocs-mdx": "^11.10.1",
"fumadocs-ui": "^15.7.13",
"motion": "^12.23.16",
"octokit": "^5.0.3",
"@orama/tokenizers": "^3.1.12",
"@orama/orama": "^3.1.12",
"zod": "^4.1.5"
"@orama/tokenizers": "^3.1.14",
"@orama/orama": "^3.1.14",
"zod": "^4.1.11"
},
"devDependencies": {
"@types/mdx": "^2.0.13"
Expand Down
8 changes: 8 additions & 0 deletions apps/email/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# email

## 1.0.1

### Patch Changes

- update deps
- Updated dependencies
- @libra/[email protected]

## 1.0.0

### Major Changes
Expand Down
6 changes: 3 additions & 3 deletions apps/email/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "email",
"version": "1.0.0",
"version": "1.0.1",
"private": true,
"scripts": {
"build": "email build",
Expand All @@ -9,10 +9,10 @@
},
"dependencies": {
"@libra/email": "*",
"react-email": "^4.2.8"
"react-email": "^4.2.11"
},
"devDependencies": {
"@libra/typescript-config": "*",
"@react-email/preview-server": "^4.2.8"
"@react-email/preview-server": "^4.2.11"
}
}
9 changes: 9 additions & 0 deletions apps/screenshot/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @libra/screenshot

## 1.0.8

### Patch Changes

- update deps
- Updated dependencies
- @libra/[email protected]
- @libra/[email protected]

## 1.0.7

### Patch Changes
Expand Down
10 changes: 5 additions & 5 deletions apps/screenshot/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@libra/screenshot",
"version": "1.0.7",
"version": "1.0.8",
"description": "Queue-based screenshot service for Libra platform",
"scripts": {
"dev": "wrangler dev --port 3009 --persist-to=../web/.wrangler/state",
Expand All @@ -21,15 +21,15 @@
"@libra/sandbox": "*",
"@libra/templates": "*",
"@libra/typescript-config": "*",
"hono": "^4.9.6",
"@scalar/hono-api-reference": "^0.9.16",
"hono": "^4.9.8",
"@scalar/hono-api-reference": "^0.9.19",
"@hono/zod-openapi": "^0.19.10",
"zod": "^4.1.5",
"zod": "^4.1.11",
"drizzle-orm": "^0.44.5"
},
"devDependencies": {
"wrangler": "4.27.0",
"@types/node": "^24.3.0",
"@types/node": "^24.5.2",
"typescript": "^5.9.2",
Comment on lines +24 to 33
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

🧩 Analysis chain

Hono + Scalar + zod compatibility check; Node types in Workers

The version trio (hono 4.9.8, @scalar/hono-api-reference 0.9.19, zod 4.1.11) should be fine; confirm @hono/zod-openapi 0.19.10 peers align. Also ensure Node types don’t leak into Worker runtime (keep tsconfig types clean for this app).


🏁 Script executed:

#!/bin/bash
# Check for mixed DOM/Node typings in the Worker app's tsconfig
fd tsconfig.json apps/screenshot -x cat {} | jq -r '.compilerOptions.types, .compilerOptions.lib' | sed '/null/d'

# Confirm only one hono and zod version in lockfile
rg -n 'hono@|zod@' pnpm-lock.yaml package-lock.json yarn.lock 2>/dev/null || true

Length of output: 43


Remove 'node' from apps/screenshot/tsconfig.json types (Cloudflare Worker) and verify Hono/Zod peers

  • apps/screenshot/tsconfig.json has compilerOptions.types = ["@cloudflare/workers-types","node"] — remove "node" (or move Node types to a separate dev-only tsconfig) to avoid Node typings leaking into the Worker runtime (blocking).
  • rg for 'hono@|zod@' returned no lockfile matches in the repo; check your lockfile (pnpm-lock.yaml / package-lock.json / yarn.lock) and ensure a single compatible hono/zod version and that @hono/[email protected] peer dependencies align.
🤖 Prompt for AI Agents
In apps/screenshot/tsconfig.json around lines referenced by the reviewer
(compilerOptions.types), remove "node" from the types array (or move Node types
into a separate dev-only tsconfig used only by non-Worker tools) so Cloudflare
Worker typings are not polluted by Node types; additionally, inspect the repo
lockfile (pnpm-lock.yaml / package-lock.json / yarn.lock) to ensure there is a
single compatible version of hono and zod installed, and confirm
@hono/[email protected] peer dependencies match those versions (bump or align
package.json entries and reinstall to update the lockfile if necessary).

"vitest": "^3.2.4",
"@vitest/coverage-v8": "^3.2.4"
Expand Down
14 changes: 14 additions & 0 deletions apps/web/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# libra-core

## 1.0.16

### Patch Changes

- update deps
- Updated dependencies
- @libra/[email protected]
- @libra/[email protected]
- @libra/[email protected]
- @libra/[email protected]
- @libra/[email protected]
- @libra/[email protected]
- @libra/[email protected]

## 1.0.15

### Patch Changes
Expand Down
Loading
Loading