Skip to content

Commit bfa877e

Browse files
committed
Merge branch 'release/2.7.1'
2 parents 0976ebf + c3e3316 commit bfa877e

File tree

12 files changed

+836
-1313
lines changed

12 files changed

+836
-1313
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format
44

55
## [Unreleased]
66

7+
## [v2.7.1](https://github.com/studiometa/vue-mapbox-gl/compare/2.7.0...2.7.1) (2025-02-04)
8+
9+
### Changed
10+
11+
- **Docs:** update mapbox token ([3de06ed](https://github.com/studiometa/vue-mapbox-gl/commit/3de06ed))
12+
713
## [v2.7.0](https://github.com/studiometa/vue-mapbox-gl/compare/2.6.0...2.7.0) (2025-01-25)
814

915
### Added

package-lock.json

+813-1,300
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@studiometa/vue-mapbox-gl-workspace",
33
"private": true,
4-
"version": "2.7.0",
4+
"version": "2.7.1",
55
"type": "module",
66
"workspaces": [
77
"packages/*"
@@ -25,7 +25,7 @@
2525
"devDependencies": {
2626
"@studiometa/eslint-config": "4.2.0",
2727
"@studiometa/prettier-config": "4.1.0",
28-
"eslint": "9.18.0",
28+
"eslint": "9.19.0",
2929
"prettier": "3.4.2"
3030
},
3131
"dependencies": {

packages/demo/nuxt.config.ts

+6
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,10 @@
22
export default defineNuxtConfig({
33
devtools: { enabled: true },
44
compatibilityDate: '2025-01-02',
5+
runtimeConfig: {
6+
public: {
7+
accessToken:
8+
'pk.eyJ1IjoiYWdlbmNlc3R1ZGlvbWV0YSIsImEiOiJjbTZxZXZidzYxaXR3MmtzaG5qNzc3NGxqIn0.c_YVpXQptiZtOgzj_5jvaw',
9+
},
10+
},
511
});

packages/demo/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@studiometa/vue-mapbox-gl-demo",
3-
"version": "2.7.0",
3+
"version": "2.7.1",
44
"scripts": {
55
"dev": "nuxt dev",
66
"build": "nuxt build"

packages/demo/pages/index.vue

+1-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
import 'mapbox-gl/dist/mapbox-gl.css';
1818
import '@mapbox/mapbox-gl-geocoder/lib/mapbox-gl-geocoder.css';
1919

20-
const accessToken =
21-
'pk.eyJ1IjoiYWdlbmNlc3R1ZGlvbWV0YSIsImEiOiJjanh5ZW81aHEwOHV3M2lwZzhhNW1vdXl5In0.3hbV2QKVzZWf511JK9xCug';
20+
const { accessToken } = useRuntimeConfig();
2221
const lng = ref(0);
2322
const lat = ref(0);
2423
const zoom = ref(1);

packages/demo/pages/issue-77.vue

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
import { MapboxMap, MapboxGeolocateControl } from '@studiometa/vue-mapbox-gl';
44
import 'mapbox-gl/dist/mapbox-gl.css';
55
6-
const accessToken =
7-
'pk.eyJ1IjoiYWdlbmNlc3R1ZGlvbWV0YSIsImEiOiJjanh5ZW81aHEwOHV3M2lwZzhhNW1vdXl5In0.3hbV2QKVzZWf511JK9xCug';
6+
const { accessToken } = useRuntimeConfig();
87
98
const geolocate = ref();
109
const control = computed(() => geolocate.value?.control);

packages/docs/.vitepress/theme/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ export default {
55
...DefaultTheme,
66
enhanceApp({ app }) {
77
app.config.globalProperties.MAPBOX_API_KEY =
8-
'pk.eyJ1IjoiYWdlbmNlc3R1ZGlvbWV0YSIsImEiOiJjanh5ZW81aHEwOHV3M2lwZzhhNW1vdXl5In0.3hbV2QKVzZWf511JK9xCug';
8+
'pk.eyJ1IjoiYWdlbmNlc3R1ZGlvbWV0YSIsImEiOiJjbTZxZXZidzYxaXR3MmtzaG5qNzc3NGxqIn0.c_YVpXQptiZtOgzj_5jvaw';
99
},
1010
};

packages/docs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@studiometa/vue-mapbox-gl-docs",
33
"private": true,
44
"type": "module",
5-
"version": "2.7.0",
5+
"version": "2.7.1",
66
"scripts": {
77
"dev": "vitepress",
88
"build": "vitepress build"

packages/tests/components/MapboxMap.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ describe('The MapboxMap component', () => {
88
const { emitted, getByTestId } = render(MapboxMap, {
99
props: {
1010
accessToken:
11-
'pk.eyJ1IjoiYWdlbmNlc3R1ZGlvbWV0YSIsImEiOiJjanh5ZW81aHEwOHV3M2lwZzhhNW1vdXl5In0.3hbV2QKVzZWf511JK9xCug',
11+
'pk.eyJ1IjoiYWdlbmNlc3R1ZGlvbWV0YSIsImEiOiJjbTZxZXZidzYxaXR3MmtzaG5qNzc3NGxqIn0.c_YVpXQptiZtOgzj_5jvaw',
1212
mapStyle: 'mapbox://styles/mapbox/streets-v11',
1313
},
1414
attrs: {

packages/tests/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@studiometa/vue-mapbox-gl-tests",
3-
"version": "2.7.0",
3+
"version": "2.7.1",
44
"type": "module",
55
"scripts": {
66
"test": "vitest"

packages/vue-mapbox-gl/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@studiometa/vue-mapbox-gl",
3-
"version": "2.7.0",
3+
"version": "2.7.1",
44
"description": "A small components library to use Mapbox GL in Vue 3.",
55
"homepage": "https://github.com/studiometa/vue-mapbox-gl#readme",
66
"bugs": {
@@ -43,7 +43,7 @@
4343
"devDependencies": {
4444
"@mapbox/mapbox-gl-geocoder": "5.0.3",
4545
"@studiometa/js-toolkit": "3.0.0",
46-
"mapbox-gl": "3.9.3",
46+
"mapbox-gl": "3.9.4",
4747
"vue": "3.5.13"
4848
},
4949
"peerDependencies": {

0 commit comments

Comments
 (0)