Meteor-Community-Packages / meteor-typescript

Typescript compiler package
https://packosphere.com/refapp/meteor-typescript
MIT License
5 stars 2 forks source link

dependency conflict with meteor 1.12 #4

Closed MastroLindus closed 3 years ago

MastroLindus commented 3 years ago

Error while trying to add this package to a meteor 1.12 setup:

`meteor add refapp:meteor-typescript => Errors while adding packages:

While selecting package versions: error: Conflict: Constraint typescript@3.7.5 is not satisfied by typescript 4.1.2. Constraints on package "typescript":

perbergland commented 3 years ago

Ah OK yeah Typescript doesn’t use semantic versioning so the dependency check fails. Need to investigate how to relax this…

perbergland commented 3 years ago

This is the fix, thx to Jordan Baker for the sample code

  api.use(["typescript@3.0.0||4.0.0"], "server"); // For compiling this package
perbergland commented 3 years ago

Fixed in 0.3.2, just published