Comments (4)
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.
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.
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.
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)
- [rush] browser-approved-packages.json is not updated when dependencies are removed HOT 2
- [rush] `rush install --only .` installs all dependencies in the monorepo instead of only the dependencies in current folder/project HOT 10
- [@rushstack/terminal] Remove support for the legacy `IColorableSequence` objects.
- [heft-jest] In watch mode, changedFiles should only remove files that match before/after the run HOT 1
- [heft-typescript] Bound current directory in sys.watchFile and sys.watchDirectory
- [rush] Make `install` and `update` log package manager to a file in common/temp
- [api-documenter]
- [rush] Find rush.json location by using 'dirname' at most 10 times HOT 8
- [api-extractor] Allow generation of API reports per release level HOT 1
- [api-extractor] Internal Error: Unable to follow symbol for "Set" HOT 1
- [eslint-patch] Upgrade to ESLint 9 HOT 1
- [rush] Latest Node LTS security patch for spawnSync breaks rush on Windows HOT 1
- [rush] Medium - <CVE-2024-28863> -6.5 - Vulnerability in βtar6.1.15β
- [api-extractor] Union types extracted from declaration files are unstable
- [rush] tab-complete fails to complete project list after `--to` HOT 1
- [api-extractor] Better support for nominal types
- [rush] rush add -p <package> always installs as if `--all` is specified HOT 3
- [heft] `set-environment-variables-plugin` variables remain set in unrelated phases
- [rush] The source code address for the 'rush build' command.
- [rush] Cannot publish: getting ENEEDAUTH even though I'm already authenticated HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rushstack.