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

build: パッケージ依存管理部分を melos -> pub workspaces へ移行 #371

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# https://dart.dev/guides/libraries/private-files
# Created by `dart pub`
# Flutter/Dart/Pub related
/.dart_tool/*
/.flutter-plugins
/.flutter-plugins-dependencies

Comment on lines +3 to +4
Copy link
Member Author

@tatsutakein tatsutakein Jan 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

memo-badge

melos bs 実行時に、実態として flutter pub get が実行されてファイルが生成されるため gitignore に追加します。

❯ melos bs
melos bootstrap
  └> /Users/xxxxx/flutter-mobile-project-template

Updating common dependencies in workspace packages...
  > SUCCESS

Running "/Users/xxxxx/flutter-mobile-project-template/.fvm/flutter_sdk/bin/flutter pub get" in workspace...
[template_workspace]: Resolving dependencies...
[template_workspace]: Downloading packages...
[template_workspace]:   _fe_analyzer_shared 76.0.0 (78.0.0 available)
[template_workspace]:   analyzer 6.11.0 (7.1.0 available)
[template_workspace]:   analyzer_plugin 0.11.3 (0.12.0 available)
[template_workspace]:   archive 3.6.1 (4.0.2 available)
[template_workspace]:   async 2.11.0 (2.12.0 available)
[template_workspace]:   boolean_selector 2.1.1 (2.1.2 available)
[template_workspace]:   characters 1.3.0 (1.4.0 available)
[template_workspace]:   clock 1.1.1 (1.1.2 available)
[template_workspace]:   collection 1.19.0 (1.19.1 available)
[template_workspace]:   custom_lint 0.7.0 (0.7.1 available)
[template_workspace]:   custom_lint_builder 0.7.0 (0.7.1 available)
[template_workspace]:   custom_lint_core 0.7.0 (0.7.1 available)
[template_workspace]:   custom_lint_visitor 1.0.0+6.11.0 (1.0.0+7.1.0 available)
[template_workspace]:   dart_style 2.3.7 (3.0.1 available)
[template_workspace]:   fake_async 1.3.1 (1.3.2 available)
[template_workspace]: ! file 7.0.1 (overridden)
[template_workspace]:   freezed 2.5.7 (2.5.8 available)
[template_workspace]:   image 4.3.0 (4.5.2 available)
[template_workspace]:   intl 0.19.0 (0.20.1 available)
[template_workspace]:   json_serializable 6.9.0 (6.9.2 available)
[template_workspace]:   leak_tracker 10.0.7 (10.0.8 available)
[template_workspace]:   leak_tracker_flutter_testing 3.0.8 (3.0.9 available)
[template_workspace]:   matcher 0.12.16+1 (0.12.17 available)
[template_workspace]:   material_color_utilities 0.11.1 (0.12.0 available)
[template_workspace]:   meta 1.15.0 (1.16.0 available)
[template_workspace]: ! path 1.9.1 (overridden)
[template_workspace]:   petitparser 6.0.2 (6.1.0 available)
[template_workspace]:   riverpod_analyzer_utils 0.5.8 (0.5.9 available)
[template_workspace]:   riverpod_generator 2.6.3 (2.6.4 available)
[template_workspace]:   riverpod_lint 2.6.3 (2.6.4 available)
[template_workspace]:   source_gen 1.5.0 (2.0.0 available)
[template_workspace]:   source_span 1.10.0 (1.10.1 available)
[template_workspace]:   stack_trace 1.12.0 (1.12.1 available)
[template_workspace]:   stream_channel 2.1.2 (2.1.4 available)
[template_workspace]:   string_scanner 1.3.0 (1.4.1 available)
[template_workspace]:   term_glyph 1.2.1 (1.2.2 available)
[template_workspace]:   test 1.25.8 (1.25.14 available)
[template_workspace]:   test_api 0.7.3 (0.7.4 available)
[template_workspace]:   test_core 0.6.5 (0.6.8 available)
[template_workspace]:   theme_extensions_builder 3.1.0 (4.0.1 available)
[template_workspace]:   theme_extensions_builder_annotation 3.1.0 (4.0.1 available)
[template_workspace]:   vm_service 14.3.0 (15.0.0 available)
[template_workspace]: Got dependencies!
[template_workspace]: 40 packages have newer versions incompatible with dependency constraints.
[template_workspace]: Try `flutter pub outdated` for more information.
  > SUCCESS

 -> 15 packages bootstrapped

# IntelliJ related
/*.iml
Expand All @@ -10,9 +11,6 @@
# Keep the run configurations.
!/.idea/runConfigurations/

# Melos related
/pubspec_overrides.yaml

# mason related
Comment on lines -13 to -15
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

memo-badge

pubspec_overrides.yaml ファイルは生成されなくなるため gitignore からも削除。

/.mason

Expand Down
3 changes: 0 additions & 3 deletions apps/app/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,3 @@ app.*.map.json
/android/app/debug
/android/app/profile
/android/app/release

# Melos related
/pubspec_overrides.yaml
Comment on lines -46 to -48
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

memo-badge

c0697a9 の際に対応漏れしていた部分を追加でコミットしています。

Loading
Loading