Skip to content

chore: format & lint directly from root package - #2172

Open
davidkna-sap wants to merge 4 commits into
mainfrom
davidkna-sap/fmt-root
Open

chore: format & lint directly from root package#2172
davidkna-sap wants to merge 4 commits into
mainfrom
davidkna-sap/fmt-root

Conversation

@davidkna-sap

@davidkna-sap davidkna-sap commented Aug 17, 2026

Copy link
Copy Markdown
Member

Context

Closes SAP/ai-sdk-js-backlog#ISSUENUMBER.

Should be faster and catches more files. Edit: roughly 2x as fast in CI.

What this PR does and why it is needed

Comment thread adr/002-project-structure.md
@hyperspace-pr-bot

hyperspace-pr-bot Bot commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Summary

The following content is AI-generated and provides a summary of the pull request:


Chore: Run Format & Lint Directly from Root Package

What this PR does and why it is needed

This PR consolidates the lint and lint:fix scripts to run formatting (oxfmt) and linting (oxlint) directly from the root package.json, instead of delegating to each individual package via pnpm -r run. This change is faster (roughly 2x speedup in CI) and also catches more files across the repository.

Key changes:

  • package.json: Updated lint and lint:fix scripts to invoke oxlint and oxfmt directly at the root level, covering the entire monorepo in a single pass.
  • .oxfmtrc.json: Added .changeset/ and test-util/data to the ignore patterns, and ensured CHANGELOG.md is also excluded to avoid formatting noise.
  • .oxlintrc.json: Re-formatted arrays and objects to match the new consistent style (e.g., collapsed single-item arrays, reformatted plugin declarations).
  • vitest.shared.ts: Added explicit UserWorkspaceConfig return type to definePackageConfig and cleaned up trailing commas.
  • Various config & doc files (.github/, adr/, scripts/, styles/, etc.): Purely formatting fixes — trailing whitespace removal, consistent single-quote usage, indentation normalization, and minor whitespace cleanup — all applied automatically by the formatter now running from the root.

Category: 🔧 Chore


  • 🔄 Regenerate and Update Summary
  • ✏️ Insert as PR Description (deletes this comment)
  • 🗑️ Delete comment
PR Bot Information

Version: 1.29.30

  • LLM: anthropic--claude-4.6-sonnet
  • Correlation ID: 05267790-9af8-11f1-967e-e7c6cec24986
  • Event Trigger: issue_comment.edited
  • File Content Strategy: Full file content
  • Output Template: Repository PR Template
  • Summary Prompt: Default Prompt

* origin/main:
  chore(deps): update langchain (#2200)
  chore(deps): update dependency @langchain/langgraph to v1.4.12 (#2199)
  chore(deps): update dependency @langchain/langgraph to v1.4.11 (#2197)
  chore(deps): update dependency @changesets/cli to v3.0.1 (#2196)
  chore(deps): update dependency oxlint to v1.79.0 (#2195)
  chore(deps): update dependency oxfmt to v0.64.0 (#2194)
  chore(deps): update vitest monorepo to v4.1.11 (#2193)
  chore(deps): update dependency pnpm/pnpm to v11.22.0 (#2192)
  chore(deps): update github/codeql-action action to v4.37.7 (#2190)
  chore(deps): update oasdiff/oasdiff-action action to v0.1.13 (#2191)
  chore: Add openapi package to TypeDoc entry points (#2187)
  chore: Remove `pnpm-update.yml` workflow (#2183)
  chore: Cleanup eslint leftovers (#2179)
  chore(is-pr-mergable): do not treat skipped as failure (#2174)
  chore(deps): update dependency jose to v6.2.9 (#2176)
  chore(ci): add Node 26 to the feature matrix and default checks (#2161)
  chore(deps): update langchain (#2175)
  chore(deps): update dependency langchain to v1.5.7 (#2171)
  v2.15.0
marikaner
marikaner previously approved these changes Sep 1, 2026
* origin/main: (29 commits)
  chore: Add context7 refresh workflow (#2242)
  chore(deps): update dependency orval to v8.27.0 (#2243)
  feat(openai): migrate Realtime URL to buildRealtimeURL callback, raise minimum openai to ^7.5.0 (#2218)
  chore(deps): update dependency memfs to v4.68.2 (#2241)
  chore: claim context7 ownership for repo (#2240)
  chore(deps): update dependency zod to v4.5.2 (#2239)
  chore(deps): update dependency zod to v4.5.1 (#2238)
  chore(deps): update dependency knip to v6.33.0 (#2237)
  chore(deps): update dependency @upstash/context7-mcp to v4.0.4 (#2236)
  chore: Update model list (2026-08-18) (#2173)
  chore(deps): update dependency hyparquet-writer to v0.16.8 (#2232)
  chore(deps): update dependency hyparquet-writer to v0.16.7 (#2231)
  feat: Update document-grounding specification (#2229)
  chore: use branch lock files (#2178)
  chore(oxfmt): enable package.json sorting (#2208)
  chore(deps): update dependency pnpm/pnpm to v12 (#2227)
  chore: update contributing guide
  chore(deps): update dependency @langchain/langgraph to v1.4.13 (#2228)
  chore(deps): update github/codeql-action action to v4.37.9 (#2226)
  chore(deps): update dependency knip to v6.32.3 (#2225)
  ...
Comment thread adr/007-foundation-model-client-strategy.md
@davidkna-sap
davidkna-sap enabled auto-merge (squash) September 2, 2026 14:55
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.

2 participants