Skip to content

[build-utils] Improve turbo.json parsing#12266

Merged
kodiakhq[bot] merged 6 commits intomainfrom
austinmerrick/improve-turbo-json-parsing
Oct 10, 2024
Merged

[build-utils] Improve turbo.json parsing#12266
kodiakhq[bot] merged 6 commits intomainfrom
austinmerrick/improve-turbo-json-parsing

Conversation

@onsclom
Copy link
Copy Markdown
Contributor

@onsclom onsclom commented Oct 10, 2024

  • Removes assumption that turbo.json is shaped correctly
  • Handle cases where read or parse throw
  • Adds test including comments in the turbo.json file

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Oct 10, 2024

🦋 Changeset detected

Latest commit: 6034b96

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 7 packages
Name Type
@vercel/build-utils Patch
vercel Patch
@vercel/client Patch
@vercel/gatsby-plugin-vercel-builder Patch
@vercel/node Patch
@vercel/static-build Patch
@vercel-internals/types Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@onsclom onsclom marked this pull request as ready for review October 10, 2024 17:28
trek
trek previously approved these changes Oct 10, 2024
@kodiakhq kodiakhq bot merged commit d01c6b9 into main Oct 10, 2024
@kodiakhq kodiakhq bot deleted the austinmerrick/improve-turbo-json-parsing branch October 10, 2024 18:49
onsclom pushed a commit that referenced this pull request Oct 10, 2024
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## [email protected]

### Minor Changes

- Enable viewing a list of team's Marketplace resources via the `vc
integration list` command (with the alternative alias `vc integration
ls` and basic filtering `--current-project` and `--integration
[integration-slug]`)
([#12251](#12251))

### Patch Changes

- Updated dependencies
\[[`d01c6b98d6f5f2718b69edec71b4aec40822bfe6`](d01c6b9),
[`3a2c2529c642cc2efc11d08a18f2da2ff423b15f`](3a2c252)]:
    -   @vercel/[email protected]
    -   @vercel/[email protected]
    -   @vercel/[email protected]
    -   @vercel/[email protected]
    -   @vercel/[email protected]
    -   @vercel/[email protected]
    -   @vercel/[email protected]

## @vercel/[email protected]

### Patch Changes

- Improve parsing of `turbo.json`
([#12266](#12266))

- Fix corepack `packageManager` detection on monorepos
([#12258](#12258))

## @vercel/[email protected]

### Patch Changes

- Updated dependencies
\[[`d01c6b98d6f5f2718b69edec71b4aec40822bfe6`](d01c6b9),
[`3a2c2529c642cc2efc11d08a18f2da2ff423b15f`](3a2c252)]:
    -   @vercel/[email protected]

## @vercel/[email protected]

### Patch Changes

- Updated dependencies
\[[`d01c6b98d6f5f2718b69edec71b4aec40822bfe6`](d01c6b9),
[`3a2c2529c642cc2efc11d08a18f2da2ff423b15f`](3a2c252)]:
    -   @vercel/[email protected]

## @vercel/[email protected]

### Patch Changes

- Fix corepack `packageManager` detection on monorepos
([#12258](#12258))

## @vercel/[email protected]

### Patch Changes

- Fix corepack `packageManager` detection on monorepos
([#12258](#12258))

## @vercel/[email protected]

### Patch Changes

- Updated dependencies
\[[`d01c6b98d6f5f2718b69edec71b4aec40822bfe6`](d01c6b9),
[`3a2c2529c642cc2efc11d08a18f2da2ff423b15f`](3a2c252)]:
    -   @vercel/[email protected]

## @vercel/[email protected]

### Patch Changes

- Fix corepack `packageManager` detection on monorepos
([#12258](#12258))

## @vercel/[email protected]

### Patch Changes

- Fix corepack `packageManager` detection on monorepos
([#12258](#12258))

## @vercel/[email protected]

### Patch Changes

- Fix corepack `packageManager` detection on monorepos
([#12258](#12258))

-   Updated dependencies \[]:
    -   @vercel/[email protected]

## @vercel-internals/[email protected]

### Patch Changes

- Updated dependencies
\[[`d01c6b98d6f5f2718b69edec71b4aec40822bfe6`](d01c6b9),
[`3a2c2529c642cc2efc11d08a18f2da2ff423b15f`](3a2c252)]:
    -   @vercel/[email protected]

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
QuietCraftsmanship pushed a commit to QuietCraftsmanship/Vercel that referenced this pull request Jul 6, 2025
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## [email protected]

### Minor Changes

- Enable viewing a list of team's Marketplace resources via the `vc
integration list` command (with the alternative alias `vc integration
ls` and basic filtering `--current-project` and `--integration
[integration-slug]`)
([#12251](vercel/vercel#12251))

### Patch Changes

- Updated dependencies
\[[`a82a8af02a2c464ec30a00764b09791622268cd7`](vercel/vercel@a82a8af),
[`38cf083ac6fc9a82fd886e76bc2621ed9d89239e`](vercel/vercel@38cf083)]:
    -   @vercel/[email protected]
    -   @vercel/[email protected]
    -   @vercel/[email protected]
    -   @vercel/[email protected]
    -   @vercel/[email protected]
    -   @vercel/[email protected]
    -   @vercel/[email protected]

## @vercel/[email protected]

### Patch Changes

- Improve parsing of `turbo.json`
([#12266](vercel/vercel#12266))

- Fix corepack `packageManager` detection on monorepos
([#12258](vercel/vercel#12258))

## @vercel/[email protected]

### Patch Changes

- Updated dependencies
\[[`a82a8af02a2c464ec30a00764b09791622268cd7`](vercel/vercel@a82a8af),
[`38cf083ac6fc9a82fd886e76bc2621ed9d89239e`](vercel/vercel@38cf083)]:
    -   @vercel/[email protected]

## @vercel/[email protected]

### Patch Changes

- Updated dependencies
\[[`a82a8af02a2c464ec30a00764b09791622268cd7`](vercel/vercel@a82a8af),
[`38cf083ac6fc9a82fd886e76bc2621ed9d89239e`](vercel/vercel@38cf083)]:
    -   @vercel/[email protected]

## @vercel/[email protected]

### Patch Changes

- Fix corepack `packageManager` detection on monorepos
([#12258](vercel/vercel#12258))

## @vercel/[email protected]

### Patch Changes

- Fix corepack `packageManager` detection on monorepos
([#12258](vercel/vercel#12258))

## @vercel/[email protected]

### Patch Changes

- Updated dependencies
\[[`a82a8af02a2c464ec30a00764b09791622268cd7`](vercel/vercel@a82a8af),
[`38cf083ac6fc9a82fd886e76bc2621ed9d89239e`](vercel/vercel@38cf083)]:
    -   @vercel/[email protected]

## @vercel/[email protected]

### Patch Changes

- Fix corepack `packageManager` detection on monorepos
([#12258](vercel/vercel#12258))

## @vercel/[email protected]

### Patch Changes

- Fix corepack `packageManager` detection on monorepos
([#12258](vercel/vercel#12258))

## @vercel/[email protected]

### Patch Changes

- Fix corepack `packageManager` detection on monorepos
([#12258](vercel/vercel#12258))

-   Updated dependencies \[]:
    -   @vercel/[email protected]

## @vercel-internals/[email protected]

### Patch Changes

- Updated dependencies
\[[`a82a8af02a2c464ec30a00764b09791622268cd7`](vercel/vercel@a82a8af),
[`38cf083ac6fc9a82fd886e76bc2621ed9d89239e`](vercel/vercel@38cf083)]:
    -   @vercel/[email protected]

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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.

4 participants