Gulp to nx: Migrate transpile watch and transpile tests. add new watch helper#34339
Merged
ajivanyandev merged 12 commits intoJul 17, 2026
Conversation
Signed-off-by: Aliullov Vlad <91639107+GoodDayForSurf@users.noreply.github.com> Co-authored-by: Andrey Vorobev <738482+vorobey@users.noreply.github.com>
vorobey
reviewed
Jul 16, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR continues the “Gulp → Nx” migration by moving transpile watch and transpile test transpilation behavior into Nx targets/executors, while adding a shared watch helper to centralize chokidar-based watch behavior across executors.
Changes:
- Added a shared
watchWithChokidarhelper and refactoredconcatenate-fileswatch mode to reuse it. - Added
watchmode support tobuild-typescript(TypeScript watch program) andbabel-transform(file-level incremental chokidar watch), including new e2e coverage. - Updated DevExtreme project targets and legacy gulp tasks to delegate to the new Nx targets; adjusted Babel config/dependencies for transpile-tests.
Reviewed changes
Copilot reviewed 18 out of 19 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| pnpm-lock.yaml | Lockfile updates for newly added/updated Babel plugin deps. |
| packages/nx-infra-plugin/src/utils/watch.ts | New shared chokidar loader + debounced watch loop helper for executors. |
| packages/nx-infra-plugin/src/utils/index.ts | Re-exported new watch utilities. |
| packages/nx-infra-plugin/src/executors/concatenate-files/concatenate-files.impl.ts | Removed local chokidar/watch loop; now uses shared watch helper. |
| packages/nx-infra-plugin/src/executors/build-typescript/schema.ts | Added watch?: boolean option to executor schema typing. |
| packages/nx-infra-plugin/src/executors/build-typescript/schema.json | Added watch option to executor JSON schema. |
| packages/nx-infra-plugin/src/executors/build-typescript/executor.e2e.spec.ts | Added e2e coverage for build-typescript watch mode + SIGINT shutdown. |
| packages/nx-infra-plugin/src/executors/build-typescript/build-typescript.impl.ts | Implemented TypeScript watch mode with per-emit alias resolution. |
| packages/nx-infra-plugin/src/executors/babel-transform/schema.ts | Made configKey optional; added watch?: boolean. |
| packages/nx-infra-plugin/src/executors/babel-transform/schema.json | Made configKey optional in JSON schema; added watch option. |
| packages/nx-infra-plugin/src/executors/babel-transform/executor.e2e.spec.ts | Added e2e coverage for flat config and watch mode with a chokidar mock. |
| packages/nx-infra-plugin/src/executors/babel-transform/babel-transform.impl.ts | Added watch mode (chokidar + incremental per-file rebuild) and flat-config support. |
| packages/nx-infra-plugin/AGENTS.md | Documented the new shared watch helper as the standard approach for watch executors. |
| packages/devextreme/testing/tests.babelrc.json | Updated module transform plugin reference to the modern package name. |
| packages/devextreme/project.json | Added new Nx targets for watch transpilation and transpile-tests, plus orchestration target. |
| packages/devextreme/package.json | Added Babel plugins needed by updated tests transpilation config. |
| packages/devextreme/build/gulp/transpile.js | Replaced gulp implementation with thin Nx-delegating tasks (transitional). |
| packages/devextreme/build/gulp/transpile-config.js | Adjusted transpile Babel config plugins. |
| .github/copilot-instructions.md | Documented the new Nx commands for watch transpile and transpile-tests. |
Files not reviewed (1)
- pnpm-lock.yaml: Generated file
remove dev-watch, migrate to nx
vorobey
self-requested a review
July 17, 2026 09:28
vorobey
approved these changes
Jul 17, 2026
vorobey
force-pushed
the
feature/gulp-to-nx-migration
branch
from
July 17, 2026 09:44
63450e8 to
283094c
Compare
GoodDayForSurf
approved these changes
Jul 17, 2026
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Arman Jivanyan <arman.jivanyan@devexpress.com>
ajivanyandev
force-pushed
the
gulp/transpile-watch
branch
from
July 17, 2026 11:10
0fdcf6f to
08bf589
Compare
…into gulp/transpile-watch # Conflicts: # packages/devextreme/build/gulp/bundler-config.js # packages/devextreme/gulpfile.js # packages/devextreme/package.json # packages/nx-infra-plugin/AGENTS.md # packages/nx-infra-plugin/src/executors/concatenate-files/concatenate-files.impl.ts
ajivanyandev
merged commit Jul 17, 2026
d582475
into
DevExpress:feature/gulp-to-nx-migration
97 of 100 checks passed
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.
No description provided.