Loading scripts/count.shdeleted 100644 → 0 +0 −6 Original line number Diff line number Diff line #! /bin/bash set -e # Only works on Mac/Linux # Install jq with "brew install jq" cd ./src/content/projects/ && ls | xargs cat | jq '{(.meta.id):.sections|map_values(length)}' | jq -s 'add' No newline at end of file scripts/validate.shdeleted 100755 → 0 +0 −9 Original line number Diff line number Diff line #! /bin/bash set -e ./node_modules/.bin/ajv validate \ --all-errors \ --spec draft2020 \ -s ./schemas/Project \ -r "./schemas/{Contact,Graphic,Metadata,Research,Sections,Website}.json" \ -d "src/content/projects/*.json" || true No newline at end of file Loading
scripts/count.shdeleted 100644 → 0 +0 −6 Original line number Diff line number Diff line #! /bin/bash set -e # Only works on Mac/Linux # Install jq with "brew install jq" cd ./src/content/projects/ && ls | xargs cat | jq '{(.meta.id):.sections|map_values(length)}' | jq -s 'add' No newline at end of file
scripts/validate.shdeleted 100755 → 0 +0 −9 Original line number Diff line number Diff line #! /bin/bash set -e ./node_modules/.bin/ajv validate \ --all-errors \ --spec draft2020 \ -s ./schemas/Project \ -r "./schemas/{Contact,Graphic,Metadata,Research,Sections,Website}.json" \ -d "src/content/projects/*.json" || true No newline at end of file