fix(root): repair invalid package.json that broke npm install - #999
Merged
github-actions[bot] merged 1 commit intoSep 29, 2026
Merged
github-actions[bot] merged 1 commit into
github-actions[bot] merged 1 commit into
Conversation
The scripts block was missing a comma after "release" and re-declared "dev", making the root manifest unparseable. npm install / npm ci abort before resolving any workspace, so no contributor or CI job could install dependencies at all. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
|
@sandrawillow001-afk is attempting to deploy a commit to the smartdevs17's projects Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
package.jsonat the repo root is not valid JSON. Thescriptsblock is missing a comma after"release": "semantic-release"and re-declares"dev", which was already defined a few lines above:Because the manifest cannot be parsed, npm aborts before resolving a single workspace:
Impact
npm install/npm cifail for every contributor.vitest.config.tsresolution walks up to the root manifest and dies withExpected "," in JSON but found "\"dev\"".main(introduced in Add load testing, disaster recovery, exports, and cohort retention #900).Fix
Remove the duplicated
"dev"key, which leaves the trailing comma issue moot and keeps the first"dev": "turbo run dev"definition.Verification
With this applied, the root install completes and workspace test tooling becomes runnable.
🤖 Generated with Codebuff