Giter Site home page Giter Site logo

Comments (3)

raineorshine avatar raineorshine commented on June 2, 2024

Hi, thanks for reporting. Please provide a sample package.json so that I can be sure I am running npm-check-updates on the same packages as you.

from npm-check-updates.

JosephLteif avatar JosephLteif commented on June 2, 2024

"dependencies": {
"@angular/animations": "^9.1.0",
"@angular/common": "^9.1.0",
"@angular/compiler": "^9.1.0",
"@angular/core": "^9.1.0",
"@angular/flex-layout": "^9.0.0-beta.29",
"@angular/forms": "^9.1.0",
"@angular/platform-browser": "^9.1.0",
"@angular/platform-browser-dynamic": "^9.1.0",
"@angular/router": "^9.1.0",
"@auth0/angular-jwt": "^5.0.2",
"@ngxs/store": "^3.6.2",
"@nrwl/angular": "9.2.2",
"ag-grid-angular": "^23.0.3",
"ag-grid-community": "^23.0.2",
"angular-oauth2-oidc": "^10.0.3",
"angular-oauth2-oidc-jwks": "^9.0.0",
"angular-resizable-element": "^3.3.0",
"angular-resize-event": "^1.2.1",
"angular-split": "^3.0.3",
"core-js": "^2.5.4",
"immer": "^6.0.3",
"lodash.isequal": "^4.5.0",
"monaco-editor": "^0.20.0",
"ng-zorro-antd": "9.2.0",
"ngx-matomo": "^0.1.4",
"ngx-monaco-editor": "^9.0.0",
"ngx-spinner": "^9.0.2",
"rxjs": "~6.5.4",
"zone.js": "^0.10.2",
"npm-check-updates": "^16.14.11"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.901.8",
"@angular/cli": "9.1.0",
"@angular/compiler-cli": "^9.1.0",
"@angular/language-service": "^9.1.0",
"@ngxs/devtools-plugin": "^3.6.2",
"@nrwl/jest": "9.2.2",
"@nrwl/workspace": "9.2.2",
"@types/jest": "25.1.4",
"@types/node": "~8.9.4",
"codelyzer": "~5.0.1",
"dotenv": "6.2.0",
"eslint": "6.8.0",
"husky": "^4.2.5",
"jest": "25.2.3",
"jest-auto-spies": "^1.0.2",
"jest-html-reporter": "^3.1.3",
"jest-preset-angular": "8.1.2",
"lint-staged": "^10.5.4",
"npm-run-all": "^4.1.5",
"prettier": "1.19.1",
"reload": "^3.1.1",
"ts-jest": "25.2.1",
"ts-node": "~7.0.0",
"tslint": "~6.0.0",
"typescript": "~3.8.3",
"webpack": "^4.42.0",
"webpack-dev-server": "^3.11.2"
}

This is a sample of a package.json file that I am using

from npm-check-updates.

raineorshine avatar raineorshine commented on June 2, 2024

I tried it out on an abbreviated package.json:

{
  "dependencies": {
    "@angular/animations": "^9.1.0",
    "@angular/common": "^9.1.0",
    "@angular/compiler": "^9.1.0",
    "@angular/core": "^9.1.0",
    "@angular/router": "^9.1.0",
    "ag-grid-angular": "^23.0.3",
    "ag-grid-community": "^23.0.2"
  },
  "devDependencies": {
    "@angular/cli": "^16.2.10",
    "@angular/compiler-cli": "^9.1.0"
  }
}

I manually updated @angular/cli to v16 and then ran ncu -x "@angular/cli". This gives the unconstrained updates.

image

Running ncu --peer -x "@angular/cli" gives the following:

image

It constrains some of the versions, but strangely not all of them. It tries to upgrade @angular/animations to v17, even though it clearly has a peerDependency of @angular/core v17.

I didn't build the --peer feature and I don't have time to maintain it unfortunately. However I am happy to support a PR.

from npm-check-updates.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.