Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support package alias #503

Open
mrdulin opened this issue Feb 16, 2023 · 0 comments
Open

Support package alias #503

mrdulin opened this issue Feb 16, 2023 · 0 comments

Comments

@mrdulin
Copy link

mrdulin commented Feb 16, 2023

npm install <alias>@npm:<name>

Install a package under a custom alias.

My packages:

"antd": "^3.26.20",
"antd-v4": "npm:antd@^4.22.3",
"antd-v5": "npm:antd@^5.0.5",
$ npm-check -u

 Major Update Potentially breaking API changes. Use caution.
 ◯ @ant-design/icons                        4.8.0    ❯  5.0.1    https://github.com/ant-
design/ant-design-icons/tree/master#readme
 ◯ antd                                     3.26.20  ❯  5.2.1    https://ant.design
❯◯ react                                    16.14.0  ❯  18.2.0   https://reactjs.org/

As you can see, only the antd package is on the list, antd-v4 and antd-v5 are not on the list.

$ npm-check --version
6.0.1
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

No branches or pull requests

1 participant