Skip to content

chore(devextreme): migrate build:vectormap target to nx executors#33368

Open
chaosmirage wants to merge 9 commits into26_1from
chore/migrate-devextreme-to-nx-part-7
Open

chore(devextreme): migrate build:vectormap target to nx executors#33368
chaosmirage wants to merge 9 commits into26_1from
chore/migrate-devextreme-to-nx-part-7

Conversation

@chaosmirage
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR continues the DevExtreme-to-Nx migration by replacing the Gulp-based vectormap build pipeline with dedicated Nx Infra Plugin executors, and introducing a reusable compress executor to minify/beautify JS outputs as part of the Nx build graph.

Changes:

  • Added vectormap executor to generate vectormap utility bundles and region data modules from sources/templates.
  • Added compress executor (minify/beautify + optional #DEBUG stripping) and wired it into devextreme’s vectormap production build.
  • Removed the legacy build/gulp/vectormap.js task and routed the gulp vectormap entrypoint to Nx targets.

Reviewed changes

Copilot reviewed 15 out of 16 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
pnpm-lock.yaml Lockfile updates reflecting new dependencies and resolution changes.
packages/nx-infra-plugin/src/utils/file-operations.ts Adds EOL normalization + trailing newline helpers used by new executors.
packages/nx-infra-plugin/src/executors/vectormap/schema.ts TypeScript schema for the new vectormap executor options.
packages/nx-infra-plugin/src/executors/vectormap/schema.json JSON schema for vectormap executor configuration.
packages/nx-infra-plugin/src/executors/vectormap/executor.ts Implements vectormap utils bundling + data generation workflow.
packages/nx-infra-plugin/src/executors/vectormap/executor.e2e.spec.ts E2E coverage for vectormap generation.
packages/nx-infra-plugin/src/executors/compress/schema.ts TypeScript schema for the new compress executor options.
packages/nx-infra-plugin/src/executors/compress/schema.json JSON schema for compress executor configuration.
packages/nx-infra-plugin/src/executors/compress/executor.ts Implements minify/beautify + debug stripping using terser/js-beautify.
packages/nx-infra-plugin/src/executors/compress/executor.e2e.spec.ts E2E coverage for compression behaviors and license preservation.
packages/nx-infra-plugin/package.json Adds terser and js-beautify dependencies for the compress executor.
packages/nx-infra-plugin/executors.json Registers the new vectormap and compress executors.
packages/devextreme/project.json Replaces gulp vectormap run-command with Nx vectormap pipeline (generate/headers/compress).
packages/devextreme/gulpfile.js Removes old vectormap gulp include and forwards gulp vectormap to Nx targets.
packages/devextreme/build/gulp/vectormap.js Removes the legacy vectormap gulp implementation.
.github/copilot-instructions.md Documents the new build:vectormap target and executors.

Comment thread packages/nx-infra-plugin/src/utils/file-operations.ts Outdated
Comment thread packages/nx-infra-plugin/src/executors/vectormap/executor.ts Outdated
Comment thread packages/nx-infra-plugin/src/executors/compress/executor.ts
@chaosmirage chaosmirage changed the title Chore/migrate devextreme to nx part 7 chore(devextreme): migrate build:vectormap target to nx executors Apr 21, 2026
@chaosmirage chaosmirage force-pushed the chore/migrate-devextreme-to-nx-part-7 branch from bc9e058 to 00117e8 Compare April 21, 2026 13:58
@chaosmirage chaosmirage requested a review from alexslavr April 21, 2026 13:58
@chaosmirage chaosmirage marked this pull request as ready for review April 21, 2026 14:32
@chaosmirage chaosmirage requested a review from a team as a code owner April 21, 2026 14:32
Copilot AI review requested due to automatic review settings April 21, 2026 14:32
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 15 out of 16 changed files in this pull request and generated 4 comments.

Comment thread packages/devextreme/project.json
Comment thread packages/nx-infra-plugin/src/executors/vectormap/schema.json
Comment thread packages/nx-infra-plugin/src/executors/compress/schema.json
Comment thread pnpm-lock.yaml
@chaosmirage chaosmirage force-pushed the chore/migrate-devextreme-to-nx-part-7 branch from 00117e8 to f54034a Compare April 22, 2026 07:32
Copilot AI review requested due to automatic review settings April 24, 2026 13:06
@chaosmirage chaosmirage force-pushed the chore/migrate-devextreme-to-nx-part-7 branch from f54034a to 6502e7d Compare April 24, 2026 13:06
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 14 out of 15 changed files in this pull request and generated 4 comments.

Comment thread packages/devextreme/project.json
Comment thread packages/nx-infra-plugin/src/executors/vectormap/executor.ts
Comment thread packages/nx-infra-plugin/src/executors/compress/executor.ts Outdated
Comment thread packages/nx-infra-plugin/src/executors/vectormap/schema.json Outdated
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