Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Use bounded typescript version? #159

@oliviertassinari

Description

@oliviertassinari

The following change in my yarn.lock is breaking our typescript tests:

typescript@next:
-  version "3.2.0-dev.20181004"
-  resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.2.0-dev.20181004.tgz#ac75518858a134a7a3345b23c67ce5c6333279f6"
-  integrity sha512-Z23RIddFV2Nnze2j4AT/NewQ9aeMOzxVYKUZwDormi/eKL/6v7SlHIelXpweVYIHy6gPpV1HMhFxBQ4+f8TrxA==
+  version "3.2.0-dev.20181117"
+  resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.2.0-dev.20181117.tgz#58a8cab074668a0e33ced2bc3c537dc5531c6eee"
+  integrity sha512-SWiOhEQfhelK6Jb6g2fU2AHUnXhY10xeCVweMZCAlmTGKiDhq5inJfn3cHNPNcRd3xFLAsEdE2Wqdoz8iCy4OA==

Turn out, that change was allowed by this dependency typescript scope:
https://github.com/Microsoft/dtslint/blob/73a196741d5b6ca9af7f6ef68ef4ee3e801ac4b5/package.json#L31

Wouldn't it be better to have scoped version, not allowing any typescript version that might break in the future?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions