Digitransit UI is a journey planner user interface built to work with OpenTripPlanner and the Digitransit platform.
yarn installyarn run dev, then open http://localhost:8080
See Installation for full requirements and options, and
scripts/dev.sh API options for running against a
DEV/PROD API subscription key.
The source code of the platform is dual-licensed under the EUPL v1.2 and AGPLv3 licenses.
Our main issue tracking is handled in https://dev.azure.com/digitransit/digitransit However, we also monitor this repository's issues and import them to Azure Boards. You can create issues in GitHub.
- HSL Reittiopas (Helsinki region) - https://reittiopas.hsl.fi
- National journey planner - https://matka.fintraffic.fi
- See digitransit.fi for more regional deployments
Digitransit-ui is tested to work on the latest and the second latest major versions of Firefox, Chromium and Safari.
- Continuous Integration: https://github.com/HSLdevcom/digitransit-ui/actions
Visual tests are run with jest and playwright.
More information about testing.
Root-level commands covering all digitransit-* workspace packages at once
(see Workspace Packages for detail):
yarn workspace-packages-build— build every packageyarn workspace-packages-test— run every package's testsyarn workspace-packages-watch— build, then rebuild on changeyarn workspace-packages-clean— remove build output +node_modulesyarn workspace-packages-docs— regenerate every package's READMEyarn workspace-packages-publish— publish changed packages to npm (interactive)yarn workspace-packages-publish-ci— same, non-interactive (used by CI)yarn workspace-packages-version-bump— bump versions locally (fetches tags first, doesn't push), should be run at the end of a PR that changes workspace packages right before it is mergedyarn workspace-packages-version-check— verify versions/dependency ranges are consistentyarn workspace-packages-translations-check— verifydigitransit-componentpackages' own translations are sorted and every locale has the same keysyarn workspace-packages-translations-fix— same, but sorts keys in place (key mismatches need a manual fix)