Skip to content

Commit 9ee16d2

Browse files
committed
merged master
2 parents cb88bf0 + b1f245b commit 9ee16d2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+4858
-2380
lines changed

.github/workflows/push_dist_to_npm.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,29 +7,30 @@ on:
77
jobs:
88
publish:
99
if: github.repository_owner == 'graphhopper'
10-
runs-on: ubuntu-22.04
11-
environment: npm
10+
runs-on: ubuntu-latest
11+
permissions:
12+
id-token: write
13+
contents: read
1214
steps:
1315
- name: Checkout
14-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1517

1618
- name: Setup Node.js
17-
uses: actions/setup-node@v3
19+
uses: actions/setup-node@v4
1820
with:
19-
registry-url: https://registry.npmjs.org/
20-
node-version: v20.14.0
21+
node-version: v24.12.0
2122

2223
- name: Build
23-
2424
run: |
25-
npm version --git-tag-version=false 0.0.0-$(git rev-parse HEAD)
25+
npm --version
26+
# GHVERSION=0.0.0-$(git rev-parse HEAD)
27+
GHVERSION=0.0.0-$(git rev-parse --short=8 HEAD)
28+
npm version --git-tag-version=false $GHVERSION
2629
# limit distribution to the dist folder (just for this build), and set package name
2730
node -e "const packageJson=require('./package.json'); packageJson.files=['dist/']; packageJson.name='@graphhopper/graphhopper-maps-bundle'; require('fs').writeFileSync('package.json', JSON.stringify(packageJson, null, 4));"
2831
npm ci
2932
npm run build
3033
# no dependencies or scripts in package.json (they should not be installed when installing the package, because they are all included in the bundle already)
3134
node -e "const packageJson=require('./package.json'); packageJson.scripts={}; packageJson.dependencies={}; packageJson.devDependencies={}; require('fs').writeFileSync('package.json', JSON.stringify(packageJson, null, 4));"
3235
# we need to set the access to public, because organization scoped packages are private by default
33-
npm publish --access public
34-
env:
35-
NODE_AUTH_TOKEN: ${{ secrets.NPM_JS_ORG_ACCESS_TOKEN }}
36+
npm publish --access public --tag commit

.github/workflows/test_and_build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,15 @@ on: push
33

44
jobs:
55
test_and_build:
6-
runs-on: ubuntu-24.04
6+
runs-on: ubuntu-latest
77
steps:
88
- name: Checkout
99
uses: actions/checkout@v4
1010

1111
- name: Setup Node.js
1212
uses: actions/setup-node@v4
1313
with:
14-
registry-url: https://registry.npmjs.org/
15-
node-version: v20.14.0
14+
node-version: v24.12.0
1615

1716
- name: Test and Build
1817
run: |

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ A route planner user interface for the [GraphHopper routing engine](https://gith
66

77
We have developed an intuite and simple user interface to find routes:
88

9-
[![GraphHopper Maps route planner](https://www.graphhopper.com/wp-content/uploads/2023/03/gh-maps-202303.png)](https://graphhopper.com/maps/)
9+
[![GraphHopper Maps route planner](https://www.graphhopper.com/wp-content/uploads/2025/06/graphhopper-maps-2025.png)](https://graphhopper.com/maps/)
1010

1111
With autocomplete, alternative routes, information along the route and POI search and everything available in all major browsers including mobile browsers. Read more details about it [here](https://www.graphhopper.com/maps-route-planner/).
1212

@@ -18,7 +18,7 @@ There is [an experimental `navi` branch](https://github.com/graphhopper/graphhop
1818
## Start development:
1919

2020
* Clone this repository.
21-
* Make sure node and npm are installed. We recommend using the iron LTS (node v20.14.0 and npm 10.7.0).
21+
* Make sure node and npm are installed. We recommend using the iron LTS (node v24.12.0 and npm v11.6.2).
2222
* npm install
2323
* npm run serve
2424
* Open your browser at http://0.0.0.0:3000/.

config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ const config = {
1515
omniscale: 'missing_api_key',
1616
thunderforest: 'missing_api_key',
1717
kurviger: 'missing_api_key',
18+
tracestrack: 'missing_api_key',
1819
},
1920
// if true there will be an option to enable the GraphHopper routing graph and the urban density visualization in the layers menu
2021
routingGraphLayerAllowed: false,

0 commit comments

Comments
 (0)