Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Thanks for contributing! This guide covers everything you need to get from a fre

## Prerequisites

- **pnpm**: 10.17.0 or newer. Use the version pinned in `packageManager` (`pnpm@11.1.1`).
- **pnpm**: 11.9.0 or newer. Use the version pinned in `packageManager` (`pnpm@11.9.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.

📐 Maintainability & Code Quality | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Search for pnpm version references in example documentation

echo "=== Example READMEs with pnpm versions ==="
fd -e md . examples/ --exec rg -l "pnpm@\d+\.\d+\.\d+" {}

echo -e "\n=== Content of matching files ==="
fd -e md . examples/ --exec sh -c 'if rg -q "pnpm@\d+\.\d+\.\d+" "$1"; then echo "--- $1 ---"; rg -n "pnpm@\d+\.\d+\.\d+" "$1" -C2; fi' _ {}

Repository: TanStack/ai

Length of output: 387


Update example README to match CONTRIBUTING.md pnpm version.

The CONTRIBUTING.md has been updated to reference pnpm@11.9.0, but examples/ts-code-mode-web/README.md (line 10) still lists pnpm@10.17.0. Update the example README to maintain consistency across documentation.

🤖 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 `@CONTRIBUTING.md` at line 7, The pnpm version requirement has been updated to
11.9.0 in CONTRIBUTING.md, but the examples/ts-code-mode-web/README.md file
still references the older version 10.17.0. Update the pnpm version mentioned on
line 10 of examples/ts-code-mode-web/README.md from pnpm@10.17.0 to pnpm@11.9.0
to maintain consistency with the updated CONTRIBUTING.md documentation.

- Recommended: install via [Corepack](https://nodejs.org/api/corepack.html). Run `corepack enable` once and pnpm is managed automatically.
- **Git**.

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
"type": "git",
"url": "git+https://github.com/TanStack/ai.git"
},
"packageManager": "pnpm@11.1.1",
"packageManager": "pnpm@11.9.0",
"type": "module",
"engines": {
"pnpm": ">=11.0.0"
"pnpm": ">=11.9.0"
},
"scripts": {
"clean": "pnpm --filter \"./packages/**\" run clean",
Expand Down
7 changes: 7 additions & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ linkWorkspacePackages: true
preferWorkspacePackages: true
blockExoticSubdeps: true
trustPolicy: 'no-downgrade'
minimumReleaseAge: 1

trustPolicyExclude:
- 'chokidar@4.0.3' # existing transitive from sass/nitro; latest v4 with v5 available
- 'semver@5.7.2' # existing Babel/jscodeshift transitive; latest v5, released years ago
- 'semver@6.3.1' # existing Babel transitive; latest v6, released years ago
- 'undici-types@6.21.0' # existing @types/node transitive via happy-dom/vitest, types-only

# pnpm v11 dropped support for these fields in package.json — they must live
# here. See https://github.com/pnpm/pnpm/releases/tag/v11.0.0.
Expand Down
Loading