Skip to content

[hooks] [hooks_runner] Use any deps in example and test_data #2354

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pkgs/hooks/example/build/download_asset/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ environment:
sdk: '>=3.8.0 <4.0.0'

dependencies:
code_assets: ^0.19.3
code_assets: any
crypto: ^3.0.6
hooks: ^0.19.3
hooks: any
logging: ^1.3.0
native_toolchain_c: ^0.16.2
native_toolchain_c: any

dev_dependencies:
args: ^2.6.0
Expand Down
4 changes: 2 additions & 2 deletions pkgs/hooks/example/build/local_asset/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ environment:
sdk: '>=3.8.0 <4.0.0'

dependencies:
code_assets: ^0.19.3
hooks: ^0.19.3
code_assets: any
hooks: any
logging: ^1.3.0

dev_dependencies:
Expand Down
6 changes: 3 additions & 3 deletions pkgs/hooks/example/build/native_add_library/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ environment:
sdk: '>=3.8.0 <4.0.0'

dependencies:
code_assets: ^0.19.3
hooks: ^0.19.3
code_assets: any
hooks: any
logging: ^1.3.0
native_toolchain_c: ^0.16.2
native_toolchain_c: any

dev_dependencies:
ffigen: ^18.0.0
Expand Down
6 changes: 3 additions & 3 deletions pkgs/hooks/example/build/native_dynamic_linking/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ environment:
sdk: '>=3.8.0 <4.0.0'

dependencies:
code_assets: ^0.19.3
hooks: ^0.19.3
code_assets: any
hooks: any
logging: ^1.3.0
native_toolchain_c: ^0.16.2
native_toolchain_c: any

dev_dependencies:
ffigen: ^18.0.0
Expand Down
6 changes: 3 additions & 3 deletions pkgs/hooks/example/build/system_library/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ environment:
sdk: '>=3.8.0 <4.0.0'

dependencies:
code_assets: ^0.19.3
hooks: ^0.19.3
code_assets: any
hooks: any
logging: ^1.3.0
native_toolchain_c: ^0.16.2
native_toolchain_c: any

dev_dependencies:
ffigen: ^18.0.0
Expand Down
6 changes: 3 additions & 3 deletions pkgs/hooks/example/build/use_dart_api/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ environment:
sdk: '>=3.8.0 <4.0.0'

dependencies:
code_assets: ^0.19.3
hooks: ^0.19.3
code_assets: any
hooks: any
logging: ^1.3.0
native_toolchain_c: ^0.16.2
native_toolchain_c: any

dev_dependencies:
ffigen: ^18.0.0
Expand Down
4 changes: 2 additions & 2 deletions pkgs/hooks/example/link/package_with_assets/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ environment:
sdk: '>=3.8.0 <4.0.0'

dependencies:
data_assets: ^0.19.1
hooks: ^0.19.3
data_assets: any
hooks: any
logging: ^1.3.0
meta: ^1.16.0
record_use: ^0.3.0
Expand Down
6 changes: 3 additions & 3 deletions pkgs/hooks_runner/test_data/add_asset_link/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ environment:
sdk: '>=3.8.0 <4.0.0'

dependencies:
code_assets: ^0.19.3
hooks: ^0.19.3
code_assets: any
hooks: any
logging: ^1.3.0
meta: ^1.16.0
native_toolchain_c: ^0.16.2
native_toolchain_c: any

dev_dependencies:
lints: ^5.1.1
Expand Down
4 changes: 2 additions & 2 deletions pkgs/hooks_runner/test_data/complex_link/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ dependencies:
cli_config: ^0.2.0
complex_link_helper:
path: ../complex_link_helper/
data_assets: ^0.19.1
hooks: ^0.19.3
data_assets: any
hooks: any
logging: ^1.3.0

dev_dependencies:
Expand Down
4 changes: 2 additions & 2 deletions pkgs/hooks_runner/test_data/complex_link_helper/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ environment:

dependencies:
cli_config: ^0.2.0
data_assets: ^0.19.1
hooks: ^0.19.3
data_assets: any
hooks: any
logging: ^1.3.0

dev_dependencies:
Expand Down
2 changes: 1 addition & 1 deletion pkgs/hooks_runner/test_data/cyclic_package_1/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ environment:
dependencies:
cyclic_package_2:
path: ../cyclic_package_2
hooks: ^0.19.3
hooks: any

dev_dependencies:
lints: ^5.1.1
2 changes: 1 addition & 1 deletion pkgs/hooks_runner/test_data/cyclic_package_2/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ environment:
dependencies:
cyclic_package_1:
path: ../cyclic_package_1
hooks: ^0.19.3
hooks: any

dev_dependencies:
lints: ^5.1.1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ environment:
dependencies:
fail_build:
path: ../fail_build/
hooks: ^0.19.3
hooks: any

dev_dependencies:
ffigen: ^18.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ environment:
dependencies:
depend_on_fail_build:
path: ../depend_on_fail_build/
hooks: ^0.19.3
hooks: any

dev_dependencies:
ffigen: ^18.0.0
Expand Down
6 changes: 3 additions & 3 deletions pkgs/hooks_runner/test_data/drop_dylib_link/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ environment:
sdk: '>=3.8.0 <4.0.0'

dependencies:
code_assets: ^0.19.3
hooks: ^0.19.3
code_assets: any
hooks: any
logging: ^1.3.0
native_toolchain_c: ^0.16.2
native_toolchain_c: any

dev_dependencies:
lints: ^5.1.1
Expand Down
4 changes: 2 additions & 2 deletions pkgs/hooks_runner/test_data/fail_build/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ environment:
sdk: '>=3.8.0 <4.0.0'

