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

🚀 Feature: support pnpm 9.5 workspace version range feature - catalog #509

Open
3 tasks done
heggria opened this issue Sep 13, 2024 · 3 comments
Open
3 tasks done
Labels
status: accepting prs Please, send a pull request to resolve this! type: feature New enhancement or request

Comments

@heggria
Copy link

heggria commented Sep 13, 2024

Bug Report Checklist

  • I have tried restarting my IDE and the issue persists.
  • I have pulled the latest main branch of the repository.
  • I have searched for related issues and found none that matched my issue.

Overview

Reference: https://pnpm.io/catalogs

In version 9.5, pnpm introduced a new feature called catalog, which allows for the declaration of global variables for package version ranges.

As a result, the following syntax should no longer trigger the error Invalid version range for dependency react: catalog:.

{
  "name": "@example/app",
  "dependencies": {
    "react": "catalog:",
    "redux": "catalog:"
  }
}

Additional Info

No response

@heggria heggria added the type: feature New enhancement or request label Sep 13, 2024
@JoshuaKGoldberg JoshuaKGoldberg added the status: accepting prs Please, send a pull request to resolve this! label Sep 13, 2024
@JoshuaKGoldberg
Copy link
Owner

Very cool feature!

@JoshuaKGoldberg
Copy link
Owner

@all-contributors please add @heggria for ideas.

🤖 Beep boop! This comment was added automatically by all-contributors-auto-action.
Not all contributions can be detected from Git & GitHub alone. Please comment any missing contribution types this bot missed.
...and of course, thank you for contributing! 💙

Copy link
Contributor

@JoshuaKGoldberg

I've put up a pull request to add @heggria! 🎉

JoshuaKGoldberg pushed a commit that referenced this issue Sep 13, 2024
Adds @heggria as a contributor for ideas.

This was requested by JoshuaKGoldberg [in this
comment](#509 (comment))

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: accepting prs Please, send a pull request to resolve this! type: feature New enhancement or request
Projects
None yet
Development

No branches or pull requests

2 participants