Skip to content

Packages renaming #950

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 12 commits into
base: repo-structure-multi-plugins
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ jobs:
app-dir: mapbox_maps_flutter_mobile/example
- run:
name: swiftlint
working_directory: mapbox_maps_flutter_mobile/ios/mapbox_maps_flutter
working_directory: mapbox_maps_flutter_mobile/ios/mapbox_maps_flutter_mobile
command: HOMEBREW_NO_AUTO_UPDATE=1 brew install swiftlint; swiftlint lint --strict
- run:
name: unit test
Expand Down Expand Up @@ -228,15 +228,15 @@ jobs:
command: |
dart pub get -C mapbox_maps_flutter_mobile/example
dart pub get -C mapbox_maps_flutter_web/example
dart pub get -C mapbox_maps_flutter_v3/example
dart pub get -C mapbox_maps_flutter/example
- run:
name: Check license for mapbox_maps_flutter_mobile
command: bash scripts/license.sh mapbox_maps_flutter --mode=validate
command: bash scripts/license.sh mapbox_maps_flutter_mobile --mode=validate
- run:
name: Run dart analyze
command: dart analyze
- run:
name: Check all tests are in the test suite
name: Check all tests are in the mobile test suite
working_directory: mapbox_maps_flutter_mobile/example
command: dart ../../scripts/check_test_suite.dart
- check-api-breakage
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'dart:async';

import 'package:flutter/material.dart';
import 'package:mapbox_maps_flutter_v3/mapbox_maps_flutter_v3.dart';
import 'package:mapbox_maps_flutter/mapbox_maps_flutter.dart';

const ACCESS_TOKEN = String.fromEnvironment('ACCESS_TOKEN');

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:flutter_test/flutter_test.dart';
import 'package:integration_test/integration_test.dart';
import 'package:mapbox_maps_flutter_v3/mapbox_maps_flutter_v3.dart';
import 'package:mapbox_maps_flutter/mapbox_maps_flutter.dart';

import 'app.dart' as app;

Expand Down

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

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

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import 'package:flutter/material.dart';
import 'package:mapbox_maps_flutter_v3/mapbox_maps_flutter_v3.dart';
import 'package:mapbox_maps_flutter/mapbox_maps_flutter.dart';

import 'utils.dart';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:mapbox_maps_flutter_v3/mapbox_maps_flutter_v3.dart';
import 'package:mapbox_maps_flutter/mapbox_maps_flutter.dart';

extension City on Point {
static Point get helsinki =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,26 +184,26 @@ packages:
source: hosted
version: "5.1.1"
mapbox_maps_flutter:
dependency: "direct overridden"
dependency: "direct main"
description:
path: "../../mapbox_maps_flutter_mobile"
path: ".."
relative: true
source: path
version: "2.8.0"
version: "3.0.0-beta.1"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps we start with 3.0.0-alpha.1?

mapbox_maps_flutter_interface:
dependency: "direct overridden"
description:
path: "../../mapbox_maps_flutter_interface"
relative: true
source: path
version: "0.0.1"
mapbox_maps_flutter_v3:
dependency: "direct main"
mapbox_maps_flutter_mobile:
dependency: "direct overridden"
description:
path: ".."
path: "../../mapbox_maps_flutter_mobile"
relative: true
source: path
version: "0.0.1"
version: "3.0.0-alpha.1"
mapbox_maps_flutter_web:
dependency: "direct overridden"
description:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: mapbox_maps_flutter_v3_example
name: mapbox_maps_flutter_example
description: "Demonstrates how to use the mapbox_maps_flutter_v3 plugin."
# The following line prevents the package from being accidentally published to
# pub.dev using `flutter pub publish`. This is preferred for private packages.
Expand All @@ -17,7 +17,7 @@ dependencies:
flutter:
sdk: flutter

mapbox_maps_flutter_v3:
mapbox_maps_flutter:
# When depending on this package from a real application you should use:
# mapbox_maps_flutter_v3: ^x.y.z
# See https://dart.dev/tools/pub/dependencies#version-constraints
Expand All @@ -32,7 +32,7 @@ dependencies:
dependency_overrides:
mapbox_maps_flutter_interface:
path: ../../mapbox_maps_flutter_interface
mapbox_maps_flutter:
mapbox_maps_flutter_mobile:
path: ../../mapbox_maps_flutter_mobile
mapbox_maps_flutter_web:
path: ../../mapbox_maps_flutter_web
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: mapbox_maps_flutter_v3 # Update this name
name: mapbox_maps_flutter
description: "A new Flutter package project."
version: 0.0.1
version: 3.0.0-beta.1
homepage:

environment:
Expand All @@ -12,7 +12,7 @@ resolution: workspace
dependencies:
flutter:
sdk: flutter
mapbox_maps_flutter: any # Update this
mapbox_maps_flutter_mobile: any
mapbox_maps_flutter_interface: any
mapbox_maps_flutter_web: any

Expand All @@ -29,9 +29,9 @@ flutter:
plugin:
platforms:
android:
default_package: mapbox_maps_flutter
default_package: mapbox_maps_flutter_mobile
ios:
default_package: mapbox_maps_flutter
default_package: mapbox_maps_flutter_mobile
web:
default_package: mapbox_maps_flutter_web

Expand Down
2 changes: 1 addition & 1 deletion mapbox_maps_flutter_mobile/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## License

Mapbox Maps for Flutter version 2.9.0
Mapbox Maps for Flutter version 3.0.0-alpha.1
Mapbox Maps Flutter SDK

Copyright © 2022 - 2025 Mapbox, Inc. All rights reserved.
Expand Down
Loading