You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Nested packages should be ignored in the surrounding package #173
Dependency validator reports dependencies in nested packages. However, code in a nested package should be its own package and not contribute to the surrounding package.
$ dart pub global run dependency_validator -C pkgs/code_assets
Validating dependencies for code_assets...
These packages are used outside lib/ but are not dev_dependencies:
* archive
* ffi
* ffigen
* host_name
* http
* mini_audio
* native_toolchain_c
* pointycastle
* sqlite
* sqlite_prebuilt
* stb_image
Packages such as ffigen are only used in pkgs/code_assets/example/host_name/tool/ffigen.dart and pkgs/code_assets/example/host_name/ has it's own pubspec.yaml, it is its own package.
Activity
jonasfj commentedon Aug 24, 2026
This is particularly pressing for
example/where it's common to have multiple example packages/apps.Ignore nested packages in surrounding package (Workiva#173)
Merge pull request #183 from mosuem/ignore-nested-packages