-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f5f0d64
commit f07537e
Showing
5 changed files
with
17 additions
and
16 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
packages/dart_frog_cli/lib/src/plugin_runner/plugin_runner.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,19 @@ | ||
|
||
import 'package:build_runner_core/build_runner_core.dart'; | ||
import 'package:dart_frog_gen/dart_frog_gen.dart'; | ||
|
||
class _DevServerCallbacks extends DevServerCallbacks {} | ||
|
||
class PluginRunner { | ||
|
||
|
||
Future<void> discoverPlugins() async { | ||
final graph = await PackageGraph.forThisPackage(); | ||
graph.allPackages.forEach((key, value) { | ||
print('key: $key, value: $value'); | ||
}); | ||
} | ||
|
||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters