Skip to content

Commit

Permalink
update exemple
Browse files Browse the repository at this point in the history
  • Loading branch information
Olivier-plessis committed Aug 23, 2024
1 parent 3277d39 commit f774da5
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 4 deletions.
2 changes: 1 addition & 1 deletion exemple/app/go_builder_app/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ publish_to: 'none'
version: 0.1.0

environment:
sdk: ^3.5.0
sdk: ">=3.3.1 <4.0.0"

dependencies:
dio: ^5.6.0
Expand Down
2 changes: 1 addition & 1 deletion exemple/app/simple_app/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ publish_to: 'none'
version: 0.1.0

environment:
sdk: ^3.5.0
sdk: ">=3.3.1 <4.0.0"

dependencies:
dio: ^5.6.0
Expand Down
12 changes: 10 additions & 2 deletions exemple/melos.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: starter_app //replace with your project name

name: exemple
packages:
- app/**
- packages/**
Expand All @@ -16,10 +15,19 @@ scripts:
run: melos exec -- dart fix --apply --code=unused_import
description: remove unused import in all file.

build_runner:
run: melos exec --depends-on="build_runner" -- "dart run build_runner build -d"
description: Build all generated files for Dart & Flutter packages in this project..

watch_runner:
run: melos exec --depends-on="build_runner" -- "dart run build_runner watch -d"
description: Build all generated files for Dart & Flutter packages in this project.

all:
run: |
melos clean
melos bs
melos build_runner
command:
bootstrap:
Expand Down
12 changes: 12 additions & 0 deletions exemple/melos_exemple.iml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$" isTestSource="false" />
</content>
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="Dart SDK" level="project" />
<orderEntry type="library" name="Dart Packages" level="project" />
</component>
</module>

0 comments on commit f774da5

Please sign in to comment.