diff --git a/melos.yaml b/melos.yaml index 10f5c88..341e45d 100644 --- a/melos.yaml +++ b/melos.yaml @@ -71,9 +71,17 @@ scripts: - "*core*" - "*i10n*" - "*config*" + - "*widgetbook" dependsOn: - "build_runner" + generate-widgetbook: + run: melos exec -- "dart run build_runner build -d" + description: "Run build runner to generate widget book" + packageFilters: + dependsOn: + - "widgetbook_generator" + build:clean:select: run: melos exec -- "dart run build_runner clean" description: "Run build runner clean in selected package that depends on build_runner." @@ -210,4 +218,5 @@ scripts: melos run generate-assets melos run build melos run generate-core + melos run generate-widgetbook description: Initialize PICO Sulteng Flutter.