Skip to content

[native_toolchain_c] [code_assets] [data_assets] Fix dartdoc on pub.dev #2318

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
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
5 changes: 5 additions & 0 deletions pkgs/code_assets/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 0.19.1

* Bump the SDK constraint to at least the one from `package:hooks` to fix
dartdoc generation on https://pub.dev.

## 0.19.0

- Split up `package:native_assets_cli` in `package:hooks`,
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.0
version: 0.19.1

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

Expand All @@ -17,7 +17,7 @@ topics:
resolution: workspace

environment:
sdk: '>=3.8.0 <4.0.0'
sdk: '>=3.9.0-21.0.dev <4.0.0'

dependencies:
collection: ^1.19.1
Expand Down
5 changes: 5 additions & 0 deletions pkgs/data_assets/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 0.19.1

* Bump the SDK constraint to at least the one from `package:hooks` to fix
dartdoc generation on https://pub.dev.

## 0.19.0

- Split up `package:native_assets_cli` in `package:hooks`,
Expand Down
4 changes: 2 additions & 2 deletions pkgs/data_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 data assets
with Dart packages.

version: 0.19.0
version: 0.19.1

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

Expand All @@ -14,7 +14,7 @@ topics:
resolution: workspace

environment:
sdk: '>=3.8.0 <4.0.0'
sdk: '>=3.9.0-21.0.dev <4.0.0'

dependencies:
hooks: ^0.19.1
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,11 +11,11 @@ environment:
sdk: '>=3.8.0 <4.0.0'

dependencies:
code_assets: ^0.19.0
code_assets: ^0.19.1
crypto: ^3.0.6
hooks: ^0.19.1
logging: ^1.3.0
native_toolchain_c: ^0.16.1
native_toolchain_c: ^0.16.2

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

dependencies:
code_assets: ^0.19.0
code_assets: ^0.19.1
hooks: ^0.19.1
logging: ^1.3.0

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,10 +11,10 @@ environment:
sdk: '>=3.8.0 <4.0.0'

dependencies:
code_assets: ^0.19.0
code_assets: ^0.19.1
hooks: ^0.19.1
logging: ^1.3.0
native_toolchain_c: ^0.16.1
native_toolchain_c: ^0.16.2

dev_dependencies:
ffigen: ^18.0.0
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,10 +11,10 @@ environment:
sdk: '>=3.8.0 <4.0.0'

dependencies:
code_assets: ^0.19.0
code_assets: ^0.19.1
hooks: ^0.19.1
logging: ^1.3.0
native_toolchain_c: ^0.16.1
native_toolchain_c: ^0.16.2

dev_dependencies:
ffigen: ^18.0.0
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,10 +10,10 @@ environment:
sdk: '>=3.8.0 <4.0.0'

dependencies:
code_assets: ^0.19.0
code_assets: ^0.19.1
hooks: ^0.19.1
logging: ^1.3.0
native_toolchain_c: ^0.16.1
native_toolchain_c: ^0.16.2

dev_dependencies:
ffigen: ^18.0.0
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,10 +10,10 @@ environment:
sdk: '>=3.8.0 <4.0.0'

dependencies:
code_assets: ^0.19.0
code_assets: ^0.19.1
hooks: ^0.19.1
logging: ^1.3.0
native_toolchain_c: ^0.16.1
native_toolchain_c: ^0.16.2

dev_dependencies:
ffigen: ^18.0.0
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 @@ -10,7 +10,7 @@ environment:
sdk: '>=3.8.0 <4.0.0'

dependencies:
data_assets: ^0.19.0
data_assets: ^0.19.1
hooks: ^0.19.1
logging: ^1.3.0
meta: ^1.16.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 @@ -29,10 +29,10 @@ dependencies:

dev_dependencies:
args: ^2.6.0
code_assets: ^0.19.0 # Used for running tests with real asset types.
code_assets: ^0.19.1 # Used for running tests with real asset types.
custom_lint: ^0.7.5
dart_flutter_team_lints: ^3.5.1
data_assets: ^0.19.0 # Used for running tests with real asset types.
data_assets: ^0.19.1 # Used for running tests with real asset types.
file_testing: ^3.0.2
glob: any
json_schema: ^5.2.0 # May only be used in tool/ and test/json_schema/.
Expand Down
5 changes: 5 additions & 0 deletions pkgs/hooks_runner/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 0.20.1

* Bump the SDK constraint to at least the one from `package:hooks` to fix
dartdoc generation on https://pub.dev.

## 0.20.0

- **Breaking change** Refactored error handling to use a `Result` type for more
Expand Down
8 changes: 4 additions & 4 deletions pkgs/hooks_runner/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ name: hooks_runner
description: >-
This package is the backend that invokes build hooks.

version: 0.20.0
version: 0.20.1

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

resolution: workspace

environment:
sdk: '>=3.8.0 <4.0.0'
sdk: '>=3.9.0-21.0.dev <4.0.0'

