Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 3 additions & 0 deletions packages/devextreme-dist/LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## Licensing

Consult the [DevExtreme Licensing Page](https://js.devexpress.com/Licensing/) for licensing terms.
20 changes: 20 additions & 0 deletions packages/devextreme-dist/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# DevExtreme Bundles

Contains ready-to-use bundles designed to integrate DevExtreme JavaScript components into jQuery applications (can also be used with frameworks that DevExtreme does not support out of the box).

Visit [js.devexpress.com](https://js.devexpress.com/) to learn more about DevExtreme JavaScript UI components and supported development frameworks.

## Installation and Usage

Install the package and reference DevExtreme scripts and stylesheets within the `<head>` tag of your application's index page. For additional information, refer to the following guides:

- [DevExtreme jQuery/JS - Distribution Channels](https://js.devexpress.com/jQuery/Documentation/Guide/Common/Distribution_Channels/#npm)
- [DevExtreme jQuery/JS - Add DevExtreme to a jQuery Application](https://js.devexpress.com/jQuery/Documentation/Guide/jQuery_Components/Add_DevExtreme_to_a_jQuery_Application/)

## License

See [DevExtreme Licensing](https://js.devexpress.com/Licensing/).

## Support

For technical support, visit the [DevExpress Support Center](https://www.devexpress.com/sc).
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,18 @@
"Responsive-ui",
"Javascript",
"Typescript",
"shadowdom"
"shadowdom"
],
"homepage": "https://js.devexpress.com/",
"bugs": "https://www.devexpress.com/support/",
"license": "SEE LICENSE IN LICENSE.md",
"author": "Developer Express Inc.",
"repository": {
"type": "git",
"url": "https://github.com/DevExpress/DevExtreme.git"
},
"publishConfig": {
"directory": "../devextreme/artifacts/npm/devextreme-dist",
"linkDirectory": true
}
}
1 change: 0 additions & 1 deletion packages/devextreme/.gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
node_modules
/artifacts
!/artifacts/npm/devextreme-dist/package.json
/testing/testcafe/artifacts
/testing/LastSuiteTime.txt
/dotnet_packages
Expand Down
28 changes: 24 additions & 4 deletions packages/devextreme/build/gulp/npm.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ const ctx = require('./context.js');
const env = require('./env-variables.js');
const dataUri = require('./gulp-data-uri').gulpPipe;
const headerPipes = require('./header-pipes.js');
const { packageDir, packageDistDir, isEsmPackage, stringSrc, devextremeDistDir } = require('./utils');
const { packageDir, packageDistDir, isEsmPackage, stringSrc } = require('./utils');

const resultPath = ctx.RESULT_NPM_PATH;
const devextremeDistWorkspacePackageJsonPath = '../devextreme-dist/package.json';

const srcGlobsPattern = (path, exclude) => [
`${path}/**/*.js`,
Expand Down Expand Up @@ -158,9 +159,28 @@ const distPath = `${resultPath}/${packageDistDir}`;
gulp.task('npm-sources', gulp.series(
'ts-sources',
() => gulp
.src(`${resultPath}/${devextremeDistDir}/package.json`)
.pipe(overwriteInternalPackageName())
.pipe(gulpIf(env.BUILD_INTERNAL_PACKAGE, gulp.dest(distPath))),
.src(devextremeDistWorkspacePackageJsonPath)
.pipe(
through.obj((file, enc, callback) => {
const pkg = JSON.parse(file.contents.toString(enc));

pkg.version = ctx.version;
delete pkg.publishConfig;

file.contents = Buffer.from(JSON.stringify(pkg, null, 2));
callback(null, file);
})
)
.pipe(gulpIf(env.BUILD_INTERNAL_PACKAGE, overwriteInternalPackageName()))
.pipe(gulp.dest(distPath)),
() => merge(
gulp
.src('../devextreme-dist/README.md')
.pipe(gulp.dest(distPath)),
gulp
.src('../devextreme-dist/LICENSE.md')
.pipe(gulp.dest(distPath)),
),
sources(srcGlobs, packagePath, distGlobs))
);

Expand Down
1 change: 0 additions & 1 deletion packages/devextreme/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ gulp.task('clean', function(callback) {
'!artifacts/npm/devextreme',
'!artifacts/npm/devextreme/*.json',
'!artifacts/npm/devextreme-dist',
'!artifacts/npm/devextreme-dist/*.json',
]);
cache.clearAll();
callback();
Expand Down
5 changes: 3 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ packages:
- 'apps/*'
- 'e2e/*'
- 'packages/*'
- 'packages/devextreme/artifacts/npm/devextreme-dist'
- '!packages/sbom'

catalog:
Expand Down
Loading