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

The package manifest version block should support version ranges #6

Closed
josephschmitt opened this issue Jun 29, 2021 · 0 comments
Closed
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@josephschmitt
Copy link
Owner

So we can point pnpm <6 to different options (like the bins being different names)

name = "pnpm"
description = "Fast, disk space efficient package manager"
test = "pnpm --version"
exec = "node"
bins = {
  "pnpm": "bin/pnpm.cjs",
  "pnpx": "bin/pnpx.cjs",
}
source = "https://registry.npmjs.org/pnpm/-/pnpm-${version}.tgz"
extract = "tar xz -C ${output} --strip-components=1"

version "<6" {
  bins = {
    "pnpm": "bin/pnpm.js",
    "pnpx": "bin/pnpx.js",
  }
}
@josephschmitt josephschmitt added this to the v1.0.0 milestone Jun 29, 2021
@josephschmitt josephschmitt self-assigned this Jun 29, 2021
@josephschmitt josephschmitt added the enhancement New feature or request label Jun 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant