Skip to content
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 yaml flow mapping and sequence #94

Merged
merged 3 commits into from
May 11, 2024

Conversation

xdavidwu
Copy link
Contributor

To test, copy package.json demo content to package.yaml editor

Before:

20240511-043150

It does not mark missing name and format errors in .contributors[0]

After:

20240511-043212

Since yaml is a superset of json, I've also make all json validation test cases to be run under yaml mode.

To support JSON-like documents.

This also makes it behave more like the JSON variants, as in the
modified test.
Copy link

changeset-bot bot commented May 10, 2024

🦋 Changeset detected

Latest commit: 588a2c1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
codemirror-json-schema Patch

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

Copy link

netlify bot commented May 10, 2024

Deploy Preview for codemirror-json-schema ready!

Name Link
🔨 Latest commit 588a2c1
🔍 Latest deploy log https://app.netlify.com/sites/codemirror-json-schema/deploys/663e87eec51ac30008c32746
😎 Deploy Preview https://deploy-preview-94--codemirror-json-schema.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@acao
Copy link
Collaborator

acao commented May 11, 2024

brilliant, thanks for this @xdavidwu !

@acao acao merged commit 0dc3749 into jsonnext:main May 11, 2024
2 checks passed
acao pushed a commit that referenced this pull request May 11, 2024
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## [email protected]

### Patch Changes

- [#94](#94)
[`0dc3749`](0dc3749)
Thanks [@xdavidwu](https://github.com/xdavidwu)! - Add support for YAML
flow sequences and flow mappings

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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.

2 participants