Skip to content

Feat/typescript 7 - #30

Merged
jfalava merged 7 commits into
mainfrom
feat/typescript-7
Jul 12, 2026
Merged

jfalava merged 7 commits into
mainfrom
feat/typescript-7

Conversation

@jfalava

@jfalava jfalava commented Jul 12, 2026 •

Copy link
Copy Markdown
Owner

Summary by CodeRabbit

  • Updates

    • Updated the landing page’s accessible social links to point to GitHub.
  • Maintenance

    • Refreshed project tooling and package versions.
    • Improved validation steps used before checks and deployments.
    • Updated TypeScript validation across application packages.
    • Updated the landing site and image-generation package versions.
    • Updated the project’s package manager version.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
jfa-dev-og-img-gen e0f0109 Jul 12 2026, 12:21 PM

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
jfa-dev-landing e0f0109 Jul 12 2026, 12:21 PM

@coderabbitai

coderabbitai Bot commented Jul 12, 2026 •

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@jfalava, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 55 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 158834c8-4c04-45c0-a5b6-779f2e3412fe

📥 Commits

Reviewing files that changed from the base of the PR and between e0f0109 and 1c6be62.

📒 Files selected for processing (1)
  • package.json

Walkthrough

The changes update repository dependency catalogs and root tooling to newer versions, switch the package manager to Bun 1.4.0, and disable the Bun minimum release age setting. Function and web package scripts now use tsc --noEmit and revised check/deploy ordering. Native TypeScript preview dependencies are removed, the image-generation package updates nanoid, and the landing package version changes to 0.3.5. The landing root document replaces three social links with a GitHub link.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title is too vague and only hints at TypeScript, not the actual changes. Rename it to state the real change, e.g. 'Switch TypeScript checks to tsc and update package scripts/dependencies'.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/typescript-7

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@jfalava
jfalava merged commit f17c0c7 into main Jul 12, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 3

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@bunfig.toml`:
- Around line 1-2: Re-enable the Bun install configuration by uncommenting the
[install] section and minimumReleaseAge = 604800 in bunfig.toml, preserving the
seven-day package quarantine.

In `@package.json`:
- Around line 13-23: Align the root devDependencies entry for oxfmt with the
catalog version 0.56.0. Update only the oxfmt version so root and workspace
formatting use the same pinned dependency.

In `@web/og-img-gen/package.json`:
- Around line 9-16: Update the deploy script in web/og-img-gen/package.json to
invoke the existing check script via vp run check instead of separately running
vp typecheck and vp lint, while preserving the subsequent build and wrangler
deploy steps.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 53cdf3e3-00b3-47ab-8550-d28442e4ae65

📥 Commits

Reviewing files that changed from the base of the PR and between f0dcf51 and e0f0109.

⛔ Files ignored due to path filters (1)
  • bun.lock is excluded by !**/*.lock
📒 Files selected for processing (7)
  • bunfig.toml
  • function/redirects/package.json
  • function/router/package.json
  • package.json
  • web/landing/package.json
  • web/landing/src/routes/__root.tsx
  • web/og-img-gen/package.json
💤 Files with no reviewable changes (1)
  • web/landing/src/routes/__root.tsx
📜 Review details
⏰ Context from checks skipped due to timeout. (3)
  • GitHub Check: CodeRabbit
  • GitHub Check: Workers Builds: jfa-dev-og-img-gen
  • GitHub Check: Workers Builds: jfa-dev-landing
⚠️ CI failures not shown inline (2)

GitHub Check: Workers Builds: jfa-dev-landing: Workers Builds: jfa-dev-landing

Conclusion: failure

View job details

Build ID: [a85a9838-0a1a-48e1-899a-6e58909230c8](https://dash.cloudflare.com/cb3d0c5cb46f4e801b0b7f4cc3fc78d3/workers/services/view/jfa-dev-landing/production/builds/a85a9838-0a1a-48e1-899a-6e58909230c8)
Script: [jfa-dev-landing](https://dash.cloudflare.com/cb3d0c5cb46f4e801b0b7f4cc3fc78d3/workers/services/view/jfa-dev-landing/production)

GitHub Check: Workers Builds: jfa-dev-og-img-gen: Workers Builds: jfa-dev-og-img-gen

Conclusion: failure

View job details

Build ID: [e436e039-92ee-4a57-84ea-52fb2e89d5c9](https://dash.cloudflare.com/cb3d0c5cb46f4e801b0b7f4cc3fc78d3/workers/services/view/jfa-dev-og-img-gen/production/builds/e436e039-92ee-4a57-84ea-52fb2e89d5c9)
Script: [jfa-dev-og-img-gen](https://dash.cloudflare.com/cb3d0c5cb46f4e801b0b7f4cc3fc78d3/workers/services/view/jfa-dev-og-img-gen/production)
🔇 Additional comments (9)
function/redirects/package.json (2)

20-21: Removal of @typescript/native-preview is consistent with the tsgo → tsc migration.

The typescript dependency at catalog:build (resolving to 7.0.2) provides tsc. No orphaned references to tsgo remain in this file.


7-12: 🩺 Stability & Availability

Drop the lint warning. deploy already runs vp run check, and vp check covers linting, formatting, and typechecking.

			> Likely an incorrect or invalid review comment.
function/router/package.json (2)

9-15: Script changes are consistent with function/redirects — good.

Same check → typecheck → vp check chain, same deploy → check → wrangler deploy chain, same tsc --noEmit switch. Consistency across function packages is exactly what you want.

Same observation as redirects: no lint in the deploy chain.


19-23: 🩺 Stability & Availability

No issue: vp fmt is already covered by the workspace root. function/router doesn’t need its own oxfmt devDependency, and the same vp fmt script is used in the other workspace packages too.

			> Likely an incorrect or invalid review comment.
web/og-img-gen/package.json (2)

29-29: nanoid bump from 5.1.11 to 5.1.16 — minor patch, low risk.


42-42: Removal of @typescript/native-preview is consistent.

No tsgo references remain. tsc --noEmit is the replacement, backed by typescript at catalog:build.

web/landing/package.json (2)

3-17: Version bump and script changes are consistent with web/og-img-gen.

Version 0.3.5, same check/deploy/typecheck script patterns, same tsgo → tsc migration. Good consistency across web packages.

Same deploy chain observation applies: deploy doesn't reuse vp run check, running its own typecheck → lint → build chain instead. This is consistent with og-img-gen but diverges from the function packages' approach.


40-41: Removal of @typescript/native-preview is consistent with all other packages.

package.json (1)

11-51: This comment is off-target. packageManager is bun@1.4.0-canary.1, not bun@1.4.0, and the workspace typecheck scripts already use tsc --noEmit.

			> Likely an incorrect or invalid review comment.

Comment thread bunfig.toml
Comment on lines +1 to +2
# [install]
# minimumReleaseAge = 604800

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔒 Security & Privacy | 🟠 Major | ⚡ Quick win

Disabling minimumReleaseAge removes a supply chain safety net.

minimumReleaseAge = 604800 enforced a 7-day quarantine for newly published packages. Commenting it out means Bun will happily install packages published seconds ago — including potentially compromised or buggy ones. Given this PR bumps a massive swath of dependencies to bleeding-edge versions, disabling this guardrail right now is the worst possible timing.

If the intent was to install versions younger than 7 days, re-enable this setting after the update lands. Leaving it disabled permanently is reckless.

🔒️ Proposed fix: re-enable after updates are applied
-# [install]
-# minimumReleaseAge = 604800
+[install]
+minimumReleaseAge = 604800
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
# [install]
# minimumReleaseAge = 604800
[install]
minimumReleaseAge = 604800
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@bunfig.toml` around lines 1 - 2, Re-enable the Bun install configuration by
uncommenting the [install] section and minimumReleaseAge = 604800 in
bunfig.toml, preserving the seven-day package quarantine.

