Skip to content

Conversation

@marcelltoth
Copy link

As discussed here we'd like to publish our own version of this generator.

This PR sets up the package.json & the CircleCI configuration to do just that.

@marcelltoth marcelltoth self-assigned this Sep 23, 2020

exports.isNumber = function(value) {
return !exports.isArray(value) && !exports.isObject(value) && Number(value) === value && value % 1 !== 0;
return !exports.isArray(value) && !exports.isObject(value) && Number(value) === value;
Copy link
Author

@marcelltoth marcelltoth Sep 23, 2020

Choose a reason for hiding this comment

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

This was failing a test. It shouldn't make a difference as the only place outside of the test where this is being used is getType, and getType performs if(isInteger(x)) before it would call isNumber.

Copy link

@marbemac marbemac left a comment

Choose a reason for hiding this comment

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

LGTM - assuming circle works. Can you push a small change or something to trigger circle?

And then I'd also suggest that you run release in dry run mode to sanity check, I think it's something like yarn release --dry-run? Might have to double check semantic release docs.

@marcelltoth
Copy link
Author

Thanks for setting up CircleCI! Looks good locally, hopefully it will actually get published

@marcelltoth marcelltoth merged commit 8b3c5a3 into master Sep 24, 2020
@marcelltoth marcelltoth deleted the publish branch September 24, 2020 09:28
@stoplight-bot
Copy link
Collaborator

🎉 This PR is included in version 1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants