ai / size-limit

Calculate the real cost to run your JS app or lib to keep good performance. Show error in pull request if the cost exceeds the limit.
MIT License
6.52k stars 1.82k forks source link

Unsupported URL Type "workspace:": workspace:7.0.5 #279

Closed Alduino closed 2 years ago

Alduino commented 2 years ago

In version 7.0.6, running npm install in a package with @size-limit/preset-small-lib installed fails with the error in the title.

I think it is because preset-small-lib depends on size-limit packages with versions that require exactly workspace:7.0.5, which doesn't exist any more. Maybe this should be workspace:^7.0.5? (packages/preset-small-lib/package.json)

ai commented 2 years ago

Thanks. Fixed c65cb59

ai commented 2 years ago

The fix was released in 7.0.8.