MelosWorkspaceConfig class
Constructors
-
MelosWorkspaceConfig({required String path, required String name, String? sdkPath, HostedGitRepository? repository, required List<Glob> packages, List<Glob> ignore = const [], Scripts scripts = Scripts.empty, IDEConfigs ide = IDEConfigs.empty, CommandConfigs commands = CommandConfigs.empty})
-
-
MelosWorkspaceConfig.empty()
-
-
MelosWorkspaceConfig.fallback({required String path, bool usePubspecOverrides = false})
-
-
MelosWorkspaceConfig.fromYaml(Map<Object?, Object?> yaml, {required String path})
-
factory
Properties
-
commands
→ CommandConfigs
-
Command-specific configurations.
final
-
hashCode
→ int
-
The hash code for this object.
no setteroverride
-
ide
→ IDEConfigs
-
IDE-specific configurations.
final
-
ignore
→ List<Glob>
-
A list of
Glob
s for paths that should be excluded from the search for
packages.
final
-
name
→ String
-
The name of the melos workspace – used by IDE documentation.
final
-
packages
→ List<Glob>
-
A list of
Glob
s for paths that should be searched for packages.
final
-
path
→ String
-
The absolute path to the workspace folder.
final
-
repository
→ HostedGitRepository?
-
The hosted git repository which contains the workspace.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
scripts
→ Scripts
-
A list of scripts that can be executed with
melos run
or will be
executed before/after some specific melos commands.
final
-
sdkPath
→ String?
-
Path to the Dart/Flutter SDK that should be used, unless overridden though
the command line option or the environment variable.
final