Skip to content

Commit

Permalink
Tools: include rsdl-js in monorepo (#404)
Browse files Browse the repository at this point in the history
* Add rsdl-js to monorepo

* Use same rsdl-js everywhere

* Fix broken unit test

* Bump dependencies

* Set up ANTLR4 plugin

* rsdl-js: fallback to ANTLR 4.8
  • Loading branch information
ralfhandl authored Aug 19, 2022
1 parent 5e19499 commit e093e6a
Showing 18 changed files with 1,983 additions and 6,278 deletions.
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{
"antlr4.generation": {
"mode": "external",
"language": "JavaScript",
"outputDir": "parser"
},
"cSpell.words": [
"abnf",
"CSDL",
4 changes: 4 additions & 0 deletions tools/.mocharc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"require": "ts-node/register",
"spec": ["*/test/*.test.[jt]s", "rsdl/rsdl-js/test/*.test.js"]
}
8 changes: 6 additions & 2 deletions tools/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{
"mochaExplorer.files": "*/test/**/*.[jt]s",
"mochaExplorer.require": "ts-node/register",
"antlr4.generation": {
"alternativeJar": "../grammar/antlr-4.8-complete.jar",
"mode": "external",
"language": "JavaScript",
"outputDir": "parser"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
2 changes: 1 addition & 1 deletion tools/api-designer/package.json
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@
"odata-openapi": "^0.18.1",
"odata-url-editor": "file:../urlEditor",
"rsdl-editor": "file:../rsdlEditor",
"rsdl-js": "0.2.0",
"rsdl-js": "^0.3.2",
"swagger-ui": "3.52.5",
"visual-model-editor": "file:../visualModelEditor"
},
2 changes: 1 addition & 1 deletion tools/api-explorer/package.json
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@
"odata-openapi": "^0.18.1",
"odata-url-editor": "file:../urlEditor",
"rsdl-editor": "file:../rsdlEditor",
"rsdl-js": "0.2.0",
"rsdl-js": "^0.3.2",
"swagger-ui": "3.52.5",
"visual-model-editor": "file:../visualModelEditor"
},
8 changes: 4 additions & 4 deletions tools/csdl-xml/package.json
Original file line number Diff line number Diff line change
@@ -23,13 +23,13 @@
"author": "",
"license": "Apache-2.0",
"dependencies": {
"xmlbuilder": "^15.1.1",
"minimist": "^1.2.5"
"minimist": "^1.2.5",
"xmlbuilder": "^15.1.1"
},
"devDependencies": {
"c8": "^7.7.2",
"chai": "^4.3.4",
"eslint": "^7.28.0",
"mocha": "^9.0.0"
"eslint": "^8.22.0",
"mocha": "^10.0.0"
}
}
Loading

0 comments on commit e093e6a

Please sign in to comment.