Skip to content
New issue

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

[cli] Add "Environment" column to vc list #10239

Merged

Conversation

cb1kenobi
Copy link
Contributor

@cb1kenobi cb1kenobi commented Jul 21, 2023

Also adds a new --environment=[preview|production] filter and ability to pipe deployment URLs to stdout!

image
vc list --environment preview
vc list --environment production
vc list --environment preview > preview_deployments.txt

@changeset-bot
Copy link

changeset-bot bot commented Jul 21, 2023

🦋 Changeset detected

Latest commit: d5ad2e6

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

@cb1kenobi cb1kenobi changed the title [cli] Add 'Target' column to 'vc list' [cli] Add "Target" column to vc list Jul 21, 2023
@cb1kenobi cb1kenobi self-assigned this Jul 21, 2023
@cb1kenobi cb1kenobi added area: cli semver: minor PR contains new features pr: automerge Automatically merge the PR when checks pass labels Jul 21, 2023
@cb1kenobi cb1kenobi marked this pull request as draft July 21, 2023 22:10
Chris Barber added 3 commits July 24, 2023 11:05
@cb1kenobi cb1kenobi marked this pull request as ready for review July 24, 2023 16:12
@cb1kenobi cb1kenobi changed the title [cli] Add "Target" column to vc list [cli] Add "Environment" column to vc list Jul 24, 2023
@@ -35,6 +35,7 @@ const help = () => {
'DIR'
)} Path to the global ${'`.vercel`'} directory
-d, --debug Debug mode [off]
--git-branch Specify the Git branch to pull specific Environment Variables for
Copy link
Member

Choose a reason for hiding this comment

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

This seems unrelated to the PR?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Um, what the

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, unrelated. I found that option was missing when I documented --git-branch last week. Want me to move this to a separate PR?

@kodiakhq kodiakhq bot merged commit 8dd6d02 into main Jul 24, 2023
104 checks passed
@kodiakhq kodiakhq bot deleted the chrisbarber/vccli-408-add-in-env-into-the-vc-list-command branch July 24, 2023 20:02
Copy link
Contributor

@trek trek left a comment

Choose a reason for hiding this comment

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

Tested locally and all looks good.

TooTallNate pushed a commit that referenced this pull request Jul 25, 2023
# Releases

## vercel@31.1.0

### Minor Changes

- Add 'Environment' column to 'vc list' with new '--environment' filter
and pipe URLs to stdout
([#10239](#10239))

### Patch Changes

- Update `proxy-agent` to v6.3.0
([#10226](#10226))

- Use `getNodeBinPaths()` in `vc dev`
([#10225](#10225))

- Updated dependencies
\[[`b1c14cde0`](b1c14cd),
[`ce4633fe4`](ce4633f)]:
    -   @vercel/next@3.9.1
    -   @vercel/static-build@1.3.42

## @vercel/frameworks@1.5.0

### Minor Changes

- Add `ignorePackageJsonScript` configuration for Framework command
settings to ignore the `package.json` script.
([#10228](#10228))

Enable this mode for Storybook's `buildCommand`, since it should not
invoke the "build" script, which is most likely designated for the
frontend app build.

## @vercel/fs-detectors@4.1.1

### Patch Changes

- Updated dependencies
\[[`ce4633fe4`](ce4633f)]:
    -   @vercel/frameworks@1.5.0

## @vercel/next@3.9.1

### Patch Changes

- Fix pages and app router i18n handling
([#10243](#10243))

## @vercel/static-build@1.3.42

### Patch Changes

- Add `ignorePackageJsonScript` configuration for Framework command
settings to ignore the `package.json` script.
([#10228](#10228))

Enable this mode for Storybook's `buildCommand`, since it should not
invoke the "build" script, which is most likely designated for the
frontend app build.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: cli pr: automerge Automatically merge the PR when checks pass semver: minor PR contains new features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants