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
3 changes: 0 additions & 3 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@ jobs:
- name: Test run of Docker image with Mapbox source
run: |
docker run --rm -v ${{ github.workspace }}/outputs:/app/outputs ${{ steps.meta.outputs.tags }} --style mapbox --mapboxstyle ${{ secrets.MAPBOX_STYLE }} --apikey ${{ secrets.MAPBOX_API_KEY }} --bounds "-54.28772,3.11460,-54.03630,3.35025" -Z 10 -f mapbox-${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
- name: Test run of Docker image with Planet source
run: |
docker run --rm -v ${{ github.workspace }}/outputs:/app/outputs ${{ steps.meta.outputs.tags }} --style planet --monthyear 2023-12 --apikey ${{ secrets.PLANET_API_KEY }} --bounds "-54.28772,3.11460,-54.03630,3.35025" -Z 5 -f planet-${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
- name: Test run of Docker image with Protomaps source
run: |
docker run --rm -v ${{ github.workspace }}/outputs:/app/outputs ${{ steps.meta.outputs.tags }} --style protomaps --apikey ${{ secrets.PROTOMAPS_API_KEY }} --bounds "-54.28772,3.11460,-54.03630,3.35025" -Z 5 -f protomaps-${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
Expand Down
4 changes: 2 additions & 2 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ export default {
moduleNameMapper: {
"^(\\.{1,2}/.*)\\.js$": "$1",
"^styled-map-package/from-mbtiles$":
"<rootDir>/node_modules/styled-map-package/lib/from-mbtiles.js",
"<rootDir>/node_modules/styled-map-package/dist/from-mbtiles.js",
"^styled-map-package/writer$":
"<rootDir>/node_modules/styled-map-package/lib/writer.js",
"<rootDir>/node_modules/styled-map-package/dist/writer.js",
},
transformIgnorePatterns: [], // Remove the ignore pattern to transform all modules
};
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"pg": "^8.11.5",
"pmtiles": "3.0.3",
"sharp": "^0.33.2",
"styled-map-package": "git+https://github.com/digidem/styled-map-package.git"
"sqlite3": "^5.1.7",
"styled-map-package": "^3.0.0"
},
"devDependencies": {
"@babel/core": "^7.26.0",
Expand Down
Loading