Skip to content

feat(create): use Cloudflare’s Oxlint preset in new monorepos - #3539

Open
fengmk2 wants to merge 3 commits into
mainfrom
codex/monorepo-cloudflare-oxlint
Open

fengmk2 wants to merge 3 commits into
mainfrom
codex/monorepo-cloudflare-oxlint

Conversation

@fengmk2

@fengmk2 fengmk2 commented Nov 22, 2026 •

Copy link
Copy Markdown
Member

vp create vite:monorepo now configures Oxlint to use Cloudflare’s rules across the workspace. The template installs @cloudflare/oxlint-config@^0.2.0. The root vite.config.ts imports @cloudflare/oxlint-config/vite-plus and adds it to lint.extends.

The template keeps TypeScript checks and the Vite+ import rule enabled. The demo website allows non-null assertions for its two DOM lookups.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://codex-monorepo-cloudflare-oxlint-viteplus-dev.voidzero-docs.workers.dev (commit e6719b9)

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://58bba1d0-viteplus-dev.voidzero-docs.workers.dev e6719b9 2026-11-24T09:16:05.116Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://c2d589c7-viteplus-dev.voidzero-docs.workers.dev 4840cbe 2026-11-24T08:49:53.621Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://8a25afff-viteplus-dev.voidzero-docs.workers.dev 2dac08d 2026-11-24T03:17:06.231Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://371001a5-viteplus-dev.voidzero-docs.workers.dev 27998c1 2026-11-23T10:12:10.610Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://cfcb4a9f-viteplus-dev.voidzero-docs.workers.dev 9c68a25 2026-11-22T14:26:33.175Z Visit the dashboard ↗

@github-actions

github-actions Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

CLI artifact sizes (e6719b9)

Final release artifacts built by the canonical build-upstream and build-windows-cli actions.
The dist rows use the Linux build. The core total excludes .node files to match the release artifact.

Artifact Format Base PR Change
packages/cli/dist Directory total 2.40 MiB 2.40 MiB +283 B (+0.01%)
packages/core/dist Directory total 4.11 MiB 4.11 MiB 0 B (0.00%)
Combined package dist Directory total 6.51 MiB 6.51 MiB +283 B (+0.00%)
vp (Linux x64) Binary 8.57 MiB 8.57 MiB 0 B (0.00%)
vp (Linux x64) gzip -9 3.92 MiB 3.92 MiB +84 B (+0.00%)
NAPI (Linux x64) Binary 37.31 MiB 37.31 MiB 0 B (0.00%)
NAPI (Linux x64) gzip -9 14.91 MiB 14.91 MiB -19 B (-0.00%)
vp (macOS ARM64) Binary 5.61 MiB 5.61 MiB 0 B (0.00%)
vp (macOS ARM64) gzip -9 3.35 MiB 3.35 MiB -59 B (-0.00%)
NAPI (macOS ARM64) Binary 43.83 MiB 43.83 MiB 0 B (0.00%)
NAPI (macOS ARM64) gzip -9 19.04 MiB 19.04 MiB +135 B (+0.00%)
vp (Windows x64) Binary 6.65 MiB 6.65 MiB 0 B (0.00%)
vp (Windows x64) gzip -9 3.03 MiB 3.03 MiB -141 B (-0.00%)
NAPI (Windows x64) Binary 33.25 MiB 33.25 MiB 0 B (0.00%)
NAPI (Windows x64) gzip -9 13.64 MiB 13.64 MiB -110 B (-0.00%)
Trampoline (Windows x64) Binary 13.50 KiB 13.50 KiB 0 B (0.00%)
Trampoline (Windows x64) gzip -9 7.09 KiB 7.09 KiB 0 B (0.00%)
Installer (Windows x64) Binary 4.69 MiB 4.69 MiB 0 B (0.00%)
Installer (Windows x64) gzip -9 2.25 MiB 2.25 MiB 0 B (0.00%)

@fengmk2
fengmk2 force-pushed the codex/monorepo-cloudflare-oxlint branch from 27998c1 to 2dac08d Compare November 24, 2026 03:16
@fengmk2
fengmk2 force-pushed the codex/monorepo-cloudflare-oxlint branch from 2dac08d to 4840cbe Compare November 24, 2026 08:49
@fengmk2 fengmk2 self-assigned this Nov 24, 2026
@fengmk2 fengmk2 added test: e2e Auto run e2e tests test: install-e2e run vite install e2e test test: create-e2e Run `vp create` e2e tests labels Nov 24, 2026
@fengmk2
fengmk2 marked this pull request as ready for review November 24, 2026 08:58
@fengmk2
fengmk2 requested review from cpojer and a balanced review from Copilot and removed request for Copilot November 24, 2026 08:58

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test: create-e2e Run `vp create` e2e tests test: e2e Auto run e2e tests test: install-e2e run vite install e2e test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants