Skip to content

Commit

Permalink
feat(MobilityData Validator): upgrade md validator version
Browse files Browse the repository at this point in the history
  • Loading branch information
philip-cline committed Dec 20, 2023
1 parent 1010325 commit e3e6bc9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ tmp/
.tags
*.pid

# Ignore mobility data jar for building rules
*.jar

# Optional npm cache directory
.npm

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ const MobilityDataValidationResult = ({notice}) => {
<p><Markdown>{rule.description || ''}</Markdown></p>
<p>
<a
href={`https://gtfs-validator.mobilitydata.org/rules.html#${notice.code}`}
href={`https://gtfs-validator.mobilitydata.org/rules.html#${notice.code}-rule`}
target='_blank'
rel='noreferrer'
>
Expand Down
2 changes: 1 addition & 1 deletion lib/manager/components/validation/rules.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"cover-end-to-end": "cross-env COLLECT_COVERAGE=true npm run test-end-to-end",
"deploy": "mastarm deploy --minify --env production",
"flow": "mastarm flow",
"import-mobility-data": "wget https://github.com/MobilityData/gtfs-validator/releases/download/v4.1.0/gtfs-validator-4.1.0-cli.jar && java -jar gtfs-validator-4.1.0-cli.jar -n -o ./lib/manager/components/validation/ && rm ./lib/manager/components/validation/rules.json && mv ./lib/manager/components/validation/notice_schema.json ./lib/manager/components/validation/rules.json",
"import-mobility-data": "wget https://github.com/MobilityData/gtfs-validator/releases/download/v4.2.0/gtfs-validator-4.2.0-cli.jar && java -jar gtfs-validator-4.2.0-cli.jar -n -o ./lib/manager/components/validation/ && rm ./lib/manager/components/validation/rules.json && mv ./lib/manager/components/validation/notice_schema.json ./lib/manager/components/validation/rules.json",
"lint": "mastarm lint __tests__ lib scripts --quiet",
"lint-messages": "node scripts/lint-messages.js",
"postinstall": "patch-package && husky install",
Expand Down

0 comments on commit e3e6bc9

Please sign in to comment.