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

Refactored npmpackagejson to enable multiple files #47

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Refactored npmpackagejson to enable multiple files #47

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Jan 21, 2020

Hello, thank you for this really handy tool!

I use it in a monorepo PWA, which contains several package.json files in subfolders. To track them all, I refactored the npmpackagejson plugin. I also updated the PLUGINS.md to reflect the changes. The previous behavior is not altered.

Please find here the test file.
To make it work:

  • rename the file test.sh (Github does not allow the uploading of .sh files)
  • install git
  • install Node.js (with default package manager npm)
  • create an empty folder
  • populate this folder with:
    • test.sh
    • .git-semver/
      |-> plugins/
      |-> npmpackagejson.sh
  • run chmod 766 test.sh && ./test.sh

Please let me know if there is anything I can do to enhance this PR!

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

0 participants