Skip to content

[cli] remove early compilation in get-config for vercel.ts projects#14504

Merged
pranavkarthik10 merged 6 commits into
mainfrom
pranav/pre-install-in-get-config
Dec 19, 2025
Merged

[cli] remove early compilation in get-config for vercel.ts projects#14504
pranavkarthik10 merged 6 commits into
mainfrom
pranav/pre-install-in-get-config

Conversation

@pranavkarthik10

@pranavkarthik10 pranavkarthik10 commented Dec 18, 2025

Copy link
Copy Markdown
Contributor
  • the reason we were compiling the vercel config in the first place was because we were reading vercel.json in that place (cli entrypoint)
  • the only property extracted by this JSON parse–turned–TypeScript compilation was to extract the scope property, which is a pre-vc link behavior, not even in the schema anymore. super legacy
  • so we can just skip it
  • we now remove compilation at that step (get-config)
  • verified non-monorepos work

@pranavkarthik10 pranavkarthik10 requested a review from a team as a code owner December 18, 2025 22:46
@changeset-bot

changeset-bot Bot commented Dec 18, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: d77c7d2

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

This PR includes changesets to release 1 package
Name Type
vercel 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

@github-actions

github-actions Bot commented Dec 18, 2025

Copy link
Copy Markdown
Contributor

🧪 Test Strategy

Comparing: 377d0ced77c7d2 (view diff)

Strategy: Affected packages only

✅ Only testing packages that have been modified or depend on modified packages.

Affected packages - 1 (3%)
  1. vercel
Unaffected packages - 38 (97%)
  1. @vercel-internals/get-package-json
  2. @vercel/backends
  3. @vercel/build-utils
  4. @vercel/cervel
  5. @vercel/cli-auth
  6. @vercel/client
  7. @vercel/config
  8. @vercel/detect-agent
  9. @vercel/edge
  10. @vercel/elysia
  11. @vercel/error-utils
  12. @vercel/express
  13. @vercel/fastify
  14. @vercel/firewall
  15. @vercel/frameworks
  16. @vercel/fs-detectors
  17. @vercel/functions
  18. @vercel/gatsby-plugin-vercel-builder
  19. @vercel/go
  20. @vercel/h3
  21. @vercel/hono
  22. @vercel/hydrogen
  23. @vercel/introspection
  24. @vercel/nestjs
  25. @vercel/next
  26. @vercel/node
  27. @vercel/oidc
  28. @vercel/oidc-aws-credentials-provider
  29. @vercel/python
  30. @vercel/redwood
  31. @vercel/related-projects
  32. @vercel/remix-builder
  33. @vercel/routing-utils
  34. @vercel/ruby
  35. @vercel/rust
  36. @vercel/static-build
  37. @vercel/static-config
  38. examples

Results

  • Unit tests: Only affected packages will run unit tests
  • E2E tests: Only affected packages will run e2e tests
  • Type checks: Only affected packages will run type checks

This comment is automatically generated based on the affected testing strategy

Comment thread packages/cli/src/util/get-config.ts Outdated
@pranavkarthik10 pranavkarthik10 changed the title [cli] move early installation for vercel.ts to get-config [cli] remove early compilation in get-config for vercel.ts projects Dec 18, 2025

@tknickman tknickman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@pranavkarthik10 pranavkarthik10 merged commit 06b53ed into main Dec 19, 2025
460 of 484 checks passed
@pranavkarthik10 pranavkarthik10 deleted the pranav/pre-install-in-get-config branch December 19, 2025 00:02
onsclom pushed a commit that referenced this pull request Dec 19, 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
## @vercel/build-utils@13.2.4

### Patch Changes

- [python] only create api builders for `.py` files that export an app
or handler ([#14493](#14493))

## vercel@50.1.3

### Patch Changes

- Run install command earlier for vercel.ts
([#14504](#14504))

- [python] only create api builders for `.py` files that export an app
or handler ([#14493](#14493))

- Remove vercel.ts feature flag
([#14501](#14501))

- Updated dependencies
\[[`f8e79cd385e3635a5d8227cb357af381b883d053`](f8e79cd),
[`c55475f865ecf22f27b8b17f6fc98b9e1455ab5d`](c55475f)]:
    -   @vercel/ruby@2.2.4
    -   @vercel/build-utils@13.2.4
    -   @vercel/python@6.1.5
    -   @vercel/backends@0.0.17
    -   @vercel/elysia@0.1.15
    -   @vercel/express@0.1.21
    -   @vercel/fastify@0.1.18
    -   @vercel/go@3.2.4
    -   @vercel/h3@0.1.24
    -   @vercel/hono@0.2.18
    -   @vercel/hydrogen@1.3.3
    -   @vercel/nestjs@0.2.19
    -   @vercel/next@4.15.9
    -   @vercel/node@5.5.16
    -   @vercel/redwood@2.4.6
    -   @vercel/remix-builder@5.5.6
    -   @vercel/rust@1.0.4
    -   @vercel/static-build@2.8.15

## @vercel/client@17.2.18

### Patch Changes

- Updated dependencies
\[[`c55475f865ecf22f27b8b17f6fc98b9e1455ab5d`](c55475f)]:
    -   @vercel/build-utils@13.2.4

## @vercel/elysia@0.1.15

### Patch Changes

-   Updated dependencies \[]:
    -   @vercel/node@5.5.16

## @vercel/express@0.1.21

### Patch Changes

-   Updated dependencies \[]:
    -   @vercel/node@5.5.16

## @vercel/fastify@0.1.18

### Patch Changes

-   Updated dependencies \[]:
    -   @vercel/node@5.5.16

## @vercel/fs-detectors@5.7.11

### Patch Changes

- [python] only create api builders for `.py` files that export an app
or handler ([#14493](#14493))

## @vercel/gatsby-plugin-vercel-builder@2.0.114

### Patch Changes

- Updated dependencies
\[[`c55475f865ecf22f27b8b17f6fc98b9e1455ab5d`](c55475f)]:
    -   @vercel/build-utils@13.2.4

## @vercel/h3@0.1.24

### Patch Changes

-   Updated dependencies \[]:
    -   @vercel/node@5.5.16

## @vercel/hono@0.2.18

### Patch Changes

-   Updated dependencies \[]:
    -   @vercel/node@5.5.16

## @vercel/nestjs@0.2.19

### Patch Changes

-   Updated dependencies \[]:
    -   @vercel/node@5.5.16

## @vercel/node@5.5.16

### Patch Changes

- Updated dependencies
\[[`c55475f865ecf22f27b8b17f6fc98b9e1455ab5d`](c55475f)]:
    -   @vercel/build-utils@13.2.4

## @vercel/python@6.1.5

### Patch Changes

- [python] only create api builders for `.py` files that export an app
or handler ([#14493](#14493))

## @vercel/ruby@2.2.4

### Patch Changes

- Replace bundle install flags with environment variables.
([#14499](#14499))

## @vercel/static-build@2.8.15

### Patch Changes

-   Updated dependencies \[]:
    -   @vercel/gatsby-plugin-vercel-builder@2.0.114

Co-authored-by: github-actions[bot] <41898282+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