Skip to content

Commit

Permalink
chore: update schema generator
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz committed Apr 13, 2024
1 parent ff17a6a commit aede4ea
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions packages/spec/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"prebuild": "rimraf dist && mkdir dist",
"build": "tsc && node ../../esbuild.js mosaic-spec && npm run schema",
"lint": "eslint src test --ext .js",
"schema": "ts-json-schema-generator -f tsconfig.json -p src/spec/Spec.ts -t Spec --no-type-check --no-ref-encode > dist/mosaic-schema.json",
"schema": "ts-json-schema-generator -f tsconfig.json -p src/spec/Spec.ts -t Spec --no-type-check --no-ref-encode --functions hide > dist/mosaic-schema.json",
"pretest": "tsc",
"test": "mocha 'test/**/*-test.js' && tsc -p jsconfig.json",
"prepublishOnly": "npm run test && npm run lint && npm run build"
Expand All @@ -34,6 +34,6 @@
"@uwdata/mosaic-core": "^0.7.1",
"@uwdata/mosaic-sql": "^0.7.0",
"@uwdata/vgplot": "^0.7.1",
"ts-json-schema-generator": "^1.5.1"
"ts-json-schema-generator": "^2.0.0"
}
}

0 comments on commit aede4ea

Please sign in to comment.