Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Automate using version from package.json

See original GitHub issue

As discussed in , we should take a step further and automate using version number from package.json instead of requireing which is non optimal.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

LoganDarkcommented, Sep 20, 2018

You could have a simple build process where you rename lib to src and simply have an NPM script that copies them over and replaces the version number with the correct one.

chreancommented, Dec 7, 2020

Not a prio right now, closing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

update package.json version automatically - git - Stack Overflow
Right answer. To do so, just npm version patch =) My old answer. There is no pre-release hook originally in git .
Read more >
How to automate versioning and publication of an npm package
Guide, tips and tricks to work with npm scripts and external packages to automate version management and package release process.
Read more >
Automated versioning and package publishing using GitHub ...
Automated versioning and package publishing using GitHub Actions and semantic-release · Check existing version tags · Remove version from package.
Read more >
How To Automatically Bump NPM Package Version - Medium
json file to automatically bump the version and then publish the package. Add the following to have your version¹ bump from 1.1.2 to...
Read more >
Option to write version to package.json #211 - GitHub
When I'm making CLI tools I use the version field from the package.json to return a version in the command line.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found