Skip to content

Commit bdbd998

Browse files
author
danhnguyen
committed
✨ feat: rename Maplibre function to useMaplibre and update version to 4.2.1
1 parent 528fd3e commit bdbd998

3 files changed

Lines changed: 8 additions & 6 deletions

File tree

libs/composables/map/useMaplibre.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ interface UseMaplibreReturn
7070
* @param options - Configuration options for the composable
7171
* @returns Reactive map management interface
7272
*/
73-
export function Maplibre(options: UseMaplibreOptions = {}): UseMaplibreReturn {
73+
export function useMaplibre(
74+
options: UseMaplibreOptions = {},
75+
): UseMaplibreReturn {
7476
const { debug = false, autoCleanup = true } = options;
7577
const { logError } = useLogger(debug);
7678

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
"vue-eslint-parser": "^9.4.3",
114114
"vue-router": "^4.3.2",
115115
"vue-tsc": "^2.0.19",
116-
"vue3-maplibre-gl": "^3.2.2"
116+
"vue3-maplibre-gl": "^4.2.1"
117117
},
118118
"lint-staged": {
119119
"*.{ts,tsx,js,jsx,cjs,mjs,vue}": "eslint --fix",

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3203,10 +3203,10 @@ vue-tsc@^2.0.19:
32033203
"@volar/typescript" "2.4.15"
32043204
"@vue/language-core" "2.2.12"
32053205

3206-
vue3-maplibre-gl@^3.2.2:
3207-
version "3.2.2"
3208-
resolved "https://registry.yarnpkg.com/vue3-maplibre-gl/-/vue3-maplibre-gl-3.2.2.tgz#f5112bfb26930687fe1e3991f9215eb49565d361"
3209-
integrity sha512-kr1sCCt8+s866qQuYR/WYLM9njsgAFGL9U+K4LisEzjLHzg/+nbxxWWZtmLC9ej9pTdsLwnxCDeFKMrvyfwTSQ==
3206+
vue3-maplibre-gl@^4.2.1:
3207+
version "4.2.1"
3208+
resolved "https://registry.yarnpkg.com/vue3-maplibre-gl/-/vue3-maplibre-gl-4.2.1.tgz#96ba3e821d16353373708e95eceef8768e6671d2"
3209+
integrity sha512-IetbdgRdsC9q9WwwysDcNsFGBzt7x4rs5VxmurSaiazf3tJ2EIDcChNTRjw/0LbXoI0WKenAi+sXEYnjl0VK6A==
32103210

32113211
vue@^3.5.13, vue@^3.5.17:
32123212
version "3.5.17"

0 commit comments

Comments
 (0)