Skip to content

[hooks] [code_assets] Update README part 2 #2322

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 2 commits into from
May 21, 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
2 changes: 1 addition & 1 deletion pkgs/code_assets/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 0.19.2
## 0.19.3

* Mark this package as in preview.

Expand Down
2 changes: 1 addition & 1 deletion pkgs/code_assets/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
A library to use in build hooks (`hook/build.dart`) for building and bundling
code assets.

## Status: Experimental
## Status: In Preview

**NOTE**: This package is currently in preview and published under the
[labs.dart.dev](https://dart.dev/dart-team-packages) pub publisher in order to
Expand Down
4 changes: 2 additions & 2 deletions pkgs/code_assets/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: >-
This library contains the hook protocol specification for bundling native code
with Dart packages.

version: 0.19.2
version: 0.19.3

repository: https://github.com/dart-lang/native/tree/main/pkgs/code_assets

Expand All @@ -21,7 +21,7 @@ environment:

dependencies:
collection: ^1.19.1
hooks: ^0.19.2
hooks: ^0.19.3

dev_dependencies:
custom_lint: ^0.7.5
Expand Down
2 changes: 1 addition & 1 deletion pkgs/data_assets/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 0.19.1
## 0.19.2

* Bump the SDK constraint to at least the one from `package:hooks` to fix
dartdoc generation on https://pub.dev.
Expand Down
2 changes: 1 addition & 1 deletion pkgs/data_assets/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ environment:
sdk: '>=3.9.0-21.0.dev <4.0.0'

dependencies:
hooks: ^0.19.2
hooks: ^0.19.3

dev_dependencies:
custom_lint: ^0.7.5
Expand Down
2 changes: 1 addition & 1 deletion pkgs/hooks/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 0.19.2
## 0.19.3

* Mark this package as in preview.

Expand Down
2 changes: 1 addition & 1 deletion pkgs/hooks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

A library to use in build hooks (`hook/build.dart`).

## Status: Experimental
## Status: In Preview

**NOTE**: This package is currently in preview and published under the
[labs.dart.dev](https://dart.dev/dart-team-packages) pub publisher in order to
Expand Down
4 changes: 2 additions & 2 deletions pkgs/hooks/example/build/download_asset/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ environment:
sdk: '>=3.8.0 <4.0.0'

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

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.2
hooks: ^0.19.2
code_assets: ^0.19.3
hooks: ^0.19.3
logging: ^1.3.0

dev_dependencies:
Expand Down
4 changes: 2 additions & 2 deletions pkgs/hooks/example/build/native_add_library/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.2
hooks: ^0.19.2
code_assets: ^0.19.3
hooks: ^0.19.3
logging: ^1.3.0
native_toolchain_c: ^0.16.2

Expand Down
4 changes: 2 additions & 2 deletions pkgs/hooks/example/build/native_dynamic_linking/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.2
hooks: ^0.19.2
code_assets: ^0.19.3
hooks: ^0.19.3
logging: ^1.3.0
native_toolchain_c: ^0.16.2

Expand Down
4 changes: 2 additions & 2 deletions pkgs/hooks/example/build/system_library/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.2
hooks: ^0.19.2
code_assets: ^0.19.3
hooks: ^0.19.3
logging: ^1.3.0
native_toolchain_c: ^0.16.2

Expand Down
4 changes: 2 additions & 2 deletions pkgs/hooks/example/build/use_dart_api/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.2
hooks: ^0.19.2
code_assets: ^0.19.3
hooks: ^0.19.3
logging: ^1.3.0
native_toolchain_c: ^0.16.2

Expand Down
2 changes: 1 addition & 1 deletion pkgs/hooks/example/link/package_with_assets/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ environment:

dependencies:
data_assets: ^0.19.1
hooks: ^0.19.2
hooks: ^0.19.3
logging: ^1.3.0
meta: ^1.16.0
record_use: ^0.3.0
Expand Down
4 changes: 2 additions & 2 deletions pkgs/hooks/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: >-
A library that contains a Dart API for the JSON-based protocol for
`hook/build.dart` and `hook/link.dart`.

version: 0.19.2
version: 0.19.3

repository: https://github.com/dart-lang/native/tree/main/pkgs/hooks

Expand All @@ -29,7 +29,7 @@ dependencies:

dev_dependencies:
args: ^2.6.0
code_assets: ^0.19.2 # Used for running tests with real asset types.
code_assets: ^0.19.3 # Used for running tests with real asset types.
custom_lint: ^0.7.5
dart_flutter_team_lints: ^3.5.1
data_assets: ^0.19.1 # Used for running tests with real asset types.
Expand Down
4 changes: 2 additions & 2 deletions pkgs/hooks_runner/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ environment:
sdk: '>=3.9.0-21.0.dev <4.0.0'

dependencies:
code_assets: ^0.19.2 # Needed for OS for Target for KernelAssets.
code_assets: ^0.19.3 # Needed for OS for Target for KernelAssets.
collection: ^1.19.1
crypto: ^3.0.6
file: ^7.0.1
graphs: ^2.3.2
hooks: ^0.19.2
hooks: ^0.19.3
logging: ^1.3.0
meta: ^1.16.0
package_config: ^2.1.0
Expand Down
4 changes: 2 additions & 2 deletions pkgs/hooks_runner/test_data/add_asset_link/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.2
hooks: ^0.19.2
code_assets: ^0.19.3
hooks: ^0.19.3
logging: ^1.3.0
meta: ^1.16.0
native_toolchain_c: ^0.16.2
Expand Down
2 changes: 1 addition & 1 deletion pkgs/hooks_runner/test_data/complex_link/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ dependencies:
complex_link_helper:
path: ../complex_link_helper/
data_assets: ^0.19.1
hooks: ^0.19.2
hooks: ^0.19.3
logging: ^1.3.0

dev_dependencies:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ environment:
dependencies:
cli_config: ^0.2.0
data_assets: ^0.19.1
hooks: ^0.19.2
hooks: ^0.19.3
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.2
hooks: ^0.19.3

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.2
hooks: ^0.19.3

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.2
hooks: ^0.19.3

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.2
hooks: ^0.19.3

dev_dependencies:
ffigen: ^18.0.0
Expand Down
4 changes: 2 additions & 2 deletions pkgs/hooks_runner/test_data/drop_dylib_link/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.2
hooks: ^0.19.2
code_assets: ^0.19.3
hooks: ^0.19.3
logging: ^1.3.0
native_toolchain_c: ^0.16.2

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.2
hooks: ^0.19.2
code_assets: ^0.19.3
hooks: ^0.19.3

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.2
hooks: ^0.19.2
code_assets: ^0.19.3
hooks: ^0.19.3

dev_dependencies:
ffigen: ^18.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies:
data_assets: ^0.19.1
fail_on_os_sdk_version_linker:
path: ../fail_on_os_sdk_version_linker/
hooks: ^0.19.2
hooks: ^0.19.3

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.2
hooks: ^0.19.2
code_assets: ^0.19.3
hooks: ^0.19.3

dev_dependencies:
ffigen: ^18.0.0
Expand Down
4 changes: 2 additions & 2 deletions pkgs/hooks_runner/test_data/native_add/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.2
hooks: ^0.19.2
code_assets: ^0.19.3
hooks: ^0.19.3
logging: ^1.3.0
native_toolchain_c: ^0.16.2

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.2
hooks: ^0.19.2
code_assets: ^0.19.3
hooks: ^0.19.3
logging: ^1.3.0
native_toolchain_c: ^0.16.2

Expand Down
4 changes: 2 additions & 2 deletions pkgs/hooks_runner/test_data/native_add_duplicate/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.2
hooks: ^0.19.2
code_assets: ^0.19.3
hooks: ^0.19.3
logging: ^1.3.0
native_add:
path: ../native_add/
Expand Down
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.2
hooks: ^0.19.2
code_assets: ^0.19.3
hooks: ^0.19.3
logging: ^1.3.0
native_toolchain_c: ^0.16.2

Expand Down
4 changes: 2 additions & 2 deletions pkgs/hooks_runner/test_data/native_subtract/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.2
hooks: ^0.19.2
code_assets: ^0.19.3
hooks: ^0.19.3
logging: ^1.3.0
native_toolchain_c: ^0.16.2

Expand Down
4 changes: 2 additions & 2 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.2
code_assets: ^0.19.3
data_assets: ^0.19.1
hooks: ^0.19.2
hooks: ^0.19.3
logging: ^1.3.0
meta: ^1.16.0

Expand Down
4 changes: 2 additions & 2 deletions pkgs/hooks_runner/test_data/no_hook/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.2
hooks: ^0.19.2
code_assets: ^0.19.3
hooks: ^0.19.3
logging: ^1.3.0
native_toolchain_c: ^0.16.2

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.2
hooks: ^0.19.2
code_assets: ^0.19.3
hooks: ^0.19.3
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.2
hooks: ^0.19.2
code_assets: ^0.19.3
hooks: ^0.19.3

dev_dependencies:
lints: ^5.1.1
2 changes: 1 addition & 1 deletion pkgs/hooks_runner/test_data/relative_path/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ environment:

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

dev_dependencies:
Expand Down
Loading
Loading