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

chore: generate string constants from config #5451

Merged
merged 1 commit into from Apr 4, 2024

Conversation

TrickyPi
Copy link
Member

@TrickyPi TrickyPi commented Apr 4, 2024

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:

Description

Previously, to retrieve a string constant from the Rust parser, we had to modify two files. Now, only one place needs to be modified, and changing the order of string constants is also convenient.

Copy link

vercel bot commented Apr 4, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
rollup ✅ Ready (Inspect) Visit Preview Apr 4, 2024 3:00am

Copy link

github-actions bot commented Apr 4, 2024

Thank you for your contribution! ❤️

You can try out this pull request locally by installing Rollup via

npm install rollup/rollup#feat/xiaopi-20240404

Notice: Ensure you have installed Rust nightly. If you haven't installed it yet, please first see https://www.rust-lang.org/tools/install to learn how to download Rustup and install Rust, then see https://rust-lang.github.io/rustup/concepts/channels.html to learn how to install Rust nightly.

or load it into the REPL:
https://rollup-pv55ox5g1-rollup-js.vercel.app/repl/?pr=5451

Copy link

codecov bot commented Apr 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.79%. Comparing base (5abe71b) to head (772433f).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5451   +/-   ##
=======================================
  Coverage   98.79%   98.79%           
=======================================
  Files         237      238    +1     
  Lines        9445     9446    +1     
  Branches     2403     2403           
=======================================
+ Hits         9331     9332    +1     
  Misses         48       48           
  Partials       66       66           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? 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.

Nice, yes, this was really something we needed!

@lukastaegert lukastaegert added this pull request to the merge queue Apr 4, 2024
Merged via the queue into master with commit 459bfe1 Apr 4, 2024
30 checks passed
@lukastaegert lukastaegert deleted the feat/xiaopi-20240404 branch April 4, 2024 04:52
Copy link

github-actions bot commented Apr 7, 2024

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

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.

None yet

2 participants