Reland "Load parent package config" (#153754)

Reverts flutter/flutter#153752
Relands https://github.com/flutter/flutter/pull/150850

Now with attached g3fix
This commit is contained in:
Sigurd Meldgaard
2024-08-20 15:30:46 +02:00
committed by GitHub
parent 990b80aafd
commit a9daf58829
55 changed files with 615 additions and 393 deletions

View File

@@ -35,8 +35,6 @@ Future<String> createProject(Directory temp, { List<String>? arguments }) async
final CreateCommand command = CreateCommand();
final CommandRunner<void> runner = createTestCommandRunner(command);
await runner.run(<String>['create', ...arguments, projectPath]);
// Create `.packages` since it's not created when the flag `--no-pub` is passed.
globals.fs.file(globals.fs.path.join(projectPath, '.packages')).createSync();
return projectPath;
}