Giter Club home page Giter Club logo

Comments (4)

octogonz avatar octogonz commented on May 14, 2024

Yes, we are planning to upgrade to 2.4 soon. Currently compiler migrations are fairly expensive for us, because we have a large number of projects. So we tend to be a little bit behind the bleeding edge.

We frequently hear from eager adopters who want to stay current with the latest compiler releases. To address this, we are planning to introduce a configuration option for switching between the "latest" and "stable" compiler. (We cannot simply drop in arbitrary compiler builds via package.json, because certain components of our toolchain interact with the compiler and usually need some fixes/debugging to work with a new version.)

from rushstack.

NickSevens avatar NickSevens commented on May 14, 2024

I did manage to use another typescript compiler by adding the following in gulpfile.js:

let typescriptConfig = require("@microsoft/gulp-core-build-typescript/lib/TypeScriptConfiguration").TypeScriptConfiguration;
typescriptConfig.setTypescriptCompiler(require("typescript"));

This ensured the compilation used the npm installed TypeScript version.

from rushstack.

octogonz avatar octogonz commented on May 14, 2024

If it works for you, feel free to use that option. However, we cannot support any incompatibilities that may arise (e.g. tslint rules behaving incorrectly, api-extractor crashes, etc).

from rushstack.

NickSevens avatar NickSevens commented on May 14, 2024

In the end, decided to work around the issues I had with 2.2, instead of changing the compiler version.
Seems to be more reliable, and indeed would keep the compatibility in check.
Thanks for the info though.

from rushstack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.