You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/nx-infra-plugin/AGENTS.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,6 +76,9 @@ Gulp tasks that have been migrated to Nx executor targets (the gulp task is now
76
76
|`generate-community-locales`|`build:community-localization`| Uses `devextreme-nx-infra-plugin:generate-community-locales` to normalize `js/localization/messages/*.json` against `en.json` in place (fills translations, English fallback for missing/`TODO` values, escapes quotes, inherits en's key order/formatting). Target is `cache: false` with no `outputs` (input dir == output dir — a source-normalization task, not a cached build artifact). The gulp task delegates via `shell.task('pnpm nx build:community-localization devextreme')`. |
77
77
|`test-env`|`test-env`| Uses `nx:run-commands` to wrap the existing `node ./testing/launch` script (compiles the QUnit runner, starts the test server on port 20060, opens the browser). `cache: false`, no outputs (long-running server). `cwd` is `{projectRoot}`. The gulp task delegates via `shell.task('pnpm nx test-env devextreme')`. Still a `dev-watch` member, so the gulp registration stays as a delegate; full removal is deferred until `dev-watch` is migrated. |
78
78
|`transpile-systemjs`|`build:systemjs`| Uses `nx:run-commands` (no custom executor — same precedent as `test-env`) to run `node testing/systemjs-builder.js --transpile=<mode>` for each mode (`modules`, `testing`, `css`, `js-vendors`) with `parallel: true` and `cwd: {projectRoot}`, mirroring the old `gulp.parallel`. The transform logic stays entirely in `testing/systemjs-builder.js` (untouched, guaranteeing byte parity); the devextreme-specific script path + mode list live in `project.json`, not in the plugin. `cache: true`, keeps the existing `inputs`/`outputs`/`dependsOn: [build:dev]`. Not a `dev-watch` member, so `build/gulp/systemjs.js`, its `gulpfile.js` require, and the `build:systemjs` npm script were deleted outright (no delegate). CI runs `pnpm exec nx build:systemjs` directly. |
79
+
|`js-bundles-watch`|`bundle:watch`| Webpack watch via `devextreme-nx-infra-plugin:bundle` with `watch: true`. Does not run `compress:bundles`. Gulp delegates via `shell.task('pnpm nx run devextreme:bundle:watch')`. |
80
+
|`js-bundles-prod`|`bundle:prod`| Already delegated via `shell.task('pnpm nx run devextreme:bundle:prod ...')`. |
81
+
|`js-bundles-debug`|`bundle:debug`| Already delegated via `shell.task('pnpm nx run devextreme:bundle:debug ...')`. |
79
82
80
83
When migrating additional gulp tasks, follow the same pattern:
0 commit comments