Skip to content
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

🚚 restructure folders with basic melos #453

Merged
merged 41 commits into from
Jun 7, 2024
Merged
Show file tree
Hide file tree
Changes from 40 commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
bf4c1bf
🚚 restructure folders with basic melos
Jun 7, 2024
bd09794
👷 update ci workflows to use melos for formatting and analyzing
Jun 7, 2024
c6dc9cb
👷 fix melos not found
Jun 7, 2024
28ae836
remove flutter_ prefix on folders
Jun 7, 2024
6b1d621
revert .gitignore
Jun 7, 2024
d516fad
move dev_dependencies below dependencies
Jun 7, 2024
60efb8f
add scripts to melos.yaml
Jun 7, 2024
2def4e5
maplibre_gl: update analysis options
Jun 7, 2024
7360f8f
symlinks to readme and changelog
Jun 7, 2024
573c2dd
LICENCE symlink
Jun 7, 2024
3915447
fix typos
Jun 7, 2024
98e9fd1
use bluefireteam/melos-action
Jun 7, 2024
ff9040e
use correct melos command in ci
Jun 7, 2024
58a11ff
fix LICENCE symlink
Jun 7, 2024
a6ceab4
Merge branch 'main' into maintenance/restructure-folders
Jun 7, 2024
64aad81
fix melos name
Jun 7, 2024
0c244e9
remove _workspace suffic
Jun 7, 2024
6b72dde
fix failing ci
Jun 7, 2024
719a928
rename to `maplibre_gl_workspace`, fix `maplibre_gl` path for example…
josxha Jun 7, 2024
a83ee2c
🚚 restructure folders with basic melos
Jun 7, 2024
6661949
👷 update ci workflows to use melos for formatting and analyzing
Jun 7, 2024
c3e05a2
👷 fix melos not found
Jun 7, 2024
c2170e1
remove flutter_ prefix on folders
Jun 7, 2024
646b4a2
revert .gitignore
Jun 7, 2024
0bc3c66
move dev_dependencies below dependencies
Jun 7, 2024
d7ab694
add scripts to melos.yaml
Jun 7, 2024
a7ce337
maplibre_gl: update analysis options
Jun 7, 2024
ff35bd1
symlinks to readme and changelog
Jun 7, 2024
9656813
LICENCE symlink
Jun 7, 2024
e151224
fix typos
Jun 7, 2024
6a307d8
use bluefireteam/melos-action
Jun 7, 2024
83f03d4
use correct melos command in ci
Jun 7, 2024
87143ab
fix LICENCE symlink
Jun 7, 2024
42f28b8
fix melos name
Jun 7, 2024
f8ac98b
remove _workspace suffic
Jun 7, 2024
3851d9d
fix failing ci
Jun 7, 2024
0c312e0
rename to `maplibre_gl_workspace`, fix `maplibre_gl` path for example…
josxha Jun 7, 2024
a6c4251
fix rebase problems, add changelog entry, gitignore build dir
josxha Jun 7, 2024
7fc2f0b
Merge branch 'maintenance/restructure-folders' of https://github.com/…
josxha Jun 7, 2024
94ec64e
use melos in flutter_beta CI
josxha Jun 7, 2024
bee80eb
remove redundant `flutter pub get`
josxha Jun 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/flutter_beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
with:
channel: ${{ env.FLUTTER_CHANNEL }}
cache: true
- uses: bluefireteam/melos-action@v3
- run: flutter pub get
kuhnroyal marked this conversation as resolved.
Show resolved Hide resolved
- name: Build example APK
run: flutter build apk
Expand All @@ -46,6 +47,7 @@ jobs:
with:
channel: ${{ env.FLUTTER_CHANNEL }}
cache: true
- uses: bluefireteam/melos-action@v3
- uses: maxim-lobanov/setup-cocoapods@v1
with:
podfile-path: example/ios/Podfile.lock
Expand All @@ -70,6 +72,7 @@ jobs:
with:
channel: ${{ env.FLUTTER_CHANNEL }}
cache: true
- uses: bluefireteam/melos-action@v3
- run: flutter pub get
- name: Build web
run: flutter build web
14 changes: 7 additions & 7 deletions .github/workflows/flutter_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ jobs:
- uses: subosito/flutter-action@v2
with:
cache: true
- uses: bluefireteam/melos-action@v3
- name: Lint analysis
run: dart format --set-exit-if-changed .
run: melos format --set-exit-if-changed .

lint:
name: "Static code analysis"
Expand All @@ -27,13 +28,9 @@ jobs:
- uses: subosito/flutter-action@v2
with:
cache: true
- run: flutter pub get
- run: |
cd scripts
flutter pub get
cd ..
- uses: bluefireteam/melos-action@v3
- name: Lint analysis
run: flutter analyze
run: melos analyze

build-android:
name: "Build Android apk"
Expand All @@ -51,6 +48,7 @@ jobs:
with:
flutter-version: ${{ matrix.sdk }}
cache: true
- uses: bluefireteam/melos-action@v3
- uses: actions/setup-java@v4
with:
java-version: '17'
Expand Down Expand Up @@ -82,6 +80,7 @@ jobs:
with:
flutter-version: ${{ matrix.sdk }}
cache: true
- uses: bluefireteam/melos-action@v3
- uses: maxim-lobanov/setup-cocoapods@v1
with:
podfile-path: example/ios/Podfile.lock
Expand Down Expand Up @@ -111,6 +110,7 @@ jobs:
with:
flutter-version: ${{ matrix.sdk }}
cache: true
- uses: bluefireteam/melos-action@v3
- run: flutter pub get
- name: Build web
run: flutter build web
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ jobs:
needs: [publish_maplibre_gl_platform_interface, publish_maplibre_gl_web]
uses: ./.github/workflows/publish-single.yml
with:
working-directory: .
working-directory: maplibre_gl
12 changes: 7 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ migrate_working_dir/
.flutter-plugins-dependencies
.pub-cache/
.pub/
/build/
/example/build/
pubspec.lock

# Coverage
Expand All @@ -43,9 +43,11 @@ app.*.symbols
app.*.map.json

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

# Misc
GeneratedPluginRegistrant.swift
GeneratedPluginRegistrant.swift

pubspec_overrides.yaml
josxha marked this conversation as resolved.
Show resolved Hide resolved
Loading