dependencies:
code_assets: ^0.19.3
hooks: ^0.19.3
code_assets: any
hooks: any

dev_dependencies:
ffigen: ^18.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ environment:
sdk: '>=3.8.0 <4.0.0'

dependencies:
code_assets: ^0.19.3
hooks: ^0.19.3
code_assets: any
hooks: any

dev_dependencies:
ffigen: ^18.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ environment:
sdk: '>=3.8.0 <4.0.0'

dependencies:
data_assets: ^0.19.1
data_assets: any
fail_on_os_sdk_version_linker:
path: ../fail_on_os_sdk_version_linker/
hooks: ^0.19.3
hooks: any

dev_dependencies:
ffigen: ^18.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ environment:
sdk: '>=3.8.0 <4.0.0'

dependencies:
code_assets: ^0.19.3
hooks: ^0.19.3
code_assets: any
hooks: any

dev_dependencies:
ffigen: ^18.0.0
Expand Down
6 changes: 3 additions & 3 deletions pkgs/hooks_runner/test_data/native_add/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ environment:
sdk: '>=3.8.0 <4.0.0'

dependencies:
code_assets: ^0.19.3
hooks: ^0.19.3
code_assets: any
hooks: any
logging: ^1.3.0
native_toolchain_c: ^0.16.2
native_toolchain_c: any

dev_dependencies:
ffigen: ^18.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ environment:
sdk: '>=3.8.0 <4.0.0'

dependencies:
code_assets: ^0.19.3
hooks: ^0.19.3
code_assets: any
hooks: any
logging: ^1.3.0
native_toolchain_c: ^0.16.2
native_toolchain_c: any

dev_dependencies:
ffigen: ^18.0.0
Expand Down
6 changes: 3 additions & 3 deletions pkgs/hooks_runner/test_data/native_add_duplicate/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ environment:
sdk: '>=3.8.0 <4.0.0'

dependencies:
code_assets: ^0.19.3
hooks: ^0.19.3
code_assets: any
hooks: any
logging: ^1.3.0
native_add:
path: ../native_add/
native_toolchain_c: ^0.16.2
native_toolchain_c: any

dev_dependencies:
ffigen: ^18.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ environment:
sdk: '>=3.8.0 <4.0.0'

dependencies:
code_assets: ^0.19.3
hooks: ^0.19.3
code_assets: any
hooks: any
logging: ^1.3.0
native_toolchain_c: ^0.16.2
native_toolchain_c: any

dev_dependencies:
ffigen: ^18.0.0
Expand Down
6 changes: 3 additions & 3 deletions pkgs/hooks_runner/test_data/native_subtract/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ environment:
sdk: '>=3.8.0 <4.0.0'

dependencies:
code_assets: ^0.19.3
hooks: ^0.19.3
code_assets: any
hooks: any
logging: ^1.3.0
native_toolchain_c: ^0.16.2
native_toolchain_c: any

dev_dependencies:
ffigen: ^18.0.0
Expand Down
6 changes: 3 additions & 3 deletions pkgs/hooks_runner/test_data/no_asset_for_link/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ environment:
sdk: '>=3.8.0 <4.0.0'

dependencies:
code_assets: ^0.19.3
data_assets: ^0.19.1
hooks: ^0.19.3
code_assets: any
data_assets: any
hooks: any
logging: ^1.3.0
meta: ^1.16.0

Expand Down
6 changes: 3 additions & 3 deletions pkgs/hooks_runner/test_data/no_hook/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ environment:
sdk: '>=3.8.0 <4.0.0'

dependencies:
code_assets: ^0.19.3
hooks: ^0.19.3
code_assets: any
hooks: any
logging: ^1.3.0
native_toolchain_c: ^0.16.2
native_toolchain_c: any

dev_dependencies:
ffigen: ^18.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ environment:
sdk: '>=3.8.0 <4.0.0'

dependencies:
code_assets: ^0.19.3
hooks: ^0.19.3
code_assets: any
hooks: any
package_with_metadata:
path: ../package_with_metadata/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ environment:
sdk: '>=3.8.0 <4.0.0'

dependencies:
code_assets: ^0.19.3
hooks: ^0.19.3
code_assets: any
hooks: any

dev_dependencies:
lints: ^5.1.1
4 changes: 2 additions & 2 deletions pkgs/hooks_runner/test_data/relative_path/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ environment:
sdk: '>=3.8.0 <4.0.0'

dependencies:
data_assets: ^0.19.1
hooks: ^0.19.3
data_assets: any
hooks: any
logging: ^1.3.0

dev_dependencies:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ environment:
sdk: '>=3.8.0 <4.0.0'

dependencies:
code_assets: ^0.19.3
hooks: ^0.19.3
code_assets: any
hooks: any
logging: ^1.3.0
native_toolchain_c: ^0.16.2
native_toolchain_c: any

dev_dependencies:
ffigen: ^18.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ environment:
sdk: '>=3.8.0 <4.0.0'

dependencies:
code_assets: ^0.19.3
hooks: ^0.19.3
code_assets: any
hooks: any
logging: ^1.3.0
native_toolchain_c: ^0.16.2
native_toolchain_c: any
reusable_dynamic_library:
path: ../reusable_dynamic_library/

Expand Down
4 changes: 2 additions & 2 deletions pkgs/hooks_runner/test_data/simple_data_asset/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ environment:
sdk: '>=3.8.0 <4.0.0'

dependencies:
data_assets: ^0.19.1
hooks: ^0.19.3
data_assets: any
hooks: any
logging: ^1.3.0

dev_dependencies:
Expand Down
Loading
Loading