Skip to content

Commit 5cbb977

Browse files
authored
chore: pub workspace (#350)
cf #348
1 parent 01343a8 commit 5cbb977

File tree

5 files changed

+23
-13
lines changed

5 files changed

+23
-13
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ jobs:
177177
sudo apt-get install webp && \
178178
dart pub global activate pana
179179
- name: Check package score
180-
run: pana --exit-code-threshold 20 --no-dartdoc .
180+
run: pana --exit-code-threshold 150 --no-dartdoc .
181181
build-android:
182182
name: "[Android] Build APK"
183183
runs-on: ubuntu-latest

example/pubspec.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,13 @@ environment:
77
sdk: '>=3.9.0 <4.0.0'
88
flutter: '>=3.35.0'
99

10+
resolution: workspace
11+
1012
dependencies:
1113
flutter:
1214
sdk: flutter
1315
flutter_web_plugins:
1416
sdk: flutter
15-
geotypes: ^0.0.2
1617
go_router: ^16.0.0
1718
http: ^1.2.2
1819
maplibre:

maplibre_ios/example/pubspec.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,19 @@ publish_to: 'none'
44
version: 1.0.0+1
55

66
environment:
7-
flutter: ^3.29.0
8-
sdk: ^3.7.0
7+
sdk: '>=3.9.0 <4.0.0'
8+
flutter: '>=3.35.0'
9+
10+
resolution: workspace
911

1012
dependencies:
1113
flutter:
1214
sdk: flutter
13-
1415
maplibre_ios:
1516
path: ../
1617

1718
dev_dependencies:
18-
very_good_analysis: ^7.0.0
19+
very_good_analysis: ^9.0.0
1920

2021
flutter:
2122
uses-material-design: true

maplibre_ios/pubspec.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
name: maplibre_ios
22
description: "Helper package for maplibre that provides iOS FFI bindings"
3-
version: 0.0.1
4-
homepage: https://github.com/josxha/flutter-maplibre
3+
version: 0.3.0
4+
repository: https://github.com/josxha/flutter-maplibre
5+
issue_tracker: https://github.com/josxha/flutter-maplibre/issues
6+
homepage: https://flutter-maplibre.pages.dev
7+
documentation: https://flutter-maplibre.pages.dev/docs/index/
58

69
environment:
7-
flutter: ^3.29.0
8-
sdk: ^3.7.0
10+
sdk: '>=3.9.0 <4.0.0'
11+
flutter: '>=3.35.0'
12+
13+
resolution: workspace
914

1015
dependencies:
1116
ffi: ^2.1.3

pubspec.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ repository: https://github.com/josxha/flutter-maplibre
55
issue_tracker: https://github.com/josxha/flutter-maplibre/issues
66
homepage: https://flutter-maplibre.pages.dev
77
documentation: https://flutter-maplibre.pages.dev/docs/index/
8-
publish_to: 'none'
98

109
topics: [ map, maplibre, mvt ]
1110

@@ -22,6 +21,11 @@ environment:
2221
sdk: '>=3.9.0 <4.0.0'
2322
flutter: '>=3.35.0'
2423

24+
workspace:
25+
- example
26+
- maplibre_ios
27+
- maplibre_ios/example
28+
2529
dependencies:
2630
ffi: ^2.1.3
2731
flutter:
@@ -31,8 +35,7 @@ dependencies:
3135
geobase: ^1.5.0
3236
html: ^0.15.4
3337
jni: ^0.14.2
34-
maplibre_ios:
35-
path: maplibre_ios
38+
maplibre_ios: 0.3.0
3639
objective_c: ^8.0.0
3740
pointer_interceptor: ^0.10.1+2
3841
url_launcher: ^6.3.0

0 commit comments

Comments
 (0)