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

Replace static "require" to dynamic "read" #137

Merged
merged 1 commit into from
Sep 20, 2021

Commits on Aug 3, 2021

  1. Replace static "require" to dynamic "read"

    This allow to read dynamically changes package.json file.
    For example, in runtime when we run script that update package.json version and create release on github.
    * In case, when we use `require`, it will holds content of package.json and not change it while script not started again. So, we can't read actual version from it, because it changed in runtime
    * In case, when we use `read`, we always read fresh state of package.json with latest actual changes
    whalemare committed Aug 3, 2021
    Configuration menu
    Copy the full SHA
    bd36fd8 View commit details
    Browse the repository at this point in the history