Skip to content

Commit 500270d

Browse files
author
Erwan Jestin
committed
Merge remote-tracking branch 'upstream/main' into karto
# Conflicts: # maplibre_gl/pubspec.yaml # maplibre_gl_web/CHANGELOG.md # maplibre_gl_web/analysis_options.yaml # maplibre_gl_web/lib/maplibre_gl_web.dart # maplibre_gl_web/lib/src/convert.dart # maplibre_gl_web/lib/src/geo/geojson.dart # maplibre_gl_web/lib/src/geo/lng_lat.dart # maplibre_gl_web/lib/src/geo/lng_lat_bounds.dart # maplibre_gl_web/lib/src/interop/geo/geojson_interop.dart # maplibre_gl_web/lib/src/interop/geo/lng_lat_bounds_interop.dart # maplibre_gl_web/lib/src/interop/geo/lng_lat_interop.dart # maplibre_gl_web/lib/src/interop/geo/point_interop.dart # maplibre_gl_web/lib/src/interop/js.dart # maplibre_gl_web/lib/src/interop/style/evaluation_parameters_interop.dart # maplibre_gl_web/lib/src/interop/style/sources/geojson_source_interop.dart # maplibre_gl_web/lib/src/interop/style/sources/vector_source_interop.dart # maplibre_gl_web/lib/src/interop/style/style_image_interop.dart # maplibre_gl_web/lib/src/interop/style/style_interop.dart # maplibre_gl_web/lib/src/interop/ui/camera_interop.dart # maplibre_gl_web/lib/src/interop/ui/control/attribution_control_interop.dart # maplibre_gl_web/lib/src/interop/ui/control/geolocate_control_interop.dart # maplibre_gl_web/lib/src/interop/ui/control/logo_control_interop.dart # maplibre_gl_web/lib/src/interop/ui/control/navigation_control_interop.dart # maplibre_gl_web/lib/src/interop/ui/events_interop.dart # maplibre_gl_web/lib/src/interop/ui/handler/box_zoom_interop.dart # maplibre_gl_web/lib/src/interop/ui/handler/dblclick_zoom_interop.dart # maplibre_gl_web/lib/src/interop/ui/handler/drag_pan_interop.dart # maplibre_gl_web/lib/src/interop/ui/handler/drag_rotate_interop.dart # maplibre_gl_web/lib/src/interop/ui/handler/keyboard_interop.dart # maplibre_gl_web/lib/src/interop/ui/handler/scroll_zoom_interop.dart # maplibre_gl_web/lib/src/interop/ui/handler/touch_zoom_rotate_interop.dart # maplibre_gl_web/lib/src/interop/ui/map_interop.dart # maplibre_gl_web/lib/src/interop/ui/marker_interop.dart # maplibre_gl_web/lib/src/interop/ui/popup_interop.dart # maplibre_gl_web/lib/src/interop/util/evented_interop.dart # maplibre_gl_web/lib/src/maplibre_web_gl_platform.dart # maplibre_gl_web/lib/src/options_sink.dart # maplibre_gl_web/lib/src/ui/control/attribution_control.dart # maplibre_gl_web/lib/src/ui/map.dart # maplibre_gl_web/lib/src/util/evented.dart # maplibre_gl_web/pubspec.yaml
2 parents 3d2e7a7 + d570358 commit 500270d

File tree

74 files changed

+4055
-1087
lines changed

Some content is hidden

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

74 files changed

+4055
-1087
lines changed

.github/dependabot.yml

