Skip to content
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

move bindings_generator/ to tool/generator/ #138

Merged
merged 1 commit into from
Jan 11, 2024
Merged

Conversation

devoncarew
Copy link
Member

  • move bindings_generator/ to tool/generator/

pub publish validation complains about code in bindings_generator/ using dev_dependency deps instead of regular dependency deps; I don't believe it's correct (code in bindings_generator/ should not be contributing to regular deps) but this change will allow us to use publishing automation again.

cc @jonasfj @sigurdm


  • I’ve reviewed the contributor guide and applied the relevant portions to this PR.
Contribution guidelines:

Note that many Dart repos have a weekly cadence for reviewing PRs - please allow for some latency before initial review feedback.

@devoncarew devoncarew merged commit dd4bb85 into main Jan 11, 2024
11 checks passed
@devoncarew devoncarew deleted the move_generator branch January 11, 2024 20:19
@sigurdm
Copy link

sigurdm commented Jan 12, 2024

Is there an easy way to reproduce the validation error? Sounds like something we want to fix.

@devoncarew
Copy link
Member Author

Yes, the project from this commit:

bd89f7c

has the previous directory structure. After a pub get, you can repro the issue w/ dart pub publish --dry-run.

Essentially, I was expecting the top-level bindings_generator/ dir to use deps from dev_dependencies (and dependencies), but the validator needed all the packages used in that directory to be satisfied from the regular pubspec dependencies.

srujzs added a commit to srujzs/web that referenced this pull request Jan 22, 2024
Generate extension type bindings

Generate extension types instead of classes

Refactors some code around overrides so we don't emit @js
unless they're needed.

Updates code_builder dep to 4.10.0 and dart_style to 2.3.4.

Clean up JS supertype generation

contribute a fix_data.yaml file to enable 'dart fix' renames (dart-lang#141)

contribute a fix_data.yaml file to enable 'dart fix' renames

collect MDN API information (dart-lang#130)

collect MDN info for use in API documentation

Redeprecate deprecated APIs in 0.4.1 (dart-lang#142)

Undeprecate some APIs and prepare for publish of 0.4.2 (dart-lang#140)

move bindings_generator/ to tool/generator/ (dart-lang#138)

rev to 0.4.1 in preparation for publishing (dart-lang#135)

Update generate copyright year to 2024 (dart-lang#136)

Change-Id: I0f90fc08fd7871f8331f42c158cb7ba34e6bf887
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants