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

feat: add back Usage example to create and initialize #882

Merged
merged 6 commits into from
Sep 23, 2023

Conversation

JoshuaKGoldberg
Copy link
Owner

PR Checklist

Overview

Also adds mode to Options because it was getting annoying passing it around explicitly too.

Sorry, something went wrong.

@codecov
Copy link

codecov bot commented Sep 23, 2023

Codecov Report

Merging #882 (a04c92f) into main (bfcd795) will decrease coverage by 0.02%.
The diff coverage is 95.00%.

@@            Coverage Diff             @@
##             main     #882      +/-   ##
==========================================
- Coverage   92.77%   92.75%   -0.02%     
==========================================
  Files          89       89              
  Lines        4636     4665      +29     
  Branches      355      358       +3     
==========================================
+ Hits         4301     4327      +26     
- Misses        334      337       +3     
  Partials        1        1              
Flag Coverage Δ
create 70.78% <77.19%> (+0.07%) ⬆️
initialize 35.39% <31.57%> (-0.14%) ⬇️
migrate 70.10% <63.15%> (-0.10%) ⬇️
unit 59.92% <78.33%> (+0.22%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
src/shared/types.ts 0.00% <0.00%> (ø)
src/bin/index.ts 100.00% <100.00%> (ø)
src/create/createRerunSuggestion.ts 100.00% <100.00%> (ø)
src/create/createWithOptions.ts 69.11% <100.00%> (ø)
src/create/index.ts 89.18% <100.00%> (+0.14%) ⬆️
src/initialize/index.ts 97.77% <100.00%> (ø)
src/initialize/initializeWithOptions.ts 79.36% <100.00%> (ø)
src/migrate/index.ts 97.56% <100.00%> (ø)
src/migrate/migrateWithOptions.ts 77.61% <100.00%> (ø)
src/shared/options/args.ts 100.00% <100.00%> (ø)
... and 8 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@JoshuaKGoldberg JoshuaKGoldberg merged commit b465f78 into main Sep 23, 2023
@JoshuaKGoldberg JoshuaKGoldberg deleted the readme-usage-example branch September 23, 2023 21:36
@github-actions
Copy link

github-actions bot commented Oct 2, 2023

🎉 This is included in version v1.32.0 🎉

The release is available on:

Cheers! 📦🚀

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.

🚀 Feature: Add an API usage example in create and initialize modes
1 participant