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

Publish shelf_router_generator 1.1.1 #467

Merged
merged 2 commits into from
Jan 7, 2025
Merged

Conversation

johnpryan
Copy link
Contributor

I think it's OK to publish this version now.

cc/ @devoncarew @kevmoo

@devoncarew
Copy link
Member

We'll need to rev the changelog version as well:

error: pubspec version (1.1.1) and changelog (1.1.1-wip) don't agree

@devoncarew
Copy link
Member

It looks like the publish task is failing on a separate package:

  Package validation found the following potential issue:
  * The name of "lib/builder.dart", "builder", should match the name of the package, "shelf_router_generator".
    This helps users know what library to import.

I'll file an issue to address this.

Copy link

github-actions bot commented Jan 7, 2025

Package publishing

Package Version Status Publish tag (post-merge)
package:shelf_router_generator 1.1.1 ready to publish shelf_router_generator-v1.1.1
package:shelf 1.4.3-wip WIP (no publish necessary)
package:shelf_packages_handler 3.0.3-wip WIP (no publish necessary)
package:shelf_proxy 1.0.5-wip WIP (no publish necessary)
package:shelf_router 1.1.5-wip WIP (no publish necessary)
package:shelf_static 1.1.3 already published at pub.dev
package:shelf_test_handler 2.0.3-wip WIP (no publish necessary)
package:shelf_web_socket 3.0.0-wip WIP (no publish necessary)

Documentation at https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.

@johnpryan
Copy link
Contributor Author

Can we merge without fixing the builder.dart filename?

@kevmoo
Copy link
Member

kevmoo commented Jan 7, 2025

It looks like the publish task is failing on a separate package:

  Package validation found the following potential issue:
  * The name of "lib/builder.dart", "builder", should match the name of the package, "shelf_router_generator".
    This helps users know what library to import.

I'll file an issue to address this.

This is a convention for builders we've had FOREVER. CC @jakemac53

not sure we want to teach pub about it, though....

johnpryan added a commit to johnpryan/dart-pad that referenced this pull request Jan 7, 2025
@devoncarew devoncarew merged commit bf79951 into master Jan 7, 2025
26 of 27 checks passed
@devoncarew devoncarew deleted the johnpryan-patch-1 branch January 7, 2025 19:56
@jakemac53
Copy link
Contributor

jakemac53 commented Jan 7, 2025

This is a convention for builders we've had FOREVER. CC @jakemac53

not sure we want to teach pub about it, though....

My unpopular opinion is this is a horrible recommendation period 🤣 . We should be doing the opposite and encouraging packages to have many different imports instead of one huge one.

But, in general for this specific issue the builder.dart pattern makes a lot of sense and we shouldn't be changing it. These imports are typically only for builds scripts, not users. We could alter the pattern to move them under lib/src/....

@devoncarew
Copy link
Member

I opened dart-lang/pub#4484 to remove or gain the ability to ignore this warning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants