Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Schniz
Copy link
Owner

@Schniz Schniz commented Oct 6, 2024

  • bump Rust to 1.81
  • feat: enable --resolve-engines by default. out of experimental phase!
  • add changeset

cc @amitdahan for this wonderful feature that is more than 1yr old now

@Schniz Schniz self-assigned this Oct 6, 2024
@changeset-bot
Copy link

changeset-bot bot commented Oct 6, 2024

🦋 Changeset detected

Latest commit: 32dd9c7

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
fnm Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Oct 6, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
fnm ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 13, 2024 9:29am


env:
RUST_VERSION: "1.78"
RUST_VERSION: "1.81"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Related?

Comment on lines +16 to +19
#[expect(
clippy::option_option,
reason = "clap Option<Option<T>> supports --x and --x=value syntaxes"
)]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Related?

clippy::option_option,
reason = "clap Option<Option<T>> supports --x and --x=value syntaxes"
)]
resolve_engines: Option<Option<bool>>,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is it Option<Option<bool>> and not Option<bool>?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because Option<Option<bool>> means that --resolve-engines will work and so will --resolve-engines=false

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ugh

So --resolve-engines is Some(None), and --resolve-engines=false is Some(Some(false))?

@Schniz Schniz merged commit 186e4bb into master Oct 13, 2024
17 checks passed
@Schniz Schniz deleted the merge-experimental-featurse branch October 13, 2024 09:49
@github-actions github-actions bot mentioned this pull request Oct 10, 2024
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.

2 participants