Skip to content

chore(deps): declare jquery peer, devextreme & jquery peer-only, commit nojquery package.json and lock - #755

Merged
mpreyskurantov merged 2 commits into
DevExpress:masterfrom
mpreyskurantov:deps-peers-jquery
Dec 4, 2026
Merged

mpreyskurantov merged 2 commits into
DevExpress:masterfrom
mpreyskurantov:deps-peers-jquery

Conversation

@mpreyskurantov

Copy link
Copy Markdown
Contributor
  • devextreme-aspnet-data: declare jquery >=1.10.0 as a peer next to devextreme >=18.1.0 (require("jquery") was undeclared; 1.10 is DevExtreme's own floor).
    • devextreme and jquery are peers only, not repeated in devDependencies, so SBOM tools don't scope them as dev/optional or drop them. npm 7+ installs them, and the lock pins the tested DevExtreme 26.1.7 and jQuery 4.1.0. devextreme-dist 26.1.7 stays a devDependency for the <script> tests and net/Sample; @types/jquery 4.0.1.
  • devextreme-aspnet-data-nojquery: js-nojquery/package.json (generated, devextreme peer only, no devDependencies, so no such SBOM issue) and a new js-nojquery/package-lock.json are committed; CI fails if the package.json is stale.
  • Both locks re-created as v3 and in sync; npm audit: 0.
  • Docs: requirements (full jQuery build), jsDelivr instead of unpkg, Bower and bower.json removed.

Published files are unchanged; the devextreme-aspnet-data manifest gains the jquery peer.

@mpreyskurantov mpreyskurantov self-assigned this Dec 4, 2026
@mpreyskurantov mpreyskurantov added dependencies Pull requests that update a dependency file CI labels Dec 4, 2026
@mpreyskurantov
mpreyskurantov merged commit 55ddb47 into DevExpress:master Dec 4, 2026
8 checks passed
@mpreyskurantov
mpreyskurantov deleted the deps-peers-jquery branch December 4, 2026 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants