Skip to content

[dev] stop linking project in vc dev with --local flag#15239

Merged
nsidnev merged 5 commits intomainfrom
nsidnev/py-119-vc-dev-should-have-link-option
Feb 25, 2026
Merged

[dev] stop linking project in vc dev with --local flag#15239
nsidnev merged 5 commits intomainfrom
nsidnev/py-119-vc-dev-should-have-link-option

Conversation

@nsidnev
Copy link
Copy Markdown
Member

@nsidnev nsidnev commented Feb 24, 2026

Allows vc dev to skip project setup and start dev server without any additional prompts from a user

Note

Low Risk Change

Adds new --local flag to skip project linking in dev command, replacing experimental env var approach - this is a CLI feature flag change that allows running without authentication token when flag is passed.

  • New --local flag allows vc dev to run without Vercel project linking
  • Replaces experimental env var VERCEL_EXPERIMENTAL_DEV_SKIP_LINK with explicit CLI flag
  • Adds dev to subcommandsWithoutToken when --local flag is present

Risk assessment for commit e3ec1a6.

@nsidnev nsidnev requested a review from a team February 24, 2026 20:12
@nsidnev nsidnev requested review from a team as code owners February 24, 2026 20:12
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Feb 24, 2026

🦋 Changeset detected

Latest commit: e3ec1a6

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

This PR includes changesets to release 1 package
Name Type
vercel Minor

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
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 24, 2026

📦 CLI Tarball Ready

The Vercel CLI tarball for this PR is now available!

Quick Test

You can test this PR's CLI directly by running:

npx https://vercel-ogffyzlhg.vercel.sh/tarballs/vercel.tgz --help

Use in vercel.json

To use this CLI version in your project builds, add to your vercel.json:

{
  "build": {
    "env": {
      "VERCEL_CLI_VERSION": "vercel@https://vercel-ogffyzlhg.vercel.sh/tarballs/vercel.tgz"
    }
  }
}

Python Runtime Wheel

A vercel-runtime wheel was also built for this PR.
To use in your Python project builds, also set this environment variable:

VERCEL_RUNTIME_PYTHON="vercel-runtime @ https://vercel-ogffyzlhg.vercel.sh/tarballs/vercel_runtime-0.6.0.dev1771979981+e3ec1a6-py3-none-any.whl"

Python Workers Wheel

A vercel-workers wheel was also built for this PR.
To use in your Python project builds, also set this environment variable:

VERCEL_WORKERS_PYTHON="vercel-workers @ https://vercel-ogffyzlhg.vercel.sh/tarballs/vercel_workers-0.1.0.dev1771979981+e3ec1a6-py3-none-any.whl"

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 24, 2026

🧪 Unit Test Strategy

Comparing: 4f9a1a3e3ec1a6 (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 - 39 (98%)
  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/koa
  24. @vercel/nestjs
  25. @vercel/next
  26. @vercel/node
  27. @vercel/oidc
  28. @vercel/oidc-aws-credentials-provider
  29. @vercel/python
  30. @vercel/python-analysis
  31. @vercel/redwood
  32. @vercel/related-projects
  33. @vercel/remix-builder
  34. @vercel/routing-utils
  35. @vercel/ruby
  36. @vercel/rust
  37. @vercel/static-build
  38. @vercel/static-config
  39. examples

Results

  • Unit tests: Only affected packages will run unit tests
  • E2E tests: Running in parallel via E2E Tests workflow
  • Type checks: Only affected packages will run type checks

This comment is automatically generated based on the affected testing strategy

@nsidnev nsidnev changed the title [dev] stop linking project in vc dev [dev] stop linking project in vc dev with --local flag Feb 24, 2026
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
@nsidnev nsidnev enabled auto-merge (squash) February 25, 2026 00:48
@nsidnev nsidnev merged commit 62726bb into main Feb 25, 2026
178 checks passed
@nsidnev nsidnev deleted the nsidnev/py-119-vc-dev-should-have-link-option branch February 25, 2026 00:56
ricardo-agz pushed a commit that referenced this pull request Feb 25, 2026
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@50.24.0

### Minor Changes

- [dev] skip project setup for `vc dev` if `--local` or `-L` flag is
passed. ([#15239](#15239))

### Patch Changes

- feat(cli): add --format=json support to `integration add`
(auto-provision) ([#15250](#15250))

-   Updated dependencies \[]:
    -   @vercel/build-utils@13.5.0
    -   @vercel/next@4.15.34
    -   @vercel/redwood@2.4.9
    -   @vercel/rust@1.0.5
    -   @vercel/static-build@2.8.41

## @vercel/routing-utils@5.4.0

### Minor Changes

- Undeprecate `routes` schema and add aliases for `src`, `dest`, and
`status` ([#15010](#15010))

## @vercel/client@17.2.47

### Patch Changes

- Updated dependencies
\[[`0c961fce30d495620542066249dae447764d2eba`](0c961fc)]:
    -   @vercel/routing-utils@5.4.0
    -   @vercel/build-utils@13.5.0

## @vercel/config@0.0.34

### Patch Changes

- Undeprecate `routes` to match new routing-utils
([#15016](#15016))

- Updated dependencies
\[[`0c961fce30d495620542066249dae447764d2eba`](0c961fc)]:
    -   @vercel/routing-utils@5.4.0

## @vercel/fs-detectors@5.8.11

### Patch Changes

- [services] adds source information to detected services
([#15245](#15245))

- Updated dependencies
\[[`0c961fce30d495620542066249dae447764d2eba`](0c961fc)]:
    -   @vercel/routing-utils@5.4.0
    -   @vercel/frameworks@3.19.0


<!-- VADE_RISK_START -->
> [!NOTE]
> Low Risk Change
>
> This PR is an automated Changesets release that only updates version
numbers in package.json files and CHANGELOG.md files, with no code logic
changes.
> 
> - Version bumps across 5 packages (vercel, client, config,
fs-detectors, routing-utils)
> - Deletes consumed changeset markdown files
> - Updates CHANGELOG.md files with release notes
>
> <sup>Risk assessment for [commit
987df11](https://github.com/vercel/vercel/commit/987df111fedc0eb57c982038befca199bbf7e6fe).</sup>
<!-- VADE_RISK_END -->

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.

3 participants