MelosWorkspaceConfig.fallback constructor
MelosWorkspaceConfig.fallback(
{ - required String path,
- bool usePubspecOverrides = false,
})
Implementation
MelosWorkspaceConfig.fallback({
required String path,
bool usePubspecOverrides = false,
}) : this(
name: 'Melos',
packages: [
createGlob('packages/**', currentDirectoryPath: path),
],
path: currentPlatform.isWindows
? windows.normalize(path).replaceAll(r'\', r'\\')
: path,
commands: usePubspecOverrides
? const CommandConfigs(
bootstrap: BootstrapCommandConfigs(
usePubspecOverrides: true,
),
)
: CommandConfigs.empty,
);