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
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
use flake
16 changes: 0 additions & 16 deletions .eslintrc.js

This file was deleted.

1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
47 changes: 14 additions & 33 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,44 +4,25 @@ on: [push, pull_request]

jobs:
build:

runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
node-version: [14.x, 16.x, 18.x, 20.x]
node-version: [20.x, 22.x]
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Install Test
uses: borales/actions-yarn@v4
with:
cmd: install

- name: Build Test
uses: borales/actions-yarn@v4
with:
cmd: build

- name: Lint Test
uses: borales/actions-yarn@v4
with:
cmd: lint

- name: dvbjs Test
uses: borales/actions-yarn@v4
with:
cmd: test:node

- name: coveralls Test
uses: borales/actions-yarn@v4
with:
cmd: coveralls
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm

- run: npm ci
- run: npm run lint
- run: npm run typecheck
- run: npm run build
- run: npm test
10 changes: 4 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
node_modules/
coverage/
.nyc_output/
.idea/
dist/
docs/

npm-debug.log
yarn-error.log
tsconfig.tsbuildinfo
*.tsbuildinfo

.DS_Store
.DS_Store
.direnv
.idea/
66 changes: 0 additions & 66 deletions .markdown-magic.config.js

This file was deleted.

4 changes: 0 additions & 4 deletions .prettierrc.yml

This file was deleted.

9 changes: 0 additions & 9 deletions .vscode/settings.json

This file was deleted.

27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,33 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 7.0.0 - 2026-03-09

### Breaking Changes

- Dropped Node.js 18 support; requires Node.js 20+
- Removed `coords()` function — use `findStop()` which already returns coordinates
- Renamed all public interfaces: dropped `I` prefix (e.g. `IMonitor` → `Monitor`, `IRoute` → `Route`)
- Tightened `coord` type from `number[]` to `[number, number]` tuple
- `pins()` now throws on API errors instead of silently returning an empty array

### Changed

- Replaced axios with native `fetch`
- Migrated all endpoints to VVO WebAPI
- Switched to async/await throughout
- Eliminated all `any` types; fully typed API responses
- ESM-first package with dual ESM/CJS output via tsdown
- Replaced ESLint + Prettier with Biome
- Replaced Mocha + Chai with Vitest
- Flattened monorepo to single package

### Removed

- `coords()` function
- axios dependency
- ESLint, Prettier, Mocha, Chai, Karma, nyc, and related dependencies

## 6.0.0 - 2019-10-07

### Added
Expand Down
Loading
Loading