Skip to content

Template for creating Flutter mono repos where the workspace is managed by Melos and the Flutter version is managed by FVM

Notifications You must be signed in to change notification settings

tmenyhart/flutter-melos-fvm-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project workspace

Workspace for the project apps and related packages.

General

  • Workspace is managed by Melos

  • Flutter version is managed by FVM.

  • Preferred code editor is Visual Studio Code

  • All applications should be created under the app directory.

  • All packages should be created under the package directory.

  • For available scripts, see the melos.yaml file.

Getting started

Install specified Flutter version

fvm use
fvm flutter doctor

Update used Flutter version

fvm use x.y.z
fvm flutter doctor

Get workspace dependencies

dart pub get

Creating apps and packages

Creating a Flutter app

cd app/
fvm flutter create --template=app example_app
cd ..
melos bootstrap

Creating a Flutter package

cd package/
fvm flutter create --template=package example_package
cd ..
melos bootstrap

About

Template for creating Flutter mono repos where the workspace is managed by Melos and the Flutter version is managed by FVM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published