MelosWorkspaceConfig constructor

MelosWorkspaceConfig({
  1. required String path,
  2. required String name,
  3. required List<Glob> packages,
  4. String? sdkPath,
  5. HostedGitRepository? repository,
  6. Map<String, List<Glob>> categories = const {},
  7. List<Glob> ignore = const [],
  8. Scripts scripts = Scripts.empty,
  9. IDEConfigs ide = IDEConfigs.empty,
  10. CommandConfigs commands = CommandConfigs.empty,
  11. PubClientConfig pub = const PubClientConfig(),
  12. bool useRootAsPackage = false,
  13. 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();
}