chore: upgrade templates to TypeScript 6#245
Draft
NathanWalker wants to merge 1 commit into
Draft
Conversation
- Bump typescript to ~6.0.0 in all 23 TS-using templates - Remove deprecated baseUrl from tsconfigs (TS5101 hard error in TS 6); make paths mappings relative for identical resolution - Add explicit "strict": false where templates relied on the TS <=5.x default (TS 6 defaults strict on) - Add skipLibCheck to react templates; drop no-op downlevelIteration - Widen typeRoots and add @types/node where types: ["node"] could not resolve (pre-existing TS2688) - Upgrade Angular templates to @angular ~22.0.0, @nativescript/angular ^21.0.0, zone.js ~0.15.0 (Angular 22 is the only line whose peer range allows TypeScript 6) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
Bumps
typescriptto~6.0.0(resolves 6.0.3) across all 23 templates.@angular/*~22.0.0,@nativescript/angular^21.0.0, andzone.js~0.15.0— Angular 18/20 peer-reject TypeScript 6.tsconfig.jsonupdated across all 23 templates: removed deprecatedbaseUrl, relativized path mappings, addedskipLibCheckwhere needed, widenedtypeRoots.Known caveat:
@nativescript/angularhas no stable Angular-22 release yet (only22.0.0-dev.0); this PR uses stable^21.0.0instead, which installs and typechecks cleanly. Revisit once 22.x stable ships.Companion PR in NativeScript/stackblitz-templates upgrades that repo's templates to TypeScript 6 as well.
View session information ↗