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

Use tilde (~) istead of ^ for NPM package dependencies (MVC UI) #4506

Closed
hikalkan opened this issue Jun 27, 2020 · 1 comment
Closed

Use tilde (~) istead of ^ for NPM package dependencies (MVC UI) #4506

hikalkan opened this issue Jun 27, 2020 · 1 comment

Comments

@hikalkan
Copy link
Member

@AkinSabriCam you can ask to @mehmet-erim if you don't understand.

Basically, we will change all NPM package dependencies to use "~..." instead od "^...".

Example: Current one:

{
  "version": "2.9.0",
  "name": "@abp/anchor-js",
  "publishConfig": {
    "access": "public"
  },
  "dependencies": {
    "@abp/core": "^2.9.0",
    "anchor-js": "^4.2.2"
  },
  "gitHead": "bb4ea17d5996f01889134c138d00b6c8f858a431"
}

The new one:

{
  "version": "2.9.0",
  "name": "@abp/anchor-js",
  "publishConfig": {
    "access": "public"
  },
  "dependencies": {
    "@abp/core": "~2.9.0",
    "anchor-js": "~4.2.2"
  },
  "gitHead": "bb4ea17d5996f01889134c138d00b6c8f858a431"
}

Do it for all packs inside the /npm/packs, templates and other places if there are.

@yekalkan is our update system compatible to this change?

@yekalkan
Copy link
Member

@yekalkan is our update system compatible to this change?

yes.

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

No branches or pull requests

3 participants