Skip to content

Commit 5646caf

Browse files
refactor: make mono-repo
1 parent b0f0ef5 commit 5646caf

File tree

146 files changed

+23
-6566
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

146 files changed

+23
-6566
lines changed

.circleci/config.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ commands:
4444
command: sudo gem install cocoapods
4545
- run:
4646
name: Install Pods
47-
working_directory: apps/example/ios
47+
working_directory: packages/Instabug-Flutter/example/ios
4848
command: pod install --repo-update
4949
setup_captain:
5050
parameters:
@@ -230,7 +230,7 @@ jobs:
230230
- advanced-checkout/shallow-checkout
231231
- setup_flutter
232232
- android/run-tests:
233-
working-directory: apps/example/android
233+
working-directory: packages/Instabug-Flutter/example/android
234234
test-command: ./gradlew test
235235

236236
e2e_android_captain:
@@ -247,7 +247,7 @@ jobs:
247247
run-tests-working-directory: e2e
248248
additional-avd-args: --device 3
249249
system-image: system-images;android-33;default;x86_64
250-
post-emulator-launch-assemble-command: cd apps/example && flutter build apk --debug
250+
post-emulator-launch-assemble-command: cd packages/Instabug-Flutter/example && flutter build apk --debug
251251
test-command: dotnet test
252252

253253
test_ios:
@@ -261,7 +261,7 @@ jobs:
261261
- setup_ios
262262
- run:
263263
name: Build and run tests
264-
working_directory: ~/project/apps/example/ios
264+
working_directory: ~/project/packages/Instabug-Flutter/example/ios
265265
command: |
266266
xcodebuild -allowProvisioningUpdates \
267267
-workspace Runner.xcworkspace \
@@ -282,7 +282,7 @@ jobs:
282282
- setup_ios
283283
- run:
284284
name: Build Example App
285-
working_directory: apps/example
285+
working_directory: packages/Instabug-Flutter/example
286286
command: flutter build ios --simulator
287287
- run:
288288
name: Run E2E Tests

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Generated files
22
*.mocks.dart
33
*.g.dart
4-
android/**/generated/
5-
ios/**/Generated/
4+
packages/**/android/**/generated/
5+
packages/**ios/**/Generated/
66

77
# Miscellaneous
88
*.class
@@ -84,3 +84,4 @@ android/gradlew.bat
8484
!**/ios/**/default.pbxuser
8585
!**/ios/**/default.perspectivev3
8686
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
87+
/packages/Instabug-Flutter/lib/src/generated/

.metadata

Lines changed: 0 additions & 10 deletions
This file was deleted.

LICENSE

Lines changed: 0 additions & 21 deletions
This file was deleted.

analysis_options.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ include: package:lint/analysis_options_package.yaml
22

33
analyzer:
44
exclude:
5-
- "apps/example/**"
6-
- "**/*.g.dart"
5+
- "packages/**/*.g.dart"
6+
- "packages/**/example/**"
7+
78

89
linter:
910
rules:

e2e/Utils/CaptainTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ public class CaptainTest : IDisposable
77
{
88
private static readonly CaptainConfig _config = new()
99
{
10-
AndroidApp = Path.GetFullPath("../../../../apps/example/build/app/outputs/flutter-apk/app-debug.apk"),
10+
AndroidApp = Path.GetFullPath("../../../../packages/Instabug-Flutter/example/build/app/outputs/flutter-apk/app-debug.apk"),
1111
AndroidAppId = "com.instabug.flutter.example",
1212
AndroidVersion = "13",
13-
IosApp = Path.GetFullPath("../../../../apps/example/build/ios/iphonesimulator/Runner.app"),
13+
IosApp = Path.GetFullPath("../../../../packages/Instabug-Flutter/example/build/ios/iphonesimulator/Runner.app"),
1414
IosAppId = "com.instabug.InstabugSample",
1515
IosVersion = "17.2",
1616
IosDevice = "iPhone 15 Pro Max"

melos.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
name: instabug_flutter_mono
22

33
packages:
4-
- apps/*
54
- packages/*
6-
5+
- packages/*/**
76
scripts:
87
dart_bootstrap:
98
run: dart pub get

0 commit comments

Comments
 (0)