-
Notifications
You must be signed in to change notification settings - Fork 31
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
Add support for multiple schemas, YAML support #51
Conversation
🦋 Changeset detectedLatest commit: 3812019 The changes in this PR will be included in the next version bump. This PR includes changesets to release 5 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
// - this is a token with a $value (don’t merge tokens! overwrite!), or | ||
// - this is a primitive value (it’s the user’s responsibility to merge these correctly) | ||
if (!(k in a) || Array.isArray(v) || typeof v !== 'object' || (typeof v === 'object' && '$value' in v)) { | ||
a[k] = v; |
Check warning
Code scanning / CodeQL
Prototype-polluting function
const cmd = '../../../bin/cli.js'; | ||
|
||
describe('co build', () => { | ||
test('default', async () => { |
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.
new build test that gives some assurance this PR didn’t totally break everything
const cwd = new URL('./fixtures/check-default/', import.meta.url); | ||
expect(() => execSync(`${cmd} check`, {cwd})).to.not.throw(); | ||
const result = await execa('node', [cmd, 'check'], {cwd}); |
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.
Upgrade CLI tests to execa for better ease of use
Deploying with Cloudflare Pages
|
466d7eb
to
0521821
Compare
Changes