diff --git a/.github/workflows/widgetbook.yaml b/.github/workflows/widgetbook.yaml index 7717168..f74d82f 100644 --- a/.github/workflows/widgetbook.yaml +++ b/.github/workflows/widgetbook.yaml @@ -1,23 +1,23 @@ name: widgetbook concurrency: - group: $-$ + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true on: push: - branches: - - main + paths: + - "widgetbook/**" + - ".github/workflows/widgetbook.yaml" + pull_request: - branches: - - main + paths: + - "widgetbook/**" + - ".github/workflows/widgetbook.yaml" jobs: - semantic_pull_request: - uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/semantic_pull_request.yml@v1.16.0 - build: uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/flutter_package.yml@v1.16.0 with: min_coverage: 0 - working_dir: widgetbook + working_directory: widgetbook diff --git a/example/pubspec.lock b/example/pubspec.lock index f687de5..b41f29b 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -1,14 +1,6 @@ # Generated by pub # See https://dart.dev/tools/pub/glossary#lockfile packages: - accessibility_tools: - dependency: transitive - description: - name: accessibility_tools - sha256: "0a16adc8dfa3a7ebd38775135d86443011a65d4ecbb438913e4992b5d29135fe" - url: "https://pub.dev" - source: hosted - version: "1.0.0" async: dependency: transitive description: @@ -25,14 +17,6 @@ packages: url: "https://pub.dev" source: hosted version: "8.1.2" - boolean_selector: - dependency: transitive - description: - name: boolean_selector - sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66" - url: "https://pub.dev" - source: hosted - version: "2.1.1" characters: dependency: transitive description: @@ -41,14 +25,6 @@ packages: url: "https://pub.dev" source: hosted version: "1.3.0" - clock: - dependency: transitive - description: - name: clock - sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf - url: "https://pub.dev" - source: hosted - version: "1.1.1" collection: dependency: transitive description: @@ -65,14 +41,6 @@ packages: url: "https://pub.dev" source: hosted version: "3.0.3" - device_frame: - dependency: transitive - description: - name: device_frame - sha256: afe76182aec178d171953d9b4a50a43c57c7cf3c77d8b09a48bf30c8fa04dd9d - url: "https://pub.dev" - source: hosted - version: "1.1.0" equatable: dependency: "direct main" description: @@ -81,14 +49,6 @@ packages: url: "https://pub.dev" source: hosted version: "2.0.5" - fake_async: - dependency: transitive - description: - name: fake_async - sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78" - url: "https://pub.dev" - source: hosted - version: "1.3.1" ffi: dependency: transitive description: @@ -118,19 +78,6 @@ packages: url: "https://pub.dev" source: hosted version: "0.0.1" - flutter_test: - dependency: transitive - description: flutter - source: sdk - version: "0.0.0" - freezed_annotation: - dependency: transitive - description: - name: freezed_annotation - sha256: c3fd9336eb55a38cc1bbd79ab17573113a8deccd0ecbbf926cca3c62803b5c2d - url: "https://pub.dev" - source: hosted - version: "2.4.1" google_fonts: dependency: transitive description: @@ -155,30 +102,6 @@ packages: url: "https://pub.dev" source: hosted version: "4.0.2" - inspector: - dependency: transitive - description: - name: inspector - sha256: "40ba0ac1c819c85139bfec9d1e283804581a8985c91f19d00e93212cf29226b1" - url: "https://pub.dev" - source: hosted - version: "2.1.0" - json_annotation: - dependency: transitive - description: - name: json_annotation - sha256: b10a7b2ff83d83c777edba3c6a0f97045ddadd56c944e1a23a3fdf43a1bf4467 - url: "https://pub.dev" - source: hosted - version: "4.8.1" - matcher: - dependency: transitive - description: - name: matcher - sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e" - url: "https://pub.dev" - source: hosted - version: "0.12.16" material_color_utilities: dependency: transitive description: @@ -306,14 +229,6 @@ packages: url: "https://pub.dev" source: hosted version: "6.0.5" - resizable_widget: - dependency: transitive - description: - name: resizable_widget - sha256: db2919754b93f386b9b3fb15e9f48f6c9d6d41f00a24397629133c99df86606a - url: "https://pub.dev" - source: hosted - version: "1.0.5" sky_engine: dependency: transitive description: flutter @@ -327,22 +242,6 @@ packages: url: "https://pub.dev" source: hosted version: "1.10.0" - stack_trace: - dependency: transitive - description: - name: stack_trace - sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" - url: "https://pub.dev" - source: hosted - version: "1.11.1" - stream_channel: - dependency: transitive - description: - name: stream_channel - sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 - url: "https://pub.dev" - source: hosted - version: "2.1.2" string_scanner: dependency: transitive description: @@ -359,14 +258,6 @@ packages: url: "https://pub.dev" source: hosted version: "1.2.1" - test_api: - dependency: transitive - description: - name: test_api - sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b" - url: "https://pub.dev" - source: hosted - version: "0.6.1" typed_data: dependency: transitive description: @@ -399,22 +290,6 @@ packages: url: "https://pub.dev" source: hosted version: "0.3.0" - widgetbook: - dependency: transitive - description: - name: widgetbook - sha256: bdbfdc517923218394f11ad4e004a7e3d45672047e9d87f52833ac294366232d - url: "https://pub.dev" - source: hosted - version: "3.7.0" - widgetbook_annotation: - dependency: transitive - description: - name: widgetbook_annotation - sha256: c2d881d0241525b36aa3777d0ac406d198528ed28b84ca73b7dd9f59189d6bb0 - url: "https://pub.dev" - source: hosted - version: "3.1.0" win32: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index ac7fc86..b9529b4 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -14,19 +14,15 @@ dependencies: google_fonts: ">=4.0.3 <7.0.0" mini_sprite: ^0.1.0 phased: ^0.0.3 - widgetbook: ^3.7.0 - widgetbook_annotation: ^3.1.0 dev_dependencies: alchemist: git: url: https://github.com/erickzanardo/alchemist - build_runner: ^2.4.7 flutter_test: sdk: flutter mocktail: ">=0.3.0 <2.0.0" very_good_analysis: ">=3.1.0 <6.0.0" - widgetbook_generator: ^3.7.0 flutter: uses-material-design: true