-
Notifications
You must be signed in to change notification settings - Fork 2
feat: publish as @stoplight/json-schema-generator #2
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
Conversation
|
|
||
| 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; |
There was a problem hiding this comment.
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.
marbemac
left a comment
There was a problem hiding this 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.
|
Thanks for setting up CircleCI! Looks good locally, hopefully it will actually get published |
|
🎉 This PR is included in version 1.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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.