Skip to content

Refactor TS transpilation in Demos for TypeScript 6 compatibility#34103

Open
GoodDayForSurf wants to merge 112 commits into
DevExpress:26_1from
GoodDayForSurf:WIP_26_1_use_ng22_in_demos
Open

Refactor TS transpilation in Demos for TypeScript 6 compatibility#34103
GoodDayForSurf wants to merge 112 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
@GoodDayForSurf GoodDayForSurf changed the title WIP. Use ng22 in demos Refacor TS transpilation in demos for new TS versions compatibility Jun 26, 2026
…WIP_26_1_use_ng22_in_demos

# Conflicts:
#	apps/demos/configs/Angular/config.js
#	apps/demos/configs/React/config.js
#	apps/demos/configs/ReactJs/config.js
#	apps/demos/configs/Vue/config.js
#	apps/demos/utils/demo-ts-loader.js
#	apps/demos/utils/demo-vue-loader.js
#	pnpm-lock.yaml
@github-actions github-actions Bot removed the .d.ts label Jun 26, 2026
@GoodDayForSurf GoodDayForSurf marked this pull request as ready for review June 29, 2026 10:41
@GoodDayForSurf GoodDayForSurf requested review from a team and Copilot June 29, 2026 10:41
@GoodDayForSurf GoodDayForSurf requested review from a team as code owners June 29, 2026 10:41

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.

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.

3 participants