Code Monkey home page Code Monkey logo

Comments (2)

alexgorbatchev avatar alexgorbatchev commented on August 16, 2024 1

Unfortunately I can't figure out how to reproduce this and I can't share the source due to work stuff. Sounds like it's something specific to our repository that's breaking ncu. I'll close the ticket.

Thank you very much for your response and for the awesome tool.

from npm-check-updates.

raineorshine avatar raineorshine commented on August 16, 2024

Hi, thanks for reporting. I'm not sure why it is not checking all workspaces. I created a test repo with multiple workspace locations and using the same ncurc config, but it checks all of them successfully.

Repo structure:

Code 2024-05-29 17 32 57

Root package.json:

{
  "private": true,
  "dependencies": {
    "ncu-test-alpha": "0.1.0"
  },
  "workspaces": [
    "a/*",
    "b/*",
    "c/*"
  ]
}

Output of ncu -i --workspaces:

Using config file /Users/raine/projects/ncu-issues/1416/.ncurc
Upgrading /Users/raine/projects/ncu-issues/1416/package.json
[====================] 1/1 100%

✔ Choose which packages to update ›

 ncu-test-alpha  0.1.0  →  1.0.0
Upgrading /Users/raine/projects/ncu-issues/1416/a/some-local-app/package.json
[====================] 2/2 100%

✔ Choose which packages to update ›

 ncu-test-tag  1.0.0  →  1.1.0
 ncu-test-v2   1.0.0  →  2.0.0
Upgrading /Users/raine/projects/ncu-issues/1416/a/some-local-package/package.json
[====================] 1/1 100%

✔ Choose which packages to update ›

 ncu-test-v2  1.0.0  →  2.0.0
Upgrading /Users/raine/projects/ncu-issues/1416/b/some-local-app/package.json
[====================] 2/2 100%

✔ Choose which packages to update ›

 ncu-test-tag  1.0.0  →  1.1.0
 ncu-test-v2   1.0.0  →  2.0.0
Upgrading /Users/raine/projects/ncu-issues/1416/b/some-local-package/package.json
[====================] 1/1 100%

✔ Choose which packages to update ›

 ncu-test-v2  1.0.0  →  2.0.0
Upgrading /Users/raine/projects/ncu-issues/1416/c/some-local-app/package.json
[====================] 2/2 100%

✔ Choose which packages to update ›

 ncu-test-tag  1.0.0  →  1.1.0
 ncu-test-v2   1.0.0  →  2.0.0
Upgrading /Users/raine/projects/ncu-issues/1416/c/some-local-package/package.json
[====================] 1/1 100%

✔ Choose which packages to update ›

 ncu-test-v2  1.0.0  →  2.0.0

There must be some other factor that is causing some of your workspaces not to be checked. If you can provide a repo that reproduces the behavior I'd be happy to troubleshoot further.

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.