dependencies:
code_assets: ^0.19.0 # Needed for OS for Target for KernelAssets.
code_assets: ^0.19.1 # Needed for OS for Target for KernelAssets.
collection: ^1.19.1
crypto: ^3.0.6
file: ^7.0.1
Expand All @@ -27,7 +27,7 @@ dependencies:
dev_dependencies:
custom_lint: ^0.7.5
dart_flutter_team_lints: ^3.5.1
data_assets: ^0.19.0 # Used in tests.
data_assets: ^0.19.1 # Used in tests.
file_testing: ^3.0.2
repo_lint_rules:
path: ../repo_lint_rules/
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,11 +10,11 @@ environment:
sdk: '>=3.8.0 <4.0.0'

dependencies:
code_assets: ^0.19.0
code_assets: ^0.19.1
hooks: ^0.19.1
logging: ^1.3.0
meta: ^1.16.0
native_toolchain_c: ^0.16.1
native_toolchain_c: ^0.16.2

dev_dependencies:
lints: ^5.1.1
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 @@ -13,7 +13,7 @@ dependencies:
cli_config: ^0.2.0
complex_link_helper:
path: ../complex_link_helper/
data_assets: ^0.19.0
data_assets: ^0.19.1
hooks: ^0.19.1
logging: ^1.3.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ environment:

dependencies:
cli_config: ^0.2.0
data_assets: ^0.19.0
data_assets: ^0.19.1
hooks: ^0.19.1
logging: ^1.3.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,10 +10,10 @@ environment:
sdk: '>=3.8.0 <4.0.0'

dependencies:
code_assets: ^0.19.0
code_assets: ^0.19.1
hooks: ^0.19.1
logging: ^1.3.0
native_toolchain_c: ^0.16.1
native_toolchain_c: ^0.16.2

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

dependencies:
code_assets: ^0.19.0
code_assets: ^0.19.1
hooks: ^0.19.1

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

dependencies:
code_assets: ^0.19.0
code_assets: ^0.19.1
hooks: ^0.19.1

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

dependencies:
data_assets: ^0.19.0
data_assets: ^0.19.1
fail_on_os_sdk_version_linker:
path: ../fail_on_os_sdk_version_linker/
hooks: ^0.19.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ environment:
sdk: '>=3.8.0 <4.0.0'

dependencies:
code_assets: ^0.19.0
code_assets: ^0.19.1
hooks: ^0.19.1

dev_dependencies:
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,10 +10,10 @@ environment:
sdk: '>=3.8.0 <4.0.0'

dependencies:
code_assets: ^0.19.0
code_assets: ^0.19.1
hooks: ^0.19.1
logging: ^1.3.0
native_toolchain_c: ^0.16.1
native_toolchain_c: ^0.16.2

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.0
code_assets: ^0.19.1
hooks: ^0.19.1
logging: ^1.3.0
native_toolchain_c: ^0.16.1
native_toolchain_c: ^0.16.2

dev_dependencies:
ffigen: ^18.0.0
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,12 +10,12 @@ environment:
sdk: '>=3.8.0 <4.0.0'

dependencies:
code_assets: ^0.19.0
code_assets: ^0.19.1
hooks: ^0.19.1
logging: ^1.3.0
native_add:
path: ../native_add/
native_toolchain_c: ^0.16.1
native_toolchain_c: ^0.16.2

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.0
code_assets: ^0.19.1
hooks: ^0.19.1
logging: ^1.3.0
native_toolchain_c: ^0.16.1
native_toolchain_c: ^0.16.2

dev_dependencies:
ffigen: ^18.0.0
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,10 +10,10 @@ environment:
sdk: '>=3.8.0 <4.0.0'

dependencies:
code_assets: ^0.19.0
code_assets: ^0.19.1
hooks: ^0.19.1
logging: ^1.3.0
native_toolchain_c: ^0.16.1
native_toolchain_c: ^0.16.2

dev_dependencies:
ffigen: ^18.0.0
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,8 +10,8 @@ environment:
sdk: '>=3.8.0 <4.0.0'

dependencies:
code_assets: ^0.19.0
data_assets: ^0.19.0
code_assets: ^0.19.1
data_assets: ^0.19.1
hooks: ^0.19.1
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,10 +10,10 @@ environment:
sdk: '>=3.8.0 <4.0.0'

dependencies:
code_assets: ^0.19.0
code_assets: ^0.19.1
hooks: ^0.19.1
logging: ^1.3.0
native_toolchain_c: ^0.16.1
native_toolchain_c: ^0.16.2

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

dependencies:
code_assets: ^0.19.0
code_assets: ^0.19.1
hooks: ^0.19.1
package_with_metadata:
path: ../package_with_metadata/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ environment:
sdk: '>=3.8.0 <4.0.0'

dependencies:
code_assets: ^0.19.0
code_assets: ^0.19.1
hooks: ^0.19.1

dev_dependencies:
Expand Down
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 @@ -10,7 +10,7 @@ environment:
sdk: '>=3.8.0 <4.0.0'

dependencies:
data_assets: ^0.19.0
data_assets: ^0.19.1
hooks: ^0.19.1
logging: ^1.3.0

Expand Down
Loading
Loading