Comment thread package.json
Comment on lines 13 to 23
"build": {
"@typescript/native-preview": "7.0.0-dev.20260610.1",
"@vitejs/plugin-react": "6.0.2",
"oxfmt": "0.54.0",
"@vitejs/plugin-react": "6.0.3",
"oxfmt": "0.56.0",
"oxlint": "1.57.0",
"oxlint-tsgolint": "0.18.1",
"typescript": "6.0.3",
"vite": "8.0.16",
"vite-plus": "0.1.24",
"typescript": "7.0.2",
"vite": "8.1.4",
"vite-plus": "0.2.4",
"vitest": "4.1.2",
"wrangler": "4.99.0"
"wrangler": "4.110.0"
},

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win

oxfmt version mismatch between catalog and root devDependencies.

The catalog pins oxfmt at 0.56.0 (line 15), but root devDependencies use 0.58.0 (line 72). Every other root devDependency matches its catalog counterpart exactly. This isn't intentional — it's a typo or a stale pin.

This means vp fmt will use different oxfmt versions depending on whether it runs from the root or a workspace context. You'll get inconsistent formatting across the monorepo and nobody will understand why.

🔧 Proposed fix: align root devDeps with catalog
-        "oxfmt": "0.56.0",
+        "oxfmt": "0.58.0",

