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
feat: add yaml dependency #274
Conversation
index.mjs
Outdated
@@ -32,6 +33,7 @@ export const globby = Object.assign(function globby(...args) { | |||
return globbyModule.globby(...args) | |||
}, globbyModule) | |||
export const glob = globby | |||
export const yaml = { parse: yamljs.parse, stringify: yamljs.stringify } |
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.
Let's export everything. And let's use YAML
same as JSON
.
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.
✅
index.mjs
Outdated
@@ -22,6 +22,7 @@ import {createInterface} from 'readline' | |||
import {default as nodeFetch} from 'node-fetch' | |||
import which from 'which' | |||
import chalk from 'chalk' | |||
import yamljs from 'yaml' |
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.
Don't forget to upgrade .d.ts as well.
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.
✅
@antonmedv can we merge this little guy? (we need a contributing document for specifying if the reviewer or the author resolves conversations!) |
Why
|
I didn’t check it. Let’s switch! |
@antongolub I thought about maintaining a API more similar to JS's JSON API (
|
I thought they was the same. I also like JSON .parse api. |
Fixes #272