Upgrade TypeScript compiler to 7.0.2 - #2767
Open
ConnorQi01 wants to merge 7 commits into
Open
Conversation
…t-7-rc # Conflicts: # package-lock.json # package.json
Contributor
|
/azp run |
|
Azure Pipelines: Successfully started running 1 pipeline(s). 1 pipeline(s) were filtered out due to trigger conditions. |
Collaborator
Author
|
/azp run |
|
Azure Pipelines: Successfully started running 1 pipeline(s). 1 pipeline(s) were filtered out due to trigger conditions. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Upgrade the build compiler to TypeScript 7.0.2 while keeping TypeScript 6.0.2 available exclusively for tooling that still depends on the legacy compiler JavaScript API.
Changes
typescriptdependency for ESLint and legacy tooling.typescript-7as an npm alias to TypeScript 7.0.2 and invoke its CLI for project compilation.gulp-preprocesswith line-preserving preprocessing so conditional compilation does not shift generated JavaScript source positions.@typescript/native-preview,gulp-typescript,ts-loader,ts-node,gulp-preprocess, andgulp-sourcemaps.reactNative.publishToExpHostregistered-command expectation; the command is absent from both source and the extension manifest.master, including current dependency security fixes.Validation
npm cipassed.npm run buildpassed with 0 errors and 158 existing warnings.npx gulp webpack-bundlepassed.npm testpassed: 318 tests, 0 failures, 1 skipped. ThecommandsRegisteredand stubbed browser-launch tests pass.npx gulppassed.npm run smoke-buildpassed; the VSIX contains 106 files and is 4.79 MB.rn-extension.js:56back torn-extension.ts:13.Closes #2764