Skip to content

Commit d6d2878

Browse files
committed
feat(semver): add support for Nx 21 in peerDependencies
This change ensures that the semver package can be used in Nx workspaces upgraded to version 21. The update mirrors the existing structure that already supported Nx 18, 19, and 20. No changes were made to the implementation logic, only to peerDependencies and yarn.lock to reflect compatibility.
1 parent 7110ee9 commit d6d2878

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/semver/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"url": "https://github.com/jscutlery/semver"
1414
},
1515
"peerDependencies": {
16-
"@nx/devkit": "^18.0.0 || ^19.0.0 || ^20.0.0"
16+
"@nx/devkit": "^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0"
1717
},
1818
"dependencies": {
1919
"chalk": "4.1.2",

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2102,7 +2102,7 @@ __metadata:
21022102
inquirer: "npm:8.2.6"
21032103
rxjs: "npm:7.8.2"
21042104
peerDependencies:
2105-
"@nx/devkit": ^18.0.0 || ^19.0.0 || ^20.0.0
2105+
"@nx/devkit": ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0
21062106
languageName: unknown
21072107
linkType: soft
21082108

0 commit comments

Comments
 (0)