Skip to content

Commit

Permalink
🚚 restructure folders with basic melos
Browse files Browse the repository at this point in the history
move base project in seperate folder
prefix all folders with 'flutter_'
update folders where needed in code
update folders in .githubworkflows
add code-workspace file for those who want it 😄
  • Loading branch information
XanderD99 committed Jun 7, 2024
1 parent 934903e commit bf4c1bf
Show file tree
Hide file tree
Showing 162 changed files with 476 additions and 65 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ jobs:
publish_maplibre_gl_platform_interface:
uses: ./.github/workflows/publish-single.yml
with:
working-directory: maplibre_gl_platform_interface
working-directory: flutter_maplibre_gl_platform_interface
publish_maplibre_gl_web:
needs: [publish_maplibre_gl_platform_interface]
uses: ./.github/workflows/publish-single.yml
with:
working-directory: maplibre_gl_web
working-directory: flutter_maplibre_gl_web
publish_maplibre_gl:
needs: [publish_maplibre_gl_platform_interface, publish_maplibre_gl_web]
uses: ./.github/workflows/publish-single.yml
with:
working-directory: .
working-directory: flutter_maplibre_gl
95 changes: 81 additions & 14 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
.buildlog/
.history
.svn/
migrate_working_dir/

# IntelliJ related
*.iml
Expand All @@ -22,30 +21,98 @@ migrate_working_dir/
.settings/
.vscode/

# Flutter repo-specific
/bin/cache/
/bin/mingit/
/dev/benchmarks/mega_gallery/
/dev/bots/.recipe_deps
/dev/bots/android_tools/
/dev/docs/doc/
/dev/docs/flutter.docs.zip
/dev/docs/lib/
/dev/docs/pubspec.yaml
/dev/integration_tests/**/xcuserdata
/dev/integration_tests/**/Pods
/packages/flutter/coverage/
version

# packages file containing multi-root paths
.packages.generated

# Flutter/Dart/Pub related
**/doc/api/
**/ios/Flutter/.last_build_id
.dart_tool/
.flutter-plugins
.flutter-plugins-dependencies
.packages
.pub-cache/
.pub/
/build/
pubspec.lock
**/pubspec.lock
build/
flutter_*.png
linked_*.ds
unlinked.ds
unlinked_spec.ds

# Android related
**/android/**/gradle-wrapper.jar
**/android/.gradle
**/android/captures/
**/android/gradlew
**/android/gradlew.bat
**/android/local.properties
**/android/**/GeneratedPluginRegistrant.java
**/android/key.properties
*.jks

# iOS/XCode related
**/ios/**/*.mode1v3
**/ios/**/*.mode2v3
**/ios/**/*.moved-aside
**/ios/**/*.pbxuser
**/ios/**/*.perspectivev3
**/ios/**/*sync/
**/ios/**/.sconsign.dblite
**/ios/**/.tags*
**/ios/**/.vagrant/
**/ios/**/DerivedData/
**/ios/**/Icon?
**/ios/**/Pods/
**/ios/**/.symlinks/
**/ios/**/profile
**/ios/**/xcuserdata
**/ios/.generated/
**/ios/Flutter/App.framework
**/ios/Flutter/Flutter.framework
**/ios/Flutter/Flutter.podspec
**/ios/Flutter/Generated.xcconfig
**/ios/Flutter/app.flx
**/ios/Flutter/app.zip
**/ios/Flutter/flutter_assets/
**/ios/Flutter/flutter_export_environment.sh
**/ios/ServiceDefinitions.json
**/ios/Runner/GeneratedPluginRegistrant.*

# macOS
**/macos/Flutter/GeneratedPluginRegistrant.swift
**/macos/Flutter/Flutter-Debug.xcconfig
**/macos/Flutter/Flutter-Release.xcconfig
**/macos/Flutter/Flutter-Profile.xcconfig

# Coverage
coverage/

# Symbolication related
# Symbols
app.*.symbols

# Obfuscation related
app.*.map.json

# Android Studio will place build artifacts here
/android/app/debug
/android/app/profile
/android/app/release
# Exceptions to above rules.
!**/ios/**/default.mode1v3
!**/ios/**/default.mode2v3
!**/ios/**/default.pbxuser
!**/ios/**/default.perspectivev3
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
!/dev/ci/**/Gemfile.lock
google-java-format-1.13.0-all-deps.jar

# Misc
GeneratedPluginRegistrant.swift
# melos
pubspec_overrides.yaml
Binary file removed android/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
3 changes: 2 additions & 1 deletion example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ dependencies:
device_info_plus: ^9.0.2

dev_dependencies:
very_good_analysis: ^5.0.0
flutter_test:
sdk: flutter
very_good_analysis: ^5.0.0


flutter:
uses-material-design: true
Expand Down
7 changes: 4 additions & 3 deletions example/pubspec_overrides.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# melos_managed_dependency_overrides: maplibre_gl,maplibre_gl_platform_interface,maplibre_gl_web
dependency_overrides:
maplibre_gl:
path: ..
path: ../flutter_maplibre_gl
maplibre_gl_platform_interface:
path: ../maplibre_gl_platform_interface
path: ../flutter_maplibre_gl_platform_interface
maplibre_gl_web:
path: ../maplibre_gl_web
path: ../flutter_maplibre_gl_web
20 changes: 20 additions & 0 deletions flutter_maplibre_gl.code-workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"folders": [
{
"name": "exampel",
"path": "./example"
},
{
"name": "flutter_maplibre_gl",
"path": "./flutter_maplibre_gl"
},
{
"name": "flutter_maplibre_gl_platform_interface",
"path": "./flutter_maplibre_gl_platform_interface"
},
{
"name": "flutter_maplibre_gl_web",
"path": "./flutter_maplibre_gl_web"
},
]
}
51 changes: 51 additions & 0 deletions flutter_maplibre_gl/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Miscellaneous
*.class
*.log
*.pyc
*.swp
.DS_Store
.atom/
.buildlog/
.history
.svn/
migrate_working_dir/

# IntelliJ related
*.iml
*.ipr
*.iws
.idea/

# Visual Studio Code related
.classpath
.project
.settings/
.vscode/

# Flutter/Dart/Pub related
**/doc/api/
**/ios/Flutter/.last_build_id
.dart_tool/
.flutter-plugins
.flutter-plugins-dependencies
.pub-cache/
.pub/
/build/
pubspec.lock

# Coverage
coverage/

# Symbolication related
app.*.symbols

# Obfuscation related
app.*.map.json

# Android Studio will place build artifacts here
/android/app/debug
/android/app/profile
/android/app/release

# Misc
GeneratedPluginRegistrant.swift
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit bf4c1bf

Please sign in to comment.