Skip to content

Commit ed91174

Browse files
committed
Remove yaml2json
1 parent 5c8ce0e commit ed91174

File tree

2 files changed

+1
-36
lines changed

2 files changed

+1
-36
lines changed

scripts/schema-publish.sh

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,7 @@ publish_schema() {
3232
local target=$deploydir/$base/$date
3333

3434
mkdir -p $deploydir/$base
35-
# replace the WORK-IN-PROGRESS placeholders
36-
sed -e $sedCmd $schemaDir/$schema > $target.yaml
37-
38-
node scripts/yaml2json/yaml2json.js "$target.yaml"
39-
rm "$target.yaml"
40-
mv "$target.json" "$target"
35+
sed ${sedCmd[@]} $schemaDir/$schema | npx yaml --json --indent 2 --single > $target
4136

4237
# Find the jekyll lander markdown file for this iteration.
4338
local jekyllLander=$(find "$deploydir/$base" -maxdepth 1 -name "*.md")

scripts/yaml2json/yaml2json.js

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)