Lines changed: 123 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,128 @@
11
version: 2
22
enable-beta-ecosystems: true
3+
34
updates:
4-
- package-ecosystem: "github-actions"
5-
directory: "/"
5+
# GitHub Actions
6+
- package-ecosystem: github-actions
7+
directory: /
68
schedule:
7-
interval: "daily"
8-
- package-ecosystem: "pub"
9-
directory: "/"
9+
interval: daily
10+
11+
# Workspace root
12+
- package-ecosystem: pub
13+
directory: /
1014
schedule:
11-
interval: "daily"
15+
interval: daily
16+
open-pull-requests-limit: 10
17+
groups:
18+
root-runtime-deps:
19+
applies-to: version-updates
20+
patterns:
21+
- "*"
22+
23+
# Code generation scripts
24+
- package-ecosystem: pub
25+
directory: /scripts
26+
schedule:
27+
interval: daily
28+
groups:
29+
codegen-tools:
30+
applies-to: version-updates
31+
patterns:
32+
- dart_style
33+
- mustache_template
34+
- recase
35+
- "*"
36+
37+
# Core plugin
38+
- package-ecosystem: pub
39+
directory: /maplibre_gl
40+
schedule:
41+
interval: daily
42+
groups:
43+
maplibre-gl-core:
44+
applies-to: version-updates
45+
patterns:
46+
- "*"
47+
48+
# Web implementation
49+
- package-ecosystem: pub
50+
directory: /maplibre_gl_web
51+
schedule:
52+
interval: daily
53+
groups:
54+
maplibre-gl-web:
55+
applies-to: version-updates
56+
patterns:
57+
- "*"
58+
59+
# Platform interface
60+
- package-ecosystem: pub
61+
directory: /maplibre_gl_platform_interface
62+
schedule:
63+
interval: daily
64+
groups:
65+
platform-interface:
66+
applies-to: version-updates
67+
patterns:
68+
- "*"
69+
70+
# Example app dependencies
71+
- package-ecosystem: pub
72+
directory: /maplibre_gl_example
73+
schedule:
74+
interval: daily
75+
groups:
76+
example-deps:
77+
applies-to: version-updates
78+
patterns:
79+
- "*"
80+
81+
# Android Gradle (core plugin module)
82+
- package-ecosystem: gradle
83+
directory: /maplibre_gl/android
84+
schedule:
85+
interval: weekly
86+
groups:
87+
gradle-plugin:
88+
applies-to: version-updates
89+
patterns:
90+
- gradle
91+
- com.android.tools.build:gradle
92+
kotlin:
93+
applies-to: version-updates
94+
patterns:
95+
- org.jetbrains.kotlin:kotlin-*
96+
androidx-core:
97+
applies-to: version-updates
98+
patterns:
99+
- androidx.core:*
100+
- androidx.annotation:*
101+
google-maps-play-services:
102+
applies-to: version-updates
103+
patterns:
104+
- com.google.android.gms:play-services-*
105+
106+
# Android Gradle (example app)
107+
- package-ecosystem: gradle
108+
directory: /maplibre_gl_example/android
109+
schedule:
110+
interval: weekly
111+
groups:
112+
gradle-plugin:
113+
applies-to: version-updates
114+
patterns:
115+
- gradle
116+
- com.android.tools.build:gradle
117+
kotlin:
118+
applies-to: version-updates
119+
patterns:
120+
- org.jetbrains.kotlin:kotlin-*
121+
androidx:
122+
applies-to: version-updates
123+
patterns:
124+
- androidx.*:*
125+
google-play-services:
126+
applies-to: version-updates
127+
patterns:
128+
- com.google.android.gms:play-services-*

.github/workflows/dependency-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: 'Checkout Repository'
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v5
1919
- name: 'Dependency Review'
2020
uses: actions/dependency-review-action@v4

.github/workflows/flutter_beta.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
run:
1616
working-directory: maplibre_gl_example
1717
steps:
18-
- uses: actions/checkout@v4
19-
- uses: actions/setup-java@v4
18+
- uses: actions/checkout@v5
19+
- uses: actions/setup-java@v5
2020
with:
2121
java-version: '17'
2222
distribution: 'temurin'
@@ -41,7 +41,7 @@ jobs:
4141
run:
4242
working-directory: maplibre_gl_example
4343
steps:
44-
- uses: actions/checkout@v4
44+
- uses: actions/checkout@v5
4545
- uses: subosito/flutter-action@v2
4646
with:
4747
channel: ${{ env.FLUTTER_CHANNEL }}
@@ -65,7 +65,7 @@ jobs:
6565
run:
6666
working-directory: maplibre_gl_example
6767
steps:
68-
- uses: actions/checkout@v4
68+
- uses: actions/checkout@v5
6969
- uses: subosito/flutter-action@v2
7070
with:
7171
channel: ${{ env.FLUTTER_CHANNEL }}

.github/workflows/flutter_ci.yml

Lines changed: 31 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,64 +12,74 @@ jobs:
1212
name: "Check formatting"
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@v5
1616
- uses: subosito/flutter-action@v2
1717
with:
1818
channel: stable
1919
cache: true
2020
- uses: bluefireteam/melos-action@v3
21+
with:
22+
run-bootstrap: true
2123
- name: Lint analysis
22-
run: melos format --set-exit-if-changed .
24+
run: melos run format-all
2325

