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

Package JSON fix #30

Merged
merged 6 commits into from
Mar 18, 2024
Merged

Package JSON fix #30

merged 6 commits into from
Mar 18, 2024

Conversation

mbish
Copy link
Contributor

@mbish mbish commented Feb 7, 2024

  • Change how version string is loaded from package.json

Description

The previous solution of loading the package.json file via import statement doesn't seem to
work in all cases. The new solution is to prepend the directory path to package.json prior to
reading the file.

Motivation and Context

Some have had issues with package.json not being found during installation of this package.

How Has This Been Tested?

I tested this locally and verified that the version number is reported correctly.

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)

@rfossella
Copy link

Good news. The latest fix from package-json-fix2 seems to have worked for me. Can we complete a new npm version?

@AaronAtDuo
Copy link
Contributor

@mbish Looks like this needs a conflict resolved; we also need to kick the PR so CI will run again.

@rfossella
Copy link

Hi. Do you need me to test anything else for you? Be happy to help!

@mbish mbish merged commit d08d04d into main Mar 18, 2024
2 checks passed
@mbish mbish deleted the package-json-fix2 branch March 18, 2024 14:55
@AaronAtDuo
Copy link
Contributor

@rfossella Apologies for all the delays on this. We've landed the PR and I'll get a release out shortly - probably within the next day or so.

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