Skip to content

fix peer dependencies syntax to use || instead of ,#73

Open
abdulrahman-khankan wants to merge 1 commit into
juliankrispel:masterfrom
abdulrahman-khankan:patch-1
Open

fix peer dependencies syntax to use || instead of ,#73
abdulrahman-khankan wants to merge 1 commit into
juliankrispel:masterfrom
abdulrahman-khankan:patch-1

Conversation

@abdulrahman-khankan
Copy link
Copy Markdown

Fix syntax error npm error Invalid tag name "^16.8.0,^17.x,^18.x" of package "react@^16.8.0,^17.x,^18.x".

npm expects || for multiple version ranges, not ,

range1 || range2 Passes if either range1 or range2 are satisfied.
Example: "qux": "<1.0.0 || >=2.3.1 <2.4.5 || >=2.5.2 <3.0.0",
Source: https://docs.npmjs.com/cli/v11/configuring-npm/package-json

Fix syntax error `npm error Invalid tag name "^16.8.0,^17.x,^18.x" of package "react@^16.8.0,^17.x,^18.x"`.

`npm` expects `||` for multiple version ranges, not `,`

> range1 || range2 Passes if either range1 or range2 are satisfied.
> Example: `"qux": "<1.0.0 || >=2.3.1 <2.4.5 || >=2.5.2 <3.0.0",`
Source: https://docs.npmjs.com/cli/v11/configuring-npm/package-json
@abdulrahman-khankan
Copy link
Copy Markdown
Author

@juliankrispel Can you please take a look and release this

@abdulrahman-khankan abdulrahman-khankan changed the title fix peer dependencies syntax fix peer dependencies syntax to use ` Dec 17, 2025
@abdulrahman-khankan abdulrahman-khankan changed the title fix peer dependencies syntax to use ` fix peer dependencies syntax to use || instead of , Dec 17, 2025
@abdulrahman-khankan
Copy link
Copy Markdown
Author

@juliankrispel Can you please take a look and release this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant