Skip to content

feat(docs): add wrangler - #2596

Merged
mdong1909 merged 7 commits into
mainfrom
docs-cf-add-wrangler
Sep 4, 2026
Merged

feat(docs): add wrangler#2596
mdong1909 merged 7 commits into
mainfrom
docs-cf-add-wrangler

Conversation

@mdong1909

Copy link
Copy Markdown
Contributor

No description provided.

@netlify

netlify Bot commented Sep 2, 2026

Copy link
Copy Markdown

Deploy Preview for viteplus-preview ready!

Name Link
🔨 Latest commit 977e99c
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/6a9a49ab4ed0430008fdff05
😎 Deploy Preview https://deploy-preview-2596--viteplus-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 2, 2026

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://docs-cf-add-wrangler-viteplus-dev.voidzero-docs.workers.dev (commit 977e99c)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://06f797e0-viteplus-dev.voidzero-docs.workers.dev 977e99c 2026-09-04T04:33:11.709Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://ea5be2df-viteplus-dev.voidzero-docs.workers.dev bfa24cf 2026-09-04T04:25:08.808Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://a28bac1f-viteplus-dev.voidzero-docs.workers.dev 1a2bd81 2026-09-02T09:20:36.715Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://2dd54e10-viteplus-dev.voidzero-docs.workers.dev 14034df 2026-09-02T09:08:43.371Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://2da4ea77-viteplus-dev.voidzero-docs.workers.dev 0f6f675 2026-09-02T08:57:16.354Z Visit the dashboard ↗

@socket-security

socket-security Bot commented Sep 2, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​wrangler@​4.127.1981009296100

View full report

@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

✅ Staging deployment successful!

Preview: https://viteplus-staging.void.app/
Commit: 977e99c

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0f6f6751cf

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/wrangler.jsonc Outdated

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The committed Wrangler config hardcodes a real Cloudflare account_id, which makes deploys target a specific account and should be removed/parameterized before merging.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Adds Cloudflare Wrangler support to the docs workspace so the VitePress site can be built and deployed via Wrangler.

Changes:

  • Introduces a wrangler.jsonc config targeting the built VitePress output in .vitepress/dist.
  • Adds wrangler (and related lockfile/workspace adjustments) to the docs workspace.
  • Updates docs scripts and ignores Wrangler’s local state directory.
File summaries
File Description
docs/wrangler.jsonc New Wrangler configuration for deploying the built docs site as static assets.
docs/pnpm-workspace.yaml Allows workerd build scripts to satisfy pnpm’s reviewed-builds constraints for Wrangler dependencies.
docs/pnpm-lock.yaml Lockfile updates for adding wrangler and its transitive dependencies.
docs/package.json Adds Wrangler dependency and Cloudflare build/deploy scripts for docs.
docs/.gitignore Ignores .wrangler state directory generated by Wrangler.
Review details

Files not reviewed (1)

  • docs/pnpm-lock.yaml: Generated file
  • Files reviewed: 4/5 changed files
  • Comments generated: 2
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread docs/wrangler.jsonc Outdated
Comment thread docs/pnpm-workspace.yaml
@fengmk2 fengmk2 self-assigned this Sep 4, 2026
@mdong1909
mdong1909 merged commit affdebd into main Sep 4, 2026
43 checks passed
@mdong1909
mdong1909 deleted the docs-cf-add-wrangler branch September 4, 2026 04:34
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.

3 participants