8000 feat(init): Fixing command spacing for final display message and removing extra char from file list by tayrrible · Pull Request #2590 · apollographql/rover · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat(init): Fixing command spacing for final display message and removing extra char from file list #2590

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

Merged
merged 3 commits into from
May 13, 2025

Conversation

tayrrible
Copy link
Contributor

Before:
image

image

After:
image

image

@tayrrible tayrrible requested review from a team as code owners May 13, 2025 16:19
@tayrrible tayrrible added the feature 🎉 new commands, flags, functionality, and improved error messages label May 13, 2025
@tayrrible tayrrible added this to the v0.30.0 milestone May 13, 2025
@svc-apollo-docs
Copy link
Collaborator
svc-apollo-docs commented May 13, 2025

✅ Docs preview has no changes

The preview was not built because there were no changes.

Build ID: 62140b95991ff3ead53349ea

@tayrrible tayrrible enabled auto-merge (squash) May 13, 2025 16:19
@tayrrible tayrrible requested a review from gocamille May 13, 2025 16:20
Copy link
Contributor
@gocamille gocamille left a comment

Choose a reason for hiding this comment

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

Noice, thank you @tayrrible ! SHIP IT

@tayrrible tayrrible mentioned this pull request May 13, 2025
@tayrrible tayrrible merged commit 04aaa48 into main May 13, 2025
32 checks passed
@tayrrible tayrrible deleted the taylor/init-polish branch May 13, 2025 16:56
tayrrible added a commit that referenced this pull request May 13, 2025
<!--
First, 🌠 thank you 🌠 for taking the time to consider a contribution to
Apollo!

Here are some important details to follow:

* ⏰ Your time is important
To save your precious time, if the contribution you are making will
take more than an hour, please make sure it has been discussed in an
        issue first. This is especially true for feature requests!

* 💡 Features
Feature requests can be created and discussed within a GitHub Issue.
Be sure to search for existing feature requests (and related issues!)
prior to opening a new request. If an existing issue covers the need,
please upvote that issue by using the 👍 emote, rather than opening a
        new issue.

* 🕷 Bug fixes
These can be created and discussed in this repository. When fixing a
bug,
please _try_ to add a test which verifies the fix. If you cannot, you
should
still submit the PR but we may still ask you (and help you!) to create a
test.

* 📖 Contribution guidelines
Follow https://github.com/apollographql/rover/blob/HEAD/CONTRIBUTING.md
when submitting a pull request. Make sure existing tests still pass, and
add
        tests for all new behavior.

* ✏️ Explain your pull request
Describe the big picture of your changes here to communicate to what
        your pull request is meant to accomplish. Provide 🔗 links 🔗 to
        associated issues!

We hope you will find this to be a positive experience! Open source
contribution can be intimidating and we hope to alleviate that pain as
much
as possible. Without following these guidelines, you may be missing
context
that can help you succeed with your contribution, which is why we
encourage
discussion first. Ultimately, there is no guarantee that we will be able
to
merge your pull-request, but by following these guidelines we can try to
avoid disappointment.

-->
## 🚀 Features

- **Add support for templates in the ```rover init``` command**

This adds support for templates in the `rover init` command. You can now
select a template to use when creating a new graph.

### PRs Included

- [#2562](#2562) -
feat(init): Adds `init` flag to default features - @tayrrible
- [#2560](#2560) -
feat(rover): Makes starter file configurable during project creation -
@gocamille
- [#2559](#2559) -
feat(rover): Adds `start_point_file` to specify what file to use in
output - @sanchezdale
- [#2558](#2558) -
feat(rover): Displays template commands during init flow if one exists -
@gocamille
- [#2557](#2557) -
feat(init): Adds template selector for "recommended libraries" option -
@tayrrible
- [#2545](#2545) - Modifies
existing logic to fetch from the new github service latest released
version - @sanchezdale
- [#2542](#2542) -
refactor(init): Improves authentication error handling in init command -
@gocamille
- [#2539](#2539) -
refactor(init): Improves error handling for graphId step, improve and
code structure of rover init - @gocamille
- [#2567](#2567) -
feat(rover): init flow - update project creation copy for accuracy -
@gocamille
- [#2568](#2568) -
feat(init): Always show template selector for recommended libraries flow
- @tayrrible
- [#2570](#2570) -
feat(init): Updating error message for non-empty directory - @tayrrible
- [#2572](#2572) - Improving
file display in tree mode - @sanchezdale
- [#3573](#2573) -
feat(rover)init: allow multiple commands to be printed for graph
creation message - @gocamille
- [#2575](#2575) -
feat(rover): updating file display to show success and remove extra
chars for now - @tayrrible
- [#2577](#2577) - feat(auth)
Using shortlinks for hyperlinks to api keys - @tayrrible
- [#7578](#2578) - adding
template doc to docs list - @sanchezdale
- [#2579](#2579) -
feat(rover)init: correctly capitalize TypeScript - @gocamille
- [#2580](#2580) -
feat(rover)init: Update Next steps section in project creation message -
@gocamille
- [#2582](#2582) - feat(init)
Moving to using env var vs flag for graph ref when prompting user to run
dev command - @tayrrible
- [#2590](#2590) -
feat(init): Fixing command spacing for final display message and
removing extra char from file list - @tayrrible

## 🐛 Fixes

- [#2555](#2555) - fix(init):
Properly handles default graph ID acceptance - @gocamille
- [#2566](#2566) - fix(init):
Display command in project creation message for typescript template -
@gocamille
- [#2571](#2571) - fix(init)
Stripping all non-alphanumeric chars from graph id during generation and
adding test - @tayrrible

## 🛠 Maintenance

- [#2556](#2556) -
feat(init): Standardizes visual output and display messages for init
command - @tayrrible
- [#2552](#2552) -
chore(all): Adds clippy::panic lint across all crates - @gocamille
- [#2550](#2550) -
chore(deps): Updates dependency apollographql/router to v1.61.5 -
@renovate
- [#2536](#2536) -
feature(init): Removes init feature flag usage - @tayrrible
- [#2553](#2553) -
chore(deps): update dependency apollographql/router to v2.2.0 -
@renovate
- [#2565](#2565) -
chore(deps): update dependency apollographql/router to v1.61.6 -
@renovate
- [#2581](#2581) - update
language-server to 0.4.1 - @Jephuff

## 📚 Documentation

- [#2551](#2551) - Adds `pq
publish` into docs - @lleadbet
- [#2549](#2549) - Updates
doc about key used with graph ref - @pubmodmatt
- [#2541](#2541) - Update
`rover init` resources - @Meschreiber
- [#2540](#2540) - Uses
`actions/checkout@v4` in GitHub Actions example workflows - @DaleSeo
- [#2569](#2569) - docs: Set
the APOLLO_VCS_BRANCH environment variable in GitHub Actions - @DaleSeo
- [#2561](#2561) - docs:
rover init v.30 update - @Meschreiber
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 🎉 new commands, flags, functionality, and improved error messages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0