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

Add melos and cleanup gitignore and pubspec.lock #73

Merged
merged 1 commit into from
Oct 14, 2023

Conversation

TahaTesser
Copy link
Collaborator

@TahaTesser TahaTesser commented Oct 13, 2023

Cleanup gitignore and pubspec.lock

Whenever I execute flutter pub get in the main folder and the examples, it generrates a whole of bunch of pubspec.lock which should be ignored in the first place but I took the next step and added melos to this repository.

wolt_modal_sheet is a monorepo with a components package and non-standard examples.

├── .github
│   └── workflows
├── coffee_maker  <-  (pubspec.lock inside this should be ignored)
├── demo_ui_components  <-  (pubspec.lock inside this should be ignored)
├── doc
├── example <- (pubspec.lock inside this should be ignored)
├── lib
├── playground  <- (pubspec.lock inside this should be ignored)
├── playground_navigator2  <- (pubspec.lock inside this should be ignored)
├── test
├── .gitignore
├── CHANGELOG.md
├── LICENSE
├── README.md
├── analysis_options.yaml
├── pubspec.lock <- (should be ignored)
├── pubspec.yaml

melos

Added melos which will help to execute commands in the root and subfolders. This can be expanded in the future to do more than pub get. At the moment, melos bootstrap execute flutter pub get in the root and all the subfolders and get the project ready to work.

Before this PR (bunch of files in the git tree)

Screenshot 2023-10-13 213944

After this PR (clean git tree)

Screenshot 2023-10-13 213416

@ulusoyca
Copy link
Collaborator

Thank you Taha! Indeed this was a problem. Thanks for introducing Melos

@ulusoyca ulusoyca merged commit 5648755 into woltapp:main Oct 14, 2023
@TahaTesser TahaTesser deleted the melos branch October 14, 2023 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants