Skip to content

Conversation

@Ayoub-Mabrouk
Copy link

This commit refactors the version bump script to enhance its readability and maintainability. The following changes have been made:

  • Consolidated environment variable extraction for cleaner code.
  • Simplified the bumpVersion function to use a more concise approach for logging or executing the command.
  • Streamlined the updateVersion function with improved logic and readability.

These improvements aim to make the script easier to understand and modify in the future.

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@eshimischi
Copy link

You don't need semicolons in JS/TS code anymore, why?

@icyJoseph
Copy link
Contributor

Won't the destructuring of ,process.env, be a problem for those that use DefinePlugin from webpack? Typically the process.env.FOO is inlined as is.

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.

3 participants