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

refactor: merge instabug packages into mono-repo #438

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft
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
  •  
  •  
  •  
357 changes: 328 additions & 29 deletions .circleci/config.yml

Large diffs are not rendered by default.

92 changes: 6 additions & 86 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,86 +1,6 @@
# Generated files
*.mocks.dart
*.g.dart
android/**/generated/
ios/**/Generated/

# Miscellaneous
*.class
*.log
*.pyc
*.swp
.DS_Store
.atom/
.buildlog/
.history
.svn/

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

# The .vscode folder contains launch configuration and tasks you configure in
# VS Code which you may wish to be included in version control, so this line
# is commented out by default.
#.vscode/

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

# Node related
node_modules

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

# 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.*

# 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
**/.dart_tool
**/.idea
**/*.iml
**/pubspec.lock
**/pubspec_overrides.yaml
**/.fvm
238 changes: 0 additions & 238 deletions example/pubspec.lock

This file was deleted.

40 changes: 40 additions & 0 deletions melos.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: instabug_flutter_mono

packages:
- packages/*

scripts:
analyze:
run: melos exec "dart analyze ."

format:
run: melos exec "dart format . --set-exit-if-changed"

pigeon:
run: melos exec "sh scripts/pigeon.sh"
packageFilters:
fileExists: 'scripts/pigeon.sh'

generate:
run: melos exec "dart run build_runner build -d"
description: Build all generated files for Dart & Flutter packages in this project.t
packageFilters:
dependsOn: build_runner

test:
run: melos exec "flutter test"
description: Tests all packages.
packageFilters:
dependsOn: flutter_test

dryPublish:
run: melos exec "flutter pub publish --dry-run"
description: Tests publishing (dry run).
packageFilters:
flutter: true

score:
run: melos exec "dart run pana --no-warning --exit-code-threshold 0"
packageFilters:
flutter: true
dependsOn: pana
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## Description of the change
> Description goes here
## Type of change
- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
## Related issues
> Issue links go here
## Checklists
### Development
- [ ] Lint rules pass locally
- [ ] The code changed/added as part of this pull request has been covered with tests
### Code review
- [ ] This pull request has a descriptive title and information useful to a reviewer
- [ ] Issue from task tracker has a link to this pull request
Loading