Skip to content

Commit

Permalink
chore: more changes for pub dev publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
smallTrogdor committed Nov 15, 2024
1 parent d961d4b commit 39302d2
Show file tree
Hide file tree
Showing 4 changed files with 638 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

# Avoid committing pubspec.lock for library packages; see
# https://dart.dev/guides/libraries/private-files#pubspeclock.
pubspec.lock
/pubspec.lock

# MacOS
**.DS_Store
Expand Down
37 changes: 37 additions & 0 deletions .pubignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Build outputs
build/*

# tools unnecessary for end user
tool/*

# Created by `dart pub`
.dart_tool/

# IDE related
.idea/
.vscode/
**/.vscode/

# MacOS
**.DS_Store

# sonar, renovate and ci
sonar-project.properties
renovate.json
scripts/*
ci/*

# dart / flutter / fvm
/pubspec.lock
.fvm/
.fvmrc

# images
example/gallery/*

# generated files
**/*.mocks.dart

# Testing
coverage/

17 changes: 14 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
name: sbb_maps_flutter
description: The SBB Maps SDK using MapLibre under the hood and ROKAS map styling.
description: Incorporate SBB styled maps into your flutter application based on Maplibre.
repository: https://github.com/SchweizerischeBundesbahnen/journey-maps-client-flutter
issue_tracker: https://github.com/SchweizerischeBundesbahnen/journey-maps-client-flutter/issues
topics: [map, maps, maplibre]

# version is set by Release Please GH Action
version: 2.3.1
publish_to: "none"

environment:
sdk: ">=3.3.0 <4.0.0"
Expand Down Expand Up @@ -38,14 +42,21 @@ dependencies:
flutter:
sdk: flutter

# https://pub.dev/packages/maplibre_gl
maplibre_gl: ^0.20.0

# https://pub.dev/packages/geolocator
geolocator: ">=12.0.0 <14.0.0"
# https://pub.dev/packages/logger
logger: ^2.0.2+1
# https://pub.dev/packages/collection
collection: ^1.17.1

dev_dependencies:
# https://pub.dev/packages/flutter_lints
flutter_lints: ^4.0.0
# https://pub.dev/packages/test
test: ^1.24.0
# https://pub.dev/packages/mockito
mockito: ^5.4.2
# https://pub.dev/packages/build_runner
build_runner: ^2.4.7
Loading

0 comments on commit 39302d2

Please sign in to comment.