Skip to content

Commit

Permalink
two finger scroll, prettier formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
bdon committed Sep 27, 2023
1 parent 9bc2bc7 commit 33bafb2
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
node-version: 18.x
cache: 'npm'
- run: npm install && npm run build
- run: npm install && npm run prettier-check && npm run build
- uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
Expand Down
1 change: 1 addition & 0 deletions components/MaplibreMap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ onMounted(() => {
map = new maplibregl.Map({
container: mapRef.value,
style: style(),
cooperativeGestures: true,
});
});
Expand Down
18 changes: 18 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,17 @@
"scripts": {
"dev": "vitepress dev",
"build": "vitepress build",
"preview": "vitepress preview"
"preview": "vitepress preview",
"prettier": "prettier --write components",
"prettier-check": "prettier --check components"
},
"dependencies": {
"maplibre-gl": "^3.3.1",
"pmtiles": "^2.10.0",
"protomaps-themes-base": "^2.0.0-alpha.0",
"vitepress": "^1.0.0-rc.15"
},
"devDependencies": {
"prettier": "^3.0.3"
}
}

0 comments on commit 33bafb2

Please sign in to comment.