Skip to content

Commit

Permalink
chore: update melos to 3.0 (#111)
Browse files Browse the repository at this point in the history
* chore: update melos to 3.0

* chore: remove unnecessary lines from root gitignore

---------

Co-authored-by: Tomasz Koter <[email protected]>
  • Loading branch information
kotertom and kotertom authored Jun 19, 2023
1 parent aee0f53 commit 1f3b323
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 5 deletions.
23 changes: 23 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Melos-generated pubspec overrides
pubspec_overrides.yaml

# See https://www.dartlang.org/guides/libraries/private-files

# Files and directories created by pub
.dart_tool/
.packages
build/
# If you're building an application, you may want to check-in your pubspec.lock
pubspec.lock

# IntelliJ
*.iml
.idea/
misc.xml
deploymentTargetDropDown.xml
render.experimental.xml

# Keystore files
*.jks
*.keystore

10 changes: 5 additions & 5 deletions melos.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: LeanCode Flutter Core Library
name: flutter_corelibrary

packages:
- packages/**
Expand All @@ -12,14 +12,14 @@ scripts:

test:
run: melos exec flutter test
select-package:
dir-exists:
packageFilters:
dirExists:
- test

generate:
run: melos exec -c 1 -- exec flutter pub run build_runner build --delete-conflicting-outputs
select-package:
depends-on: build_runner
packageFilters:
dependsOn: build_runner

clean:
run: melos exec flutter clean
7 changes: 7 additions & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: flutter_corelibrary
publish_to: none

environment:
sdk: ">=3.0.0 <4.0.0"
dev_dependencies:
melos: ^3.1.0

0 comments on commit 1f3b323

Please sign in to comment.