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: export loadConfigFile type #4853

Merged
merged 3 commits into from
Feb 18, 2023

Conversation

TrickyPi
Copy link
Member

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

List any relevant issue numbers:
resolves #4841

Description

@netlify
Copy link

netlify bot commented Feb 12, 2023

Deploy Preview for rollupjs ready!

Name Link
🔨 Latest commit 682e931
🔍 Latest deploy log https://app.netlify.com/sites/rollupjs/deploys/63f0a080c9f9c00008d519d0
😎 Deploy Preview https://deploy-preview-4853--rollupjs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@codecov
Copy link

codecov bot commented Feb 12, 2023

Codecov Report

Merging #4853 (682e931) into master (e6148a8) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #4853   +/-   ##
=======================================
  Coverage   98.98%   98.98%           
=======================================
  Files         219      219           
  Lines        7943     7943           
  Branches     2189     2188    -1     
=======================================
  Hits         7862     7862           
  Misses         26       26           
  Partials       55       55           
Impacted Files Coverage Δ
cli/run/batchWarnings.ts 99.17% <ø> (ø)
cli/run/build.ts 90.62% <ø> (ø)
cli/run/index.ts 100.00% <ø> (ø)
cli/run/loadConfigFromCommand.ts 100.00% <ø> (ø)
cli/run/watch-cli.ts 86.11% <ø> (ø)
cli/run/loadConfigFile.ts 96.61% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Member

@lukastaegert lukastaegert left a comment

Choose a reason for hiding this comment

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

Awesome, that is exactly how I thought it should be done! One minor comment with regard to naming the build plugins, and I will need to do a little more testing to see if the types work correctly in all cases (but I trust they do).

build-plugins/copy-types.ts Show resolved Hide resolved
Copy link
Member

@lukastaegert lukastaegert left a comment

Choose a reason for hiding this comment

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

Looks great, thanks a lot!

@lukastaegert lukastaegert merged commit f049771 into rollup:master Feb 18, 2023
@rollup-bot
Copy link
Collaborator

This PR has been released as part of rollup@3.17.1. You can test it via npm install rollup.

@TrickyPi TrickyPi deleted the feat/export-loadConfigFile-type branch April 23, 2023 08:10
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.

Missing typings for rollup/loadConfigFile
3 participants