Skip to content

Commit

Permalink
ci: add ts-json-schema-generator
Browse files Browse the repository at this point in the history
Use ts-json-schema-generator to assist with the schema used in the extension.
  • Loading branch information
Jason3S committed Feb 22, 2020
1 parent 411ec96 commit 884d7c3
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
38 changes: 37 additions & 1 deletion packages/_server/npm-shrinkwrap.json

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

2 changes: 2 additions & 0 deletions packages/_server/package.json
Expand Up @@ -24,6 +24,7 @@
"jest-diff": "^25.1.0",
"lorem-ipsum": "^2.0.3",
"ts-jest": "^25.2.1",
"ts-json-schema-generator": "^0.61.0",
"typescript": "^3.8.2"
},
"dependencies": {
Expand All @@ -44,6 +45,7 @@
"clean": "rimraf ../client/server && rimraf ./tools/out",
"lint": "eslint \"src/**/*.ts\"",
"build": "npm run compile && npm run installServerIntoExtension",
"build-schema": "ts-json-schema-generator --no-top-ref --path src/cspellConfig.ts --type SpellCheckerSettings --validationKeywords markdownDescription --validationKeywords scope --validationKeywords deprecationMessage -o spell-checker-config.schema.json",
"installServerIntoExtension": "installServerIntoExtension ../client ./package.json ./tsconfig.json",
"clean-build": "npm run clean && npm run build",
"clean-build-production": "npm run clean && npm run compile",
Expand Down

0 comments on commit 884d7c3

Please sign in to comment.