Skip to content

Commit

Permalink
Reset packages to path deps (#1561)
Browse files Browse the repository at this point in the history
.

---

<details>
  <summary>Contribution guidelines:</summary><br>

- See our [contributor guide](https://github.com/dart-lang/.github/blob/main/CONTRIBUTING.md) for general expectations for PRs.
- Larger or significant changes should be discussed in an issue before creating a PR.
- Contributions to our repos should follow the [Dart style guide](https://dart.dev/guides/language/effective-dart) and use `dart format`.
- Most changes should add an entry to the changelog and may need to [rev the pubspec package version](https://github.com/dart-lang/sdk/blob/main/docs/External-Package-Maintenance.md#making-a-change).
- Changes to packages require [corresponding tests](https://github.com/dart-lang/.github/blob/main/CONTRIBUTING.md#Testing).

Note that many Dart repos have a weekly cadence for reviewing PRs - please allow for some latency before initial review feedback.
</details>
  • Loading branch information
mosuem authored Sep 13, 2024
1 parent 4d55186 commit 20f8160
Show file tree
Hide file tree
Showing 36 changed files with 148 additions and 132 deletions.
4 changes: 4 additions & 0 deletions pkgs/native_assets_builder/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.8.4-wip

- Nothing yet.

## 0.8.3

- Added a validation step on the output of the build and link hooks (both as a
Expand Down
10 changes: 6 additions & 4 deletions pkgs/native_assets_builder/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
name: native_assets_builder
description: >-
This package is the backend that invokes build hooks.
version: 0.8.3
version: 0.8.4-wip
repository: https://github.com/dart-lang/native/tree/main/pkgs/native_assets_builder

publish_to: none

environment:
sdk: '>=3.3.0 <4.0.0'

dependencies:
collection: ^1.18.0
graphs: ^2.3.1
logging: ^1.2.0
native_assets_cli: ^0.8.0
# native_assets_cli:
# path: ../native_assets_cli/
# native_assets_cli: ^0.8.0
native_assets_cli:
path: ../native_assets_cli/
package_config: ^2.1.0
yaml: ^3.1.2
yaml_edit: ^2.1.0
Expand Down
12 changes: 6 additions & 6 deletions pkgs/native_assets_builder/test_data/add_asset_link/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ environment:
dependencies:
logging: ^1.1.1
meta: ^1.12.0
native_assets_cli: ^0.8.0
# native_assets_cli:
# path: ../../../native_assets_cli/
native_toolchain_c: ^0.5.4
# native_toolchain_c:
# path: ../../../native_toolchain_c/
# native_assets_cli: ^0.8.0
native_assets_cli:
path: ../../../native_assets_cli/
# native_toolchain_c: ^0.5.4
native_toolchain_c:
path: ../../../native_toolchain_c/

dev_dependencies:
lints: ^3.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ dependencies:
complex_link_helper:
path: ../complex_link_helper/
logging: ^1.1.1
native_assets_cli: ^0.8.0
# native_assets_cli:
# path: ../../../native_assets_cli/
# native_assets_cli: ^0.8.0
native_assets_cli:
path: ../../../native_assets_cli/

dev_dependencies:
lints: ^3.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ environment:
dependencies:
cli_config: ^0.2.0
logging: ^1.1.1
native_assets_cli: ^0.8.0
# native_assets_cli:
# path: ../../../native_assets_cli/
# native_assets_cli: ^0.8.0
native_assets_cli:
path: ../../../native_assets_cli/

dev_dependencies:
lints: ^3.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ environment:
dependencies:
cyclic_package_2:
path: ../cyclic_package_2
native_assets_cli: ^0.8.0
# native_assets_cli:
# path: ../../../native_assets_cli/
# native_assets_cli: ^0.8.0
native_assets_cli:
path: ../../../native_assets_cli/
yaml: ^3.1.1
yaml_edit: ^2.1.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ environment:
dependencies:
cyclic_package_1:
path: ../cyclic_package_1
native_assets_cli: ^0.8.0
# native_assets_cli:
# path: ../../../native_assets_cli/
# native_assets_cli: ^0.8.0
native_assets_cli:
path: ../../../native_assets_cli/
yaml: ^3.1.1
yaml_edit: ^2.1.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ environment:
dependencies:
logging: ^1.1.1
meta: ^1.12.0
native_assets_cli: ^0.8.0
# native_assets_cli:
# path: ../../../native_assets_cli/
native_toolchain_c: ^0.5.4
# native_toolchain_c:
# path: ../../../native_toolchain_c/
# native_assets_cli: ^0.8.0
native_assets_cli:
path: ../../../native_assets_cli/
# native_toolchain_c: ^0.5.4
native_toolchain_c:
path: ../../../native_toolchain_c/

dev_dependencies:
lints: ^3.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ environment:
sdk: '>=3.3.0 <4.0.0'

dependencies:
native_assets_cli: ^0.8.0
# native_assets_cli:
# path: ../../../native_assets_cli/
# native_assets_cli: ^0.8.0
native_assets_cli:
path: ../../../native_assets_cli/

dev_dependencies:
ffigen: ^8.0.2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ environment:
dependencies:
fail_on_os_sdk_version_linker:
path: ../fail_on_os_sdk_version_linker/
native_assets_cli: ^0.8.0
# native_assets_cli:
# path: ../../../native_assets_cli/
# native_assets_cli: ^0.8.0
native_assets_cli:
path: ../../../native_assets_cli/

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

dependencies:
native_assets_cli: ^0.8.0
# native_assets_cli:
# path: ../../../native_assets_cli/
# native_assets_cli: ^0.8.0
native_assets_cli:
path: ../../../native_assets_cli/

dev_dependencies:
ffigen: ^8.0.2
Expand Down
12 changes: 6 additions & 6 deletions pkgs/native_assets_builder/test_data/native_add/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ environment:

dependencies:
logging: ^1.1.1
native_assets_cli: ^0.8.0
# native_assets_cli:
# path: ../../../native_assets_cli/
native_toolchain_c: ^0.5.4
# native_toolchain_c:
# path: ../../../native_toolchain_c/
# native_assets_cli: ^0.8.0
native_assets_cli:
path: ../../../native_assets_cli/
# native_toolchain_c: ^0.5.4
native_toolchain_c:
path: ../../../native_toolchain_c/

dev_dependencies:
ffigen: ^8.0.2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ environment:

dependencies:
logging: ^1.1.1
native_assets_cli: ^0.8.0
# native_assets_cli:
# path: ../../../native_assets_cli/
native_toolchain_c: ^0.5.4
# native_toolchain_c:
# path: ../../../native_toolchain_c/
# native_assets_cli: ^0.8.0
native_assets_cli:
path: ../../../native_assets_cli/
# native_toolchain_c: ^0.5.4
native_toolchain_c:
path: ../../../native_toolchain_c/

dev_dependencies:
ffigen: ^8.0.2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ dependencies:
logging: ^1.1.1
native_add:
path: ../native_add/
native_assets_cli: ^0.8.0
# native_assets_cli:
# path: ../../../native_assets_cli/
native_toolchain_c: ^0.5.4
# native_toolchain_c:
# path: ../../../native_toolchain_c/
# native_assets_cli: ^0.8.0
native_assets_cli:
path: ../../../native_assets_cli/
# native_toolchain_c: ^0.5.4
native_toolchain_c:
path: ../../../native_toolchain_c/

dev_dependencies:
ffigen: ^8.0.2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ environment:

dependencies:
logging: ^1.1.1
native_assets_cli: ^0.8.0
# native_assets_cli:
# path: ../../../native_assets_cli/
native_toolchain_c: ^0.5.4
# native_toolchain_c:
# path: ../../../native_toolchain_c/
# native_assets_cli: ^0.8.0
native_assets_cli:
path: ../../../native_assets_cli/
# native_toolchain_c: ^0.5.4
native_toolchain_c:
path: ../../../native_toolchain_c/

dev_dependencies:
ffigen: ^8.0.2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ environment:

dependencies:
logging: ^1.1.1
native_assets_cli: ^0.8.0
# native_assets_cli:
# path: ../../../native_assets_cli/
native_toolchain_c: ^0.5.4
# native_toolchain_c:
# path: ../../../native_toolchain_c/
# native_assets_cli: ^0.8.0
native_assets_cli:
path: ../../../native_assets_cli/
# native_toolchain_c: ^0.5.4
native_toolchain_c:
path: ../../../native_toolchain_c/

dev_dependencies:
ffigen: ^8.0.2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ environment:
dependencies:
logging: ^1.1.1
meta: ^1.12.0
native_assets_cli: ^0.8.0
# native_assets_cli:
# path: ../../../native_assets_cli/
# native_assets_cli: ^0.8.0
native_assets_cli:
path: ../../../native_assets_cli/

dev_dependencies:
lints: ^3.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ environment:
sdk: '>=3.3.0 <4.0.0'

dependencies:
native_assets_cli: ^0.8.0
# native_assets_cli:
# path: ../../../native_assets_cli/
# native_assets_cli: ^0.8.0
native_assets_cli:
path: ../../../native_assets_cli/
package_with_metadata:
path: ../package_with_metadata/
yaml: ^3.1.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ environment:
sdk: '>=3.3.0 <4.0.0'

dependencies:
native_assets_cli: ^0.8.0
# native_assets_cli:
# path: ../../../native_assets_cli/
# native_assets_cli: ^0.8.0
native_assets_cli:
path: ../../../native_assets_cli/
yaml: ^3.1.1
yaml_edit: ^2.1.0

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

dependencies:
logging: ^1.1.1
native_assets_cli: ^0.8.0
# native_assets_cli:
# path: ../../../native_assets_cli/
# native_assets_cli: ^0.8.0
native_assets_cli:
path: ../../../native_assets_cli/

dev_dependencies:
lints: ^3.0.0
Expand Down
6 changes: 3 additions & 3 deletions pkgs/native_assets_builder/test_data/simple_link/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ environment:
dependencies:
cli_config: ^0.2.0
logging: ^1.1.1
native_assets_cli: ^0.8.0
# native_assets_cli:
# path: ../../../native_assets_cli/
# native_assets_cli: ^0.8.0
native_assets_cli:
path: ../../../native_assets_cli/

dev_dependencies:
lints: ^3.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ environment:

dependencies:
logging: ^1.1.1
native_assets_cli: ^0.8.0
# native_assets_cli:
# path: ../../../native_assets_cli/
native_toolchain_c: ^0.5.4
# native_toolchain_c:
# path: ../../../native_toolchain_c/
# native_assets_cli: ^0.8.0
native_assets_cli:
path: ../../../native_assets_cli/
# native_toolchain_c: ^0.5.4
native_toolchain_c:
path: ../../../native_toolchain_c/

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

dependencies:
native_assets_cli: ^0.8.0
# native_assets_cli:
# path: ../../../native_assets_cli/
# native_assets_cli: ^0.8.0
native_assets_cli:
path: ../../../native_assets_cli/
yaml: ^3.1.1
yaml_edit: ^2.1.0

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

dependencies:
native_assets_cli: ^0.8.0
# native_assets_cli:
# path: ../../../native_assets_cli/
# native_assets_cli: ^0.8.0
native_assets_cli:
path: ../../../native_assets_cli/
yaml: ^3.1.1
yaml_edit: ^2.1.0

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

dependencies:
native_assets_cli: ^0.8.0
# native_assets_cli:
# path: ../../../native_assets_cli/
# native_assets_cli: ^0.8.0
native_assets_cli:
path: ../../../native_assets_cli/
yaml: ^3.1.1
yaml_edit: ^2.1.0

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

dependencies:
native_assets_cli: ^0.8.0
# native_assets_cli:
# path: ../../../native_assets_cli/
# native_assets_cli: ^0.8.0
native_assets_cli:
path: ../../../native_assets_cli/
yaml: ^3.1.1
yaml_edit: ^2.1.0

Expand Down
Loading

0 comments on commit 20f8160

Please sign in to comment.