2426
lint:
2527
name: "Static code analysis"
2628
runs-on: ubuntu-latest
2729
steps:
28-
- uses: actions/checkout@v4
30+
- uses: actions/checkout@v5
2931
- uses: subosito/flutter-action@v2
3032
with:
3133
channel: stable
3234
cache: true
3335
- uses: bluefireteam/melos-action@v3
36+
with:
37+
run-bootstrap: true
3438
- name: Lint analysis
35-
run: melos analyze --fatal-warnings --fatal-infos --concurrency 10
39+
run: melos run analyze-all
3640

3741
test:
3842
name: "Run tests"
3943
runs-on: ubuntu-latest
4044
steps:
41-
- uses: actions/checkout@v4
45+
- uses: actions/checkout@v5
4246
- uses: subosito/flutter-action@v2
4347
with:
4448
channel: stable
4549
cache: true
4650
- uses: bluefireteam/melos-action@v3
47-
- run: melos test:io
51+
with:
52+
run-bootstrap: true
53+
- run: melos run test:io
4854

4955
test-web:
5056
name: "Run web tests"
5157
runs-on: ubuntu-latest
5258
steps:
53-
- uses: actions/checkout@v4
59+
- uses: actions/checkout@v5
5460
- uses: subosito/flutter-action@v2
5561
with:
5662
channel: stable
5763
cache: true
5864
- uses: bluefireteam/melos-action@v3
59-
- run: melos test:web
65+
with:
66+
run-bootstrap: true
67+
- run: melos run test:web
6068

6169
code-gen:
6270
name: "Generate code from templates"
6371
runs-on: ubuntu-latest
6472
steps:
65-
- uses: actions/checkout@v4
73+
- uses: actions/checkout@v5
6674
- uses: subosito/flutter-action@v2
6775
with:
6876
channel: stable
6977
cache: true
7078
- uses: bluefireteam/melos-action@v3
71-
- run: melos generate
72-
- run: melos format
79+
with:
80+
run-bootstrap: true
81+
- run: melos run generate
82+
- run: melos run format-all
7383
- name: Check Git changes
7484
uses: multani/git-changes-action@v1
7585

@@ -80,13 +90,15 @@ jobs:
8090
run:
8191
working-directory: maplibre_gl_example
8292
steps:
83-
- uses: actions/checkout@v4
93+
- uses: actions/checkout@v5
8494
- uses: subosito/flutter-action@v2
8595
with:
8696
channel: stable
8797
cache: true
8898
- uses: bluefireteam/melos-action@v3
89-
- uses: actions/setup-java@v4
99+
with:
100+
run-bootstrap: true
101+
- uses: actions/setup-java@v5
90102
with:
91103
java-version: '21'
92104
distribution: 'temurin'
@@ -106,12 +118,14 @@ jobs:
106118
run:
107119
working-directory: maplibre_gl_example
108120
steps:
109-
- uses: actions/checkout@v4
121+
- uses: actions/checkout@v5
110122
- uses: subosito/flutter-action@v2
111123
with:
112124
channel: stable
113125
cache: true
114126
- uses: bluefireteam/melos-action@v3
127+
with:
128+
run-bootstrap: true
115129
- uses: maxim-lobanov/setup-cocoapods@v1
116130
with:
117131
podfile-path: maplibre_gl_example/ios/Podfile.lock
@@ -130,11 +144,13 @@ jobs:
130144
run:
131145
working-directory: maplibre_gl_example
132146
steps:
133-
- uses: actions/checkout@v4
147+
- uses: actions/checkout@v5
134148
- uses: subosito/flutter-action@v2
135149
with:
136150
channel: stable
137151
cache: true
138152
- uses: bluefireteam/melos-action@v3
153+
with:
154+
run-bootstrap: true
139155
- name: Build web
140156
run: flutter build web

.github/workflows/publish-single.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020
if: github.repository_owner == 'maplibre'
2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@v5
2323
- uses: dart-lang/setup-dart@v1
2424
# --force skips the y/N confirmation
2525
# --skip-validation because of "Because maplibre_gl requires the Flutter SDK, version solving failed. Flutter users should use `flutter pub` instead of `dart pub`."

CHANGELOG.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)