Skip to content

Fix file extensions in package.json #156

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

Merged
merged 1 commit into from
Jul 7, 2021
Merged

Fix file extensions in package.json #156

merged 1 commit into from
Jul 7, 2021

Conversation

matushorvath
Copy link
Contributor

PR description

After recent renaming of dist/* files, some file names were not updated
in package.json. This causes issues, specifically in node.js when you do
import { JSONPath } from 'jsonpath-plus', you'll get an error because
it tries to access a non-existent file based on package.json main field.

Checklist

  • - Added tests
  • - Ran npm test, ensuring linting passes
  • - Adjust README documentation if relevant

After recent renaming of dist/* files, some file names were not updated
in package.json. This causes issues, specifically in node.js when you do
`import { JSONPath } from 'jsonpath-plus'`, you'll get an error because
it tries to access a non-existent file based on package.json `main` field.
@brettz9 brettz9 merged commit 298d264 into JSONPath-Plus:master Jul 7, 2021
@matushorvath matushorvath deleted the fix-file-names branch July 7, 2021 02:48
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.

2 participants