Skip to content

Commit 71741a4

Browse files
authored
[native_toolchain_c] [code_assets] [data_assets] Fix dartdoc on pub.dev (#2318)
1 parent f2cae97 commit 71741a4

File tree

48 files changed

+91
-71
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+91
-71
lines changed

pkgs/code_assets/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 0.19.1
2+
3+
* Bump the SDK constraint to at least the one from `package:hooks` to fix
4+
dartdoc generation on https://pub.dev.
5+
16
## 0.19.0
27

38
- Split up `package:native_assets_cli` in `package:hooks`,

pkgs/code_assets/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: >-
33
This library contains the hook protocol specification for bundling native code
44
with Dart packages.
55
6-
version: 0.19.0
6+
version: 0.19.1
77

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

@@ -17,7 +17,7 @@ topics:
1717
resolution: workspace
1818

1919
environment:
20-
sdk: '>=3.8.0 <4.0.0'
20+
sdk: '>=3.9.0-21.0.dev <4.0.0'
2121

2222
dependencies:
2323
collection: ^1.19.1

pkgs/data_assets/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 0.19.1
2+
3+
* Bump the SDK constraint to at least the one from `package:hooks` to fix
4+
dartdoc generation on https://pub.dev.
5+
16
## 0.19.0
27

38
- Split up `package:native_assets_cli` in `package:hooks`,

pkgs/data_assets/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: >-
33
This library contains the hook protocol specification for bundling data assets
44
with Dart packages.
55
6-
version: 0.19.0
6+
version: 0.19.1
77

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

@@ -14,7 +14,7 @@ topics:
1414
resolution: workspace
1515

1616
environment:
17-
sdk: '>=3.8.0 <4.0.0'
17+
sdk: '>=3.9.0-21.0.dev <4.0.0'
1818

1919
dependencies:
2020
hooks: ^0.19.1

pkgs/hooks/example/build/download_asset/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ environment:
1111
sdk: '>=3.8.0 <4.0.0'
1212

1313
dependencies:
14-
code_assets: ^0.19.0
14+
code_assets: ^0.19.1
1515
crypto: ^3.0.6
1616
hooks: ^0.19.1
1717
logging: ^1.3.0
18-
native_toolchain_c: ^0.16.1
18+
native_toolchain_c: ^0.16.2
1919

2020
dev_dependencies:
2121
args: ^2.6.0

pkgs/hooks/example/build/local_asset/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ environment:
1111
sdk: '>=3.8.0 <4.0.0'
1212

1313
dependencies:
14-
code_assets: ^0.19.0
14+
code_assets: ^0.19.1
1515
hooks: ^0.19.1
1616
logging: ^1.3.0
1717

pkgs/hooks/example/build/native_add_library/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ environment:
1111
sdk: '>=3.8.0 <4.0.0'
1212

1313
dependencies:
14-
code_assets: ^0.19.0
14+
code_assets: ^0.19.1
1515
hooks: ^0.19.1
1616
logging: ^1.3.0
17-
native_toolchain_c: ^0.16.1
17+
native_toolchain_c: ^0.16.2
1818

1919
dev_dependencies:
2020
ffigen: ^18.0.0

pkgs/hooks/example/build/native_dynamic_linking/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ environment:
1111
sdk: '>=3.8.0 <4.0.0'
1212

1313
dependencies:
14-
code_assets: ^0.19.0
14+
code_assets: ^0.19.1
1515
hooks: ^0.19.1
1616
logging: ^1.3.0
17-
native_toolchain_c: ^0.16.1
17+
native_toolchain_c: ^0.16.2
1818

1919
dev_dependencies:
2020
ffigen: ^18.0.0

pkgs/hooks/example/build/system_library/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ environment:
1010
sdk: '>=3.8.0 <4.0.0'
1111

1212
dependencies:
13-
code_assets: ^0.19.0
13+
code_assets: ^0.19.1
1414
hooks: ^0.19.1
1515
logging: ^1.3.0
16-
native_toolchain_c: ^0.16.1
16+
native_toolchain_c: ^0.16.2
1717

1818
dev_dependencies:
1919
ffigen: ^18.0.0

pkgs/hooks/example/build/use_dart_api/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ environment:
1010
sdk: '>=3.8.0 <4.0.0'
1111

1212
dependencies:
13-
code_assets: ^0.19.0
13+
code_assets: ^0.19.1
1414
hooks: ^0.19.1
1515
logging: ^1.3.0
16-
native_toolchain_c: ^0.16.1
16+
native_toolchain_c: ^0.16.2
1717

1818
dev_dependencies:
1919
ffigen: ^18.0.0

pkgs/hooks/example/link/package_with_assets/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ environment:
1010
sdk: '>=3.8.0 <4.0.0'
1111

1212
dependencies:
13-
data_assets: ^0.19.0
13+
data_assets: ^0.19.1
1414
hooks: ^0.19.1
1515
logging: ^1.3.0
1616
meta: ^1.16.0

pkgs/hooks/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ dependencies:
2929

3030
dev_dependencies:
3131
args: ^2.6.0
32-
code_assets: ^0.19.0 # Used for running tests with real asset types.
32+
code_assets: ^0.19.1 # Used for running tests with real asset types.
3333
custom_lint: ^0.7.5
3434
dart_flutter_team_lints: ^3.5.1
35-
data_assets: ^0.19.0 # Used for running tests with real asset types.
35+
data_assets: ^0.19.1 # Used for running tests with real asset types.
3636
file_testing: ^3.0.2
3737
glob: any
3838
json_schema: ^5.2.0 # May only be used in tool/ and test/json_schema/.

pkgs/hooks_runner/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 0.20.1
2+
3+
* Bump the SDK constraint to at least the one from `package:hooks` to fix
4+
dartdoc generation on https://pub.dev.
5+
16
## 0.20.0
27

38
- **Breaking change** Refactored error handling to use a `Result` type for more

pkgs/hooks_runner/pubspec.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@ name: hooks_runner
22
description: >-
33
This package is the backend that invokes build hooks.
44
5-
version: 0.20.0
5+
version: 0.20.1
66

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

99
resolution: workspace
1010

1111
environment:
12-
sdk: '>=3.8.0 <4.0.0'
12+
sdk: '>=3.9.0-21.0.dev <4.0.0'
1313

1414
dependencies:
15-
code_assets: ^0.19.0 # Needed for OS for Target for KernelAssets.
15+
code_assets: ^0.19.1 # Needed for OS for Target for KernelAssets.
1616
collection: ^1.19.1
1717
crypto: ^3.0.6
1818
file: ^7.0.1
@@ -27,7 +27,7 @@ dependencies:
2727
dev_dependencies:
2828
custom_lint: ^0.7.5
2929
dart_flutter_team_lints: ^3.5.1
30-
data_assets: ^0.19.0 # Used in tests.
30+
data_assets: ^0.19.1 # Used in tests.
3131
file_testing: ^3.0.2
3232
repo_lint_rules:
3333
path: ../repo_lint_rules/

pkgs/hooks_runner/test_data/add_asset_link/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ environment:
1010
sdk: '>=3.8.0 <4.0.0'
1111

1212
dependencies:
13-
code_assets: ^0.19.0
13+
code_assets: ^0.19.1
1414
hooks: ^0.19.1
1515
logging: ^1.3.0
1616
meta: ^1.16.0
17-
native_toolchain_c: ^0.16.1
17+
native_toolchain_c: ^0.16.2
1818

1919
dev_dependencies:
2020
lints: ^5.1.1

pkgs/hooks_runner/test_data/complex_link/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dependencies:
1313
cli_config: ^0.2.0
1414
complex_link_helper:
1515
path: ../complex_link_helper/
16-
data_assets: ^0.19.0
16+
data_assets: ^0.19.1
1717
hooks: ^0.19.1
1818
logging: ^1.3.0
1919

pkgs/hooks_runner/test_data/complex_link_helper/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ environment:
1111

1212
dependencies:
1313
cli_config: ^0.2.0
14-
data_assets: ^0.19.0
14+
data_assets: ^0.19.1
1515
hooks: ^0.19.1
1616
logging: ^1.3.0
1717

pkgs/hooks_runner/test_data/drop_dylib_link/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ environment:
1010
sdk: '>=3.8.0 <4.0.0'
1111

1212
dependencies:
13-
code_assets: ^0.19.0
13+
code_assets: ^0.19.1
1414
hooks: ^0.19.1
1515
logging: ^1.3.0
16-
native_toolchain_c: ^0.16.1
16+
native_toolchain_c: ^0.16.2
1717

1818
dev_dependencies:
1919
lints: ^5.1.1

pkgs/hooks_runner/test_data/fail_build/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ environment:
1010
sdk: '>=3.8.0 <4.0.0'
1111

1212
dependencies:
13-
code_assets: ^0.19.0
13+
code_assets: ^0.19.1
1414
hooks: ^0.19.1
1515

1616
dev_dependencies:

pkgs/hooks_runner/test_data/fail_on_os_sdk_version/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ environment:
1010
sdk: '>=3.8.0 <4.0.0'
1111

1212
dependencies:
13-
code_assets: ^0.19.0
13+
code_assets: ^0.19.1
1414
hooks: ^0.19.1
1515

1616
dev_dependencies:

pkgs/hooks_runner/test_data/fail_on_os_sdk_version_link/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ environment:
1010
sdk: '>=3.8.0 <4.0.0'
1111

1212
dependencies:
13-
data_assets: ^0.19.0
13+
data_assets: ^0.19.1
1414
fail_on_os_sdk_version_linker:
1515
path: ../fail_on_os_sdk_version_linker/
1616
hooks: ^0.19.1

pkgs/hooks_runner/test_data/fail_on_os_sdk_version_linker/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ environment:
1010
sdk: '>=3.8.0 <4.0.0'
1111

1212
dependencies:
13-
code_assets: ^0.19.0
13+
code_assets: ^0.19.1
1414
hooks: ^0.19.1
1515

1616
dev_dependencies:

pkgs/hooks_runner/test_data/native_add/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ environment:
1010
sdk: '>=3.8.0 <4.0.0'
1111

1212
dependencies:
13-
code_assets: ^0.19.0
13+
code_assets: ^0.19.1
1414
hooks: ^0.19.1
1515
logging: ^1.3.0
16-
native_toolchain_c: ^0.16.1
16+
native_toolchain_c: ^0.16.2
1717

1818
dev_dependencies:
1919
ffigen: ^18.0.0

pkgs/hooks_runner/test_data/native_add_add_source/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ environment:
1010
sdk: '>=3.8.0 <4.0.0'
1111

1212
dependencies:
13-
code_assets: ^0.19.0
13+
code_assets: ^0.19.1
1414
hooks: ^0.19.1
1515
logging: ^1.3.0
16-
native_toolchain_c: ^0.16.1
16+
native_toolchain_c: ^0.16.2
1717

1818
dev_dependencies:
1919
ffigen: ^18.0.0

pkgs/hooks_runner/test_data/native_add_duplicate/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ environment:
1010
sdk: '>=3.8.0 <4.0.0'
1111

1212
dependencies:
13-
code_assets: ^0.19.0
13+
code_assets: ^0.19.1
1414
hooks: ^0.19.1
1515
logging: ^1.3.0
1616
native_add:
1717
path: ../native_add/
18-
native_toolchain_c: ^0.16.1
18+
native_toolchain_c: ^0.16.2
1919

2020
dev_dependencies:
2121
ffigen: ^18.0.0

pkgs/hooks_runner/test_data/native_dynamic_linking/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ environment:
1111
sdk: '>=3.8.0 <4.0.0'
1212

1313
dependencies:
14-
code_assets: ^0.19.0
14+
code_assets: ^0.19.1
1515
hooks: ^0.19.1
1616
logging: ^1.3.0
17-
native_toolchain_c: ^0.16.1
17+
native_toolchain_c: ^0.16.2
1818

1919
dev_dependencies:
2020
ffigen: ^18.0.0

pkgs/hooks_runner/test_data/native_subtract/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ environment:
1010
sdk: '>=3.8.0 <4.0.0'
1111

1212
dependencies:
13-
code_assets: ^0.19.0
13+
code_assets: ^0.19.1
1414
hooks: ^0.19.1
1515
logging: ^1.3.0
16-
native_toolchain_c: ^0.16.1
16+
native_toolchain_c: ^0.16.2
1717

1818
dev_dependencies:
1919
ffigen: ^18.0.0

pkgs/hooks_runner/test_data/no_asset_for_link/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ environment:
1010
sdk: '>=3.8.0 <4.0.0'
1111

1212
dependencies:
13-
code_assets: ^0.19.0
14-
data_assets: ^0.19.0
13+
code_assets: ^0.19.1
14+
data_assets: ^0.19.1
1515
hooks: ^0.19.1
1616
logging: ^1.3.0
1717
meta: ^1.16.0

pkgs/hooks_runner/test_data/no_hook/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ environment:
1010
sdk: '>=3.8.0 <4.0.0'
1111

1212
dependencies:
13-
code_assets: ^0.19.0
13+
code_assets: ^0.19.1
1414
hooks: ^0.19.1
1515
logging: ^1.3.0
16-
native_toolchain_c: ^0.16.1
16+
native_toolchain_c: ^0.16.2
1717

1818
dev_dependencies:
1919
ffigen: ^18.0.0

pkgs/hooks_runner/test_data/package_reading_metadata/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ environment:
1010
sdk: '>=3.8.0 <4.0.0'
1111

1212
dependencies:
13-
code_assets: ^0.19.0
13+
code_assets: ^0.19.1
1414
hooks: ^0.19.1
1515
package_with_metadata:
1616
path: ../package_with_metadata/

pkgs/hooks_runner/test_data/package_with_metadata/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ environment:
1010
sdk: '>=3.8.0 <4.0.0'
1111

1212
dependencies:
13-
code_assets: ^0.19.0
13+
code_assets: ^0.19.1
1414
hooks: ^0.19.1
1515

1616
dev_dependencies:

pkgs/hooks_runner/test_data/relative_path/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ environment:
1010
sdk: '>=3.8.0 <4.0.0'
1111

1212
dependencies:
13-
data_assets: ^0.19.0
13+
data_assets: ^0.19.1
1414
hooks: ^0.19.1
1515
logging: ^1.3.0
1616

0 commit comments

Comments
 (0)