Skip to content

Commit

Permalink
feat: YAML type validation
Browse files Browse the repository at this point in the history
  • Loading branch information
d-jeffery committed Oct 30, 2023
1 parent 34bb0ff commit 9696eec
Show file tree
Hide file tree
Showing 6 changed files with 412 additions and 58 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ See the [DEVELOPMENT](./docs/DEVELOPMENT.md) and [CONTRIBUTING](https://github.c

## Acknowledgments
- CEL Textmate Grammar was taken from [vscode-cel](https://github.com/hmarr/vscode-cel)
- Range conversion from `yaml` to `vscode` from [actions/languageservices](https://github.com/actions/languageservices/blob/4280a967a8aa058dd3c8825349b90bc932d82283/workflow-parser/src/workflows/yaml-object-reader.ts#L220)

## License

Expand Down
118 changes: 111 additions & 7 deletions server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,13 @@
},
"dependencies": {
"@openfga/syntax-transformer": "^0.2.0-beta.4",
"ajv": "^8.12.0",
"vscode-languageserver": "^8.1.0",
"vscode-languageserver-textdocument": "^1.0.11",
"yaml": "^2.3.2"
"yaml": "^2.3.3"
},
"scripts": {}
"scripts": {},
"devDependencies": {
"@types/js-yaml": "^4.0.8"
}
}
Loading

0 comments on commit 9696eec

Please sign in to comment.