feat: add Casbin editor's checking in model editor (#3166)

* feat: add model syntax linting and update dependencies

* refactor: move model linter logic to separate module
This commit is contained in:
Coki
2024-09-03 21:32:45 +08:00
committed by GitHub
parent 89e92cbd47
commit a1b010a406
4 changed files with 171 additions and 8 deletions

View File

@ -5,6 +5,10 @@
"dependencies": {
"@ant-design/cssinjs": "^1.10.1",
"@ant-design/icons": "^4.7.0",
"@codemirror/language": "^6.10.2",
"@codemirror/lint": "^6.8.1",
"@codemirror/state": "^6.4.1",
"@codemirror/view": "^6.33.0",
"@craco/craco": "^6.4.5",
"@crowdin/cli": "^3.7.10",
"@ctrl/tinycolor": "^3.5.0",
@ -23,7 +27,8 @@
"antd": "5.2.3",
"antd-token-previewer": "^1.1.0-22",
"buffer": "^6.0.3",
"codemirror": "^5.61.1",
"casbin": "^5.30.0",
"codemirror": "5",
"copy-to-clipboard": "^3.3.1",
"core-js": "^3.25.0",
"craco-less": "^2.0.0",