Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: npm install

- name: Run NOAA stations update
run: tools/update-noaa-stations
run: tools/update-noaa-stations.ts

- name: Check for changes
id: changes
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ You can also manually trigger the workflow from the Actions tab in GitHub.
To manually update NOAA stations:

```bash
$ tools/update-noaa-stations
$ tools/update-noaa-stations.ts
```

This will scan all existing NOAA station files, fetch any new stations from NOAA's API, and update harmonic constituents for all stations.
Expand Down
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,21 @@
"doc": "docs"
},
"scripts": {
"build": "vite build",
"build": "tsc -b && tsc -p tsconfig.node.json && vite build",
"prepare": "npm run build",
"test": "vitest"
},
"devDependencies": {
"@neaps/tide-predictor": "^0.2.1",
"@types/make-fetch-happen": "^10.0.4",
"@types/node": "^25.0.3",
"ajv": "^8.17.1",
"ajv-formats": "^3.0.1",
"country-code-lookup": "^0.1.3",
"geo-tz": "^8.1.4",
"make-fetch-happen": "^15.0.3",
"moment": "^2.30.1",
"sort-object-keys": "^2.0.1",
"vite": "^7.2.6",
"vite-plugin-dts": "^4.5.4",
"vitest": "^4.0.15"
Expand Down
8 changes: 1 addition & 7 deletions schemas/station.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,7 @@
"name",
"id",
"published_harmonics",
"url",
"source_url"
"url"
],
"additionalProperties": true,
"properties": {
Expand All @@ -161,11 +160,6 @@
"type": "string",
"format": "uri",
"description": "URL to this station's data or information in the source's website"
},
"source_url": {
"type": "string",
"format": "uri",
"description": "URL to the source API endpoint for this station's data"
}
}
},
Expand Down
Loading