Skip to content

Revert get version package json#986

Merged
vieiralucas merged 2 commits into
chaijs:masterfrom
lucasfcosta:revert-get-version-package-json
Jun 5, 2017
Merged

Revert get version package json#986
vieiralucas merged 2 commits into
chaijs:masterfrom
lucasfcosta:revert-get-version-package-json

Conversation

@lucasfcosta
Copy link
Copy Markdown
Member

This fixes #981 by not requiring a .json file inside our code in order for webpack not to need json-loader. This change was introduced #819.

This commit also reverts changes made at #967, because now we still need to bump the version in the lib/chai.js file.

Finally, since this seems a very important thing to release ASAP given the number of people using webpack1, I've added a commit that does this release.

Copy link
Copy Markdown
Contributor

@meeber meeber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vieiralucas
Copy link
Copy Markdown
Member

vieiralucas commented Jun 3, 2017

Have we thought of doing something like JSON.parse(fs.readFileSync('../package.json')).version?

Anyways, since the build tools will bump this automatically, this LGTM.

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.

webpack throwing a warning in 4.0.0

3 participants