| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| --- | ||
| "start": patch | ||
| --- | ||
|
|
||
| Make react-start example compatible with npm-based sandboxes | ||
|
|
||
| Replace the 'workspace:*' dependency reference with a fixed version (^0.4.0) for @tanstack/devtools-event-client in the react/start example. | ||
|
|
||
| The workspace:* reference was incompatible with npm-based sandboxes like StackBlitz and CodeSandbox, causing pnpm install failures with 'ERR_PNPM_OUTDATED_LOCKFILE' error. | ||
|
|
||
| This change allows the example to be used in cloud-based development environments while maintaining version compatibility. | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| Expand Up | @@ -10,7 +10,7 @@ | |
| }, | ||
| "dependencies": { | ||
| "@tailwindcss/vite": "^4.0.6", | ||
| "@tanstack/devtools-event-client": "workspace:*", | ||
| "@tanstack/devtools-event-client": "^0.4.0", | ||
|
Comment thread
Copy link
Copy Markdown
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality⚠️ Potential issue | 🟡 Minor 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Verify `@tanstack/devtools-event-client` version 0.4.0 exists and check other examples
echo "=== Checking if version 0.4.0 exists on npm ==="
npm view `@tanstack/devtools-event-client` versions --json | jq -r '.[]' | grep "^0\.4\.0$"
echo -e "\n=== Finding all examples using workspace references for this package ==="
fd -e json -x grep -l "devtools-event-client" {} \; | xargs grep -H "devtools-event-client.*workspace"Repository: TanStack/devtools Length of output: 377 Apply the same dependency fix to examples/react/time-travel for consistency. The version 0.4.0 of @tanstack/devtools-event-client exists on npm. However, examples/react/time-travel/package.json currently uses "workspace:^" for the same dependency, which would cause identical sandbox failures. Change it to "^0.4.0" to match this fix. 🤖 Prompt for AI AgentsVerify each finding against the current code and only fix it if needed. In `@examples/react/start/package.json` at line 13, Update the dependency entry for "@tanstack/devtools-event-client" in the examples/react/time-travel/package.json to use the published semver "^0.4.0" instead of "workspace:^" so it matches the fix applied in examples/react/start and prevents sandbox resolution failures; locate the dependency key "@tanstack/devtools-event-client" and replace its version string accordingly.
Sorry, something went wrong.
All reactions
|
||
| "@tanstack/react-devtools": "^0.10.2", | ||
| "@tanstack/react-router": "^1.132.0", | ||
| "@tanstack/react-router-devtools": "^1.132.0", | ||
| Expand Down | ||
| Back | FazBrowse Home | New Git URL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality⚠️ Potential issue | 🟠 Major
🧩 Analysis chain🏁 Script executed:
Repository: TanStack/devtools
Length of output: 1174
🏁 Script executed:
Repository: TanStack/devtools
Length of output: 797
🏁 Script executed:
Repository: TanStack/devtools
Length of output: 654
🏁 Script executed:
Repository: TanStack/devtools
Length of output: 280
Remove this changeset—it targets a private package that will not be published.
The "start" package is marked "private": true in examples/react/start/package.json. Changesets are for managing versions of publishable npm packages. Private example packages do not require changesets, as they are never published and don't need version tracking through the release process. Keeping this changeset could cause confusion and incorrect behavior in the release workflow.
🧰 Tools 🪛 LanguageTool[uncategorized] ~7-~7: “React” is a proper noun and needs to be capitalized.
Context: ... @tanstack/devtools-event-client in the react/start example. The workspace:* referen...
(A_GOOGLE)
🤖 Prompt for AI AgentsVerify each finding against the current code and only fix it if needed. In @.changeset/npm-sandbox-compat.md around lines 1 - 11, The changeset targets a private example package ("start") and should be removed; delete the .changeset/npm-sandbox-compat.md file and any references to this changeset so the release workflow doesn't try to version the private examples, and ensure the examples/react/start/package.json (the "start" package marked "private": true) remains unchanged (do not publish or include a changeset for `@tanstack/devtools-event-client` or any workspace:* replacement in that private example).Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.