MelosWorkspaceConfig constructor
MelosWorkspaceConfig({
- required String path,
- required String name,
- required List<
Glob> packages, - String? sdkPath,
- HostedGitRepository? repository,
- Map<
String, List< categories = const {},Glob> > - List<
Glob> ignore = const [], - Scripts scripts = Scripts.empty,
- IDEConfigs ide = IDEConfigs.empty,
- CommandConfigs commands = CommandConfigs.empty,
- PubClientConfig pub = const PubClientConfig(),
- bool useRootAsPackage = false,
- bool discoverNestedWorkspaces = false,
Implementation
MelosWorkspaceConfig({
required this.path,
required this.name,
required this.packages,
this.sdkPath,
this.repository,
this.categories = const {},
this.ignore = const [],
this.scripts = Scripts.empty,
this.ide = IDEConfigs.empty,
this.commands = CommandConfigs.empty,
this.pub = const PubClientConfig(),
this.useRootAsPackage = false,
this.discoverNestedWorkspaces = false,
}) {
_validate();
}