Skip to content

Refactor TS transpilation in Demos for TypeScript 6 compatibility#34103

Merged
GoodDayForSurf merged 113 commits into
DevExpress:26_1from
GoodDayForSurf:WIP_26_1_use_ng22_in_demos
Jul 2, 2026
Merged

Refactor TS transpilation in Demos for TypeScript 6 compatibility#34103
GoodDayForSurf merged 113 commits into
DevExpress:26_1from
GoodDayForSurf:WIP_26_1_use_ng22_in_demos

Conversation

@GoodDayForSurf

@GoodDayForSurf GoodDayForSurf commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Replaced SystemJS transpiler: 'ts' / plugin-typescript with custom loaders (demo-ts-loader, demo-vue-loader, shared via demo-ts-shared) that transpile on demand through the official typescript API.

Why
plugin-typescript did not give enough control over compiler options needed for TypeScript 6 (e.g. ignoreDeprecations: '6.0', moduleResolution: Bundler). The new loaders own the transpile step and accept per-file typescriptOptions from SystemJS meta (e.g. jsx: 'react' for .tsx).

What changed
All framework configs use transpiler: false with explicit loader rules
TypeScript is loaded lazily (no <script src="typescript.js"> in demo HTML)
Per-framework loaders consolidated into a single demo-ts-loader

GoodDayForSurf and others added 30 commits March 11, 2026 23:41
…26_1_WIP_check_ng22

# Conflicts:
#	pnpm-lock.yaml
…26_1_WIP_check_ng22

# Conflicts:
#	apps/demos/package.json
#	pnpm-lock.yaml
…26_1_WIP_check_ng22

# Conflicts:
#	apps/demos/package.json
#	pnpm-lock.yaml
…26_1_WIP_check_ng22

# Conflicts:
#	pnpm-lock.yaml
…lt for compatibility with previous versions of NG

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

@GoodDayForSurf GoodDayForSurf marked this pull request as draft June 29, 2026 10:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

@GoodDayForSurf GoodDayForSurf changed the title Refacor TS transpilation in demos for new TS versions compatibility Refactor demo TS transpilation to use the official TypeScript API on demand Jun 29, 2026
@GoodDayForSurf GoodDayForSurf changed the title Refactor demo TS transpilation to use the official TypeScript API on demand Refactor demo TS transpilation for TypeScript 6 compatibility Jun 29, 2026
@GoodDayForSurf GoodDayForSurf marked this pull request as ready for review June 29, 2026 12:45
@GoodDayForSurf GoodDayForSurf changed the title Refactor demo TS transpilation for TypeScript 6 compatibility Refactor TS transpilation in Demos for TypeScript 6 compatibility Jun 29, 2026
Copilot AI review requested due to automatic review settings June 29, 2026 16:44

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

@GoodDayForSurf GoodDayForSurf added this pull request to the merge queue Jul 2, 2026
Merged via the queue into DevExpress:26_1 with commit debe1f1 Jul 2, 2026
193 of 197 checks passed
@GoodDayForSurf GoodDayForSurf deleted the WIP_26_1_use_ng22_in_demos branch July 2, 2026 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants