Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
16d9d35
chore(nx-infra-plugin): extract containsGlobPattern to shared utils
chaosmirage Apr 22, 2026
faa9922
chore(devextreme): migrate build:aspnet to nx executor
chaosmirage Apr 22, 2026
02aacf2
chore(devextreme): migrate copy:vendor to nx executors
chaosmirage Apr 22, 2026
10854ab
chore(devextreme): migrate bundle:prod compression to nx executors
chaosmirage Apr 23, 2026
c77335e
chore(devextreme): migrate bundle:debug compression to nx executors
chaosmirage Apr 23, 2026
8e0a10a
feat(nx-infra-plugin): add exclude API to compress executor
chaosmirage Apr 23, 2026
b5434d9
chore(devextreme): replace compressionPipes.beautify in npm-sources v…
chaosmirage Apr 27, 2026
a1b0db8
chore(devextreme): replace comporessPipes in transpile.js via inline …
chaosmirage Apr 27, 2026
d559c4f
chore(devextreme): remove compression-pipes.js
chaosmirage Apr 27, 2026
81bb142
chore(nx-infra-plugin): compress executor, align modes with gulp task…
chaosmirage Apr 27, 2026
d343603
chore(devextreme): run copy:vendor sub-targets in parallel
chaosmirage Apr 28, 2026
5091897
chore: bump nx from 22.4.5 to 22.7.0
chaosmirage Apr 28, 2026
86f9a4c
fix(nx-infra-plugin): normalize line endings to os.EOL to match gulp-…
chaosmirage Apr 28, 2026
99239ba
feat(nx-infra-plugin): extend executors for npm-assembly migration
chaosmirage Apr 30, 2026
56da2b6
feat(nx-infra-plugin): dts-modules and dts-bundle executors for npm-a…
chaosmirage Apr 30, 2026
f0c6682
chore(devextreme): add build:npm:dist:package-json and build:npm:dist…
chaosmirage Apr 30, 2026
6182c57
feat(nx-infra-plugin): implement npm-assemble executor
chaosmirage Apr 30, 2026
7f6afb4
feat(nx-infra-plugin): implement scss-assemble executor
chaosmirage Apr 30, 2026
52ee7c9
chore(devextreme): add build:npm composite and dist-flatten target
chaosmirage Apr 30, 2026
6c1867b
chore(devextreme): delegate gulp npm task to nx and delete npm.js
chaosmirage Apr 30, 2026
91e5cb5
chore: rename templatesDir option and derive .js banner files from te…
chaosmirage May 4, 2026
ffc0e90
chore(nx-infra-plugin): centralize licensing defaults via license-def…
chaosmirage May 4, 2026
90925fa
chore(nx-infra-plugin): parallelize independent file-system operation…
chaosmirage May 4, 2026
a7dcd26
chore(nx-infra-plugin): bundle license template with add-license-head…
chaosmirage May 4, 2026
fbf2153
chore(nx-infra-plugin): centralize duplicated logic into shared modules
chaosmirage May 4, 2026
7a7a078
chore(devextreme): extract repeated input patterns to namedInputs
chaosmirage May 4, 2026
f9511e2
chore(devextreme): consolidate variant targets into configurations
chaosmirage May 4, 2026
e9341f0
chore(nx-infra-plugin): absorb wrapper targets into producer executors
chaosmirage May 4, 2026
e0218fe
chore(nx-infra-plugin): default eulaUrl to DEFAULT_EULA_URL in compre…
chaosmirage May 4, 2026
4a3913d
docs(nx-infra-plugin): add AGENTS.md
chaosmirage May 6, 2026
7a4ac30
docs(devextreme): update copilot-instructions.md
chaosmirage May 6, 2026
bc20785
feat(nx-infra-plugin): migrate state_manager production optimization …
chaosmirage May 5, 2026
47ea1d9
feat(nx-infra-plugin): migrate verify:licenses to nx executor
chaosmirage May 5, 2026
0ab3e1c
chore(nx-infra-plugin): standardize executor schema.json to canonical…
chaosmirage May 5, 2026
e81c844
fix(nx-infra-plugin): handle flat transpile layout in state-manager-o…
chaosmirage May 5, 2026
926648a
fix(devextreme): align state-manager:optimize inputs/outputs with dep…
chaosmirage May 5, 2026
fdade2c
fix(nx-infra-plugin): apply license headers AFTER compress beautify t…
chaosmirage May 5, 2026
bf91f5c
fix(nx-infra-plugin): respect BUILD_INTERNAL_PACKAGE env in npm-assemble
chaosmirage May 6, 2026
7350de4
chore: drive internal-mode npm build via Nx configurations
chaosmirage May 6, 2026
d2b34c8
fix(nx-infra-plugin): force LF in license banners and bin/license cop…
chaosmirage May 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
531 changes: 67 additions & 464 deletions .github/copilot-instructions.md

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,6 @@
"defaultBase": "master",
"tui": {
"enabled": false
}
},
"analytics": false
}
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
"nx": {},
"private": true,
"devDependencies": {
"@nx/devkit": "22.4.5",
"@nx/jest": "22.4.5",
"@nx/js": "22.4.5",
"@nx/devkit": "22.7.0",
"@nx/jest": "22.7.0",
"@nx/js": "22.7.0",
"@types/jest": "29.5.14",
"@types/node": "20.12.8",
"@types/shelljs": "0.8.15",
Expand All @@ -48,7 +48,7 @@
"jest": "29.7.0",
"jspdf-autotable": "3.8.4",
"lint-staged": "14.0.1",
"nx": "22.4.5",
"nx": "22.7.0",
"nx-cloud": "19.1.0",
"postcss": "~8.5.10",
"shelljs": "0.8.5",
Expand Down
3 changes: 2 additions & 1 deletion packages/devextreme-angular/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@
"packageJsonPath": "./package.json",
"includePatterns": [
"**/*.ts"
]
],
"mode": "mit"
}
},
"build:ngc": {
Expand Down
3 changes: 2 additions & 1 deletion packages/devextreme-react/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"executor": "devextreme-nx-infra-plugin:add-license-headers",
"options": {
"targetDirectory": "./npm",
"packageJsonPath": "./package.json"
"packageJsonPath": "./package.json",
"mode": "mit"
}
},
"npm:prepare-modules": {
Expand Down
3 changes: 2 additions & 1 deletion packages/devextreme-vue/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"executor": "devextreme-nx-infra-plugin:add-license-headers",
"options": {
"targetDirectory": "./npm",
"packageJsonPath": "./package.json"
"packageJsonPath": "./package.json",
"mode": "mit"
}
},
"copy-files": {
Expand Down
18 changes: 0 additions & 18 deletions packages/devextreme/build/gulp/aspnet.js

This file was deleted.

26 changes: 0 additions & 26 deletions packages/devextreme/build/gulp/check_licenses.js

This file was deleted.

82 changes: 0 additions & 82 deletions packages/devextreme/build/gulp/compression-pipes.js

This file was deleted.

2 changes: 1 addition & 1 deletion packages/devextreme/build/gulp/header-pipes.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const path = require('path');

const context = require('./context.js');

const licenseTemplate = fs.readFileSync(path.join(__dirname, './license-header.txt'), 'utf8');
const licenseTemplate = fs.readFileSync(path.join(__dirname, 'license-header.txt'), 'utf8');

const useStrict = lazyPipe().pipe(function() {
return header('"use strict";\n\n');
Expand Down
34 changes: 10 additions & 24 deletions packages/devextreme/build/gulp/js-bundles.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ const named = require('vinyl-named');
const notify = require('gulp-notify');
const path = require('path');
const plumber = require('gulp-plumber');
const shell = require('gulp-shell');
const webpack = require('webpack');
const webpackStream = require('webpack-stream');

const compressionPipes = require('./compression-pipes.js');
const ctx = require('./context.js');
const headerPipes = require('./header-pipes.js');
const webpackConfig = require('../../webpack.config.js');
Expand Down Expand Up @@ -42,26 +42,11 @@ const getWebpackConfig = () => {
return Object.assign(webpackConfig, { plugins });
};

const bundleProdPipe = lazyPipe()
.pipe(named)
.pipe(() => webpackStream(getWebpackConfig(), webpack, muteWebPack))
.pipe(headerPipes.useStrict)
.pipe(headerPipes.bangLicense)
.pipe(compressionPipes.minify);

const jsBundlesProd = (src, dist, bundles) => (() =>
gulp.src(processBundles(bundles, src))
.pipe(bundleProdPipe())
.pipe(gulp.dest(dist))
);

gulp.task('js-bundles-prod',
jsBundlesProd(
ctx.TRANSPILED_PROD_RENOVATION_PATH,
ctx.RESULT_JS_PATH,
BUNDLES,
)
);
gulp.task('js-bundles-prod', shell.task(
ctx.uglify
? 'pnpm nx run devextreme:bundle:prod -c production'
: 'pnpm nx run devextreme:bundle:prod'
));

function prepareDebugMeta(watch) {
const debugConfig = Object.assign({ watch }, getWebpackConfig());
Expand Down Expand Up @@ -94,16 +79,17 @@ function createDebugBundlesStream(watch, displayName) {
.pipe(webpackStream(debugConfig, webpack, muteWebPack))
.pipe(headerPipes.useStrict())
.pipe(headerPipes.bangLicense())
.pipe(gulpIf(!watch, compressionPipes.beautify()))
.pipe(gulp.dest(destination));

task.displayName = `${displayName}-worker`;

return task;
}

gulp.task('js-bundles-debug', gulp.series(
createDebugBundlesStream(false, 'js-bundles-debug')
gulp.task('js-bundles-debug', shell.task(
ctx.uglify
? 'pnpm nx run devextreme:bundle:debug -c production'
: 'pnpm nx run devextreme:bundle:debug'
));

gulp.task('js-bundles-watch', gulp.parallel(
Expand Down
Loading
Loading