79238263

Date: 2024-11-29 20:16:52
Score: 1
Natty:
Report link

The best way to do it now is through catalogs.

In pnpm-workspace.yaml:

packages:
  - packages/*

# Define a catalog of version ranges.
catalog:
  typescript: ^5.4.2

Then in example/package.json

{
  "name": "example",
  "dependencies": {
    "typescript": "catalog:"
  }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: TheRedWizard