Skip to content

[vite-plugin v1 backport] Update retained lint tooling - #17149

Open
petebacondarwin wants to merge 1 commit into
codex/vite-v1-backport-17070from
codex/vite-v1-backport-17132
Open

petebacondarwin wants to merge 1 commit into
codex/vite-v1-backport-17070from
codex/vite-v1-backport-17132

Conversation

@petebacondarwin

@petebacondarwin petebacondarwin commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Backport #17132 so the retained v1 workspace uses @cloudflare/oxlint-config ^0.2.0 and tsrs ^7.1.0-beta.tsrs3. Moving tsrs from the old exact 0.x prerelease to the upstream caret range permits compatible future releases to be selected when dependencies are updated.

This carries the original two manifest edits directly. The real pnpm lockfile resolves the same config 0.2.0 and tsrs 7.1.0-beta.tsrs3 versions as the original. The only adaptation is regenerating the smaller maintenance workspace graph, including its optional peer metadata. Existing retained custom lint rules and workspace references remain in place. No alternate lint configuration or additional rule changes are introduced.

This PR follows #17130 in native GitHub stack #17084 rooted at vite-plugin-v1. The runtime pins and regressions are supplied by that earlier PR; this diff contains only the tooling declarations and their lockfile changes. No plugin changeset is needed for development-only dependencies.

Validation: Node 22.22.1 / pnpm 10.33.0; pnpm build passes and pnpm check passes all 58 tasks, including retained types, lint and formatting. pnpm test:ci passes all 8 tasks. The first attempt could not bind localhost inside the sandbox; the rerun with localhost access passes. No regression test is added because the upstream change is a tooling-version/range update; the existing checks exercise the installed tools.


  • Tests
    • Tests included/updated
    • Automated tests not possible - manual testing has been completed as follows:
    • Additional testing not necessary because: this directly backports the upstream development-tool versions and range; the existing build, type, lint, format and package suites validate the installed tools.
  • Public documentation
    • Cloudflare docs PR(s):
    • Documentation not necessary because: this updates internal development tooling only.

Note

This is a contribution from an AI agent: OpenAI Codex.


Devin Review

@petebacondarwin petebacondarwin added ci:no-changeset-required Skip pull request checks for a valid changeset ci:no-tests Skip pull request checks for tests labels Nov 24, 2026
@workers-devprod
workers-devprod requested review from a team and jamesopstad and removed request for a team November 24, 2026 14:16
@workers-devprod

workers-devprod commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Codeowners approval required for this PR:

  • ✅ @cloudflare/wrangler

@petebacondarwin

Copy link
Copy Markdown
Contributor Author

@camc314 @petebacondarwin — please check this Vite plugin v1 backport of original #17132 and approve if it looks good.

The two upstream tooling declarations and resolved versions are carried directly; only the smaller v1 pnpm graph is regenerated. Retained private lint configuration stays in place. Earlier runtime/dependency coverage is supplied by #17130. Build, all 58 check tasks, and all 8 package test tasks pass. This PR is in native stack #17084 rooted at vite-plugin-v1.

@pkg-pr-new

pkg-pr-new Bot commented Nov 24, 2026

Copy link
Copy Markdown
npm i https://pkg.pr.new/@cloudflare/vite-plugin@17149

commit: a18016c

@devin-ai-integration devin-ai-integration Bot 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.

Devin Review found 2 potential issues.

Devin Review

Comment thread package.json

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.

🔍 Nonstandard pull request title prefix

The PR uses [vite-plugin v1 backport] instead of [vite-plugin], the prefix required by the maintenance branch guidelines.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

Comment thread package.json
"@changesets/parse": "^0.4.1",
"@cloudflare/lint-config-shared": "workspace:*",
"@cloudflare/oxlint-config": "^0.1.0",
"@cloudflare/oxlint-config": "^0.2.0",

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.

🔍 Inherited Relay lint rule removal

@cloudflare/oxlint-config now inherits a preset without @nkzw/ensure-relay-types, despite the PR description reporting no additional rule changes. The retained workspace has no React Relay callers.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

@clanky-the-clanker clanky-the-clanker Bot 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.

✅ Approved — No issues found: this is a small update to development tooling versions, and the lockfile resolves to the intended versions from the registry.

The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.


✅ All checks passed

🔒 Security: ✅ LGTM

Only development tooling declarations change. Lockfile entries come from the registry and have integrity hashes, and no install scripts or non-registry sources are added.


📖 AGENTS.md: ✅ LGTM

No issues found.


📋 Code Quality: ✅ LGTM

No issues found.


⚡ Performance: ✅ LGTM

No issues found.


📝 Documentation: ✅ LGTM

No issues found.


Reviewed commit: a18016ce

@camc314 camc314 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.

LGTM

@workers-devprod workers-devprod 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.

Codeowners reviews satisfied

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

Labels

ci:no-changeset-required Skip pull request checks for a valid changeset ci:no-tests Skip pull request checks for tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants