Comments (3)
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.
"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.
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.
Running ncu --peer -x "@angular/cli"
gives the following:
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)
- Very high bandwidth usage in monorepo HOT 24
- Upgrade breaking dependencies HOT 1
- Make `--root` the default in workspaces mode
- Set type: module in package.json
- cli options don't override the default options in .ncurc.js HOT 6
- [[email protected]] pacote has some deprecated modules. @npmcli/move-file has been moved to @npmcli/fs. HOT 1
- Memory leak detected in version inflight-1.0.6 by veracode HOT 1
- Feature: Update GitHub Actions HOT 1
- Interactive mode reprints everything on keydown HOT 9
- ncu --doctor shows error with prepare script HOT 6
- CERT_HAS_EXPIRED when running ncu HOT 2
- bunfig.toml is not considered when using bun HOT 2
- Broken `ncu -g` with Error since v16.14.13 HOT 9
- [FR] ncu -u -E/--save-exact HOT 1
- Node v21: rimraf module not found HOT 5
- Recent upgrade breaks ncu on mac HOT 3
- [Feature] Exclude dependency from being considered for --peer checking HOT 7
- ERR_SOCKET_TIMEOUT on node v18 HOT 17
- error: cannot find rimraf HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from npm-check-updates.