Or alternatively, update the root devDependency to match the catalog:

-    "oxfmt": "0.58.0",
+    "oxfmt": "0.56.0",
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"build": {
"@typescript/native-preview": "7.0.0-dev.20260610.1",
"@vitejs/plugin-react": "6.0.2",
"oxfmt": "0.54.0",
"@vitejs/plugin-react": "6.0.3",
"oxfmt": "0.56.0",
"oxlint": "1.57.0",
"oxlint-tsgolint": "0.18.1",
"typescript": "6.0.3",
"vite": "8.0.16",
"vite-plus": "0.1.24",
"typescript": "7.0.2",
"vite": "8.1.4",
"vite-plus": "0.2.4",
"vitest": "4.1.2",
"wrangler": "4.99.0"
"wrangler": "4.110.0"
},
"build": {
"`@vitejs/plugin-react`": "6.0.3",
"oxfmt": "0.58.0",
"oxlint": "1.57.0",
"oxlint-tsgolint": "0.18.1",
"typescript": "7.0.2",
"vite": "8.1.4",
"vite-plus": "0.2.4",
"vitest": "4.1.2",
"wrangler": "4.110.0"
},
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@package.json` around lines 13 - 23, Align the root devDependencies entry for
oxfmt with the catalog version 0.56.0. Update only the oxfmt version so root and
workspace formatting use the same pinned dependency.

Comment on lines +9 to +16
"check": "vp run typecheck && vp check",
"deploy": "vp run typecheck && vp lint && vp build && wrangler deploy",
"dev": "vp dev --port 3000 --host",
"format": "vp fmt",
"lint": "vp lint",
"preview": "vp preview",
"serve": "vp preview",
"typecheck": "tsgo --noEmit"
"typecheck": "tsc --noEmit"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🩺 Stability & Availability | 🟡 Minor | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Compare deploy chains across all packages
rg -n '"deploy"' --type=json -g '*package.json' -A1
# Investigate what vp check does vs vp lint + vp build
rg -n 'vp check' --type=json -g '*package.json' -B2 -A2

Repository: jfalava/jfa.dev

Length of output: 153


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "== package.json files =="
git ls-files '*package.json'

echo
echo "== deploy/check scripts across package.json files =="
python3 - <<'PY'
import json, pathlib
for p in sorted(pathlib.Path('.').rglob('package.json')):
    try:
        data = json.loads(p.read_text())
    except Exception:
        continue
    scripts = data.get('scripts', {})
    if any(k in scripts for k in ('deploy','check','lint','build','typecheck')):
        print(f'-- {p}')
        for k in ('check','deploy','lint','build','typecheck'):
            if k in scripts:
                print(f'  {k}: {scripts[k]}')
PY

echo
echo "== any direct vp check references =="
rg -n --glob 'package.json' 'vp check|vp run check|vp run typecheck|wrangler deploy|vp lint|vp build' .

echo
echo "== files mentioning vp check outside package.json =="
rg -n 'vp check|vp run check' .

Repository: jfalava/jfa.dev

Length of output: 2739


Use vp run check in deploy. web/og-img-gen skips vp check entirely here, so this path can drift from check and miss any validation added there. The function packages already gate deploys through check.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@web/og-img-gen/package.json` around lines 9 - 16, Update the deploy script in
web/og-img-gen/package.json to invoke the existing check script via vp run check
instead of separately running vp typecheck and vp lint, while preserving the
subsequent build and wrangler deploy steps.

@jfalava
jfalava deleted the feat/typescript-7 branch July 23, 2026 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant