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

Allow production: true to be passed into the CLI #529

Merged
merged 3 commits into from
May 10, 2020

Conversation

matthewp
Copy link
Contributor

@matthewp matthewp commented May 5, 2020

This adds --production cli flag, passed into the sucraseOptions.

This adds `--production` cli flag, passed into the sucraseOptions.
Copy link
Owner

@alangpierce alangpierce left a comment

Choose a reason for hiding this comment

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

Thank you!

@alangpierce
Copy link
Owner

Sorry, looks like there are some CI issues. I'll get that fixed and merge and release when I get a chance.

@codecov-io
Copy link

Codecov Report

Merging #529 into master will decrease coverage by 0.16%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #529      +/-   ##
==========================================
- Coverage   81.50%   81.33%   -0.17%     
==========================================
  Files          55       55              
  Lines        5710     5476     -234     
  Branches     1287     1287              
==========================================
- Hits         4654     4454     -200     
+ Misses        766      735      -31     
+ Partials      290      287       -3     
Impacted Files Coverage Δ
src/cli.ts 0.00% <ø> (ø)
src/Options-gen-types.ts 75.00% <0.00%> (-25.00%) ⬇️
src/util/getDeclarationInfo.ts 80.00% <0.00%> (-20.00%) ⬇️
src/util/elideImportEquals.ts 81.81% <0.00%> (-18.19%) ⬇️
src/util/isAsyncOperation.ts 82.35% <0.00%> (-17.65%) ⬇️
src/util/shouldElideDefaultExport.ts 68.75% <0.00%> (-9.03%) ⬇️
src/parser/index.ts 77.77% <0.00%> (-7.94%) ⬇️
src/computeSourceMap.ts 83.33% <0.00%> (-5.56%) ⬇️
src/util/getNonTypeIdentifiers.ts 94.44% <0.00%> (-5.56%) ⬇️
src/parser/plugins/types.ts 91.66% <0.00%> (-3.34%) ⬇️
... and 20 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0ffd789...ae3a441. Read the comment docs.

@alangpierce alangpierce merged commit 9a67974 into alangpierce:master May 10, 2020
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