Skip to content

Monorepo Issues #73

@nandita1

Description

@nandita1

We have a monorepo with 100+ workspace NPM packages

Structure:

  • parent folder (a react project)
    • packages
      • package A (a react project)
      • package B (a react project)

When I run, npx react-doctor@latest --no-dead-code --no-ami, there are following issues:

  1. The current folder or my monorepo is not considered a project even though it is.
  2. With 100+ packages, it is difficult to put react-doctor.config.json in every package. So, the root folder's react-doctor.config.json from where we are running the command should also be applied.
(.buildenv) ➜  spark-ui git:(skillssh-nandita1) ✗ npx react-doctor@latest --no-dead-code --no-ami
npm warn Unknown project config "public-hoist-pattern". This will stop working in the next major version of npm.
npm warn Unknown project config "strict-peer-dependencies". This will stop working in the next major version of npm.
npm warn Unknown project config "auto-install-peers". This will stop working in the next major version of npm.
npm warn Unknown project config "hoist". This will stop working in the next major version of npm.
npm warn Unknown project config "lockfile-include-tarball-url". This will stop working in the next major version of npm.
npm warn Unknown project config "resolve-peers-from-workspace-root". This will stop working in the next major version of npm.
react-doctor v0.0.29

? Select projects to scan ›
Instructions:
    ↑/↓: Highlight option
    ←/→/[space]: Toggle selection
    a: Toggle all
    enter/return: Complete answer
◯   @rubrik/agent-rewind - packages/agent-rewind
◯   @rubrik/appflows-libs
◯   @rubrik/archival
◯   @rubrik/aura-singletons
◯   @rubrik/aura-ui
◯   @rubrik/auth
◯   @rubrik/cdm9-upgrade
◯   @rubrik/cloud-dspm
◯   @rubrik/cloud-libs
◯ ↓ @rubrik/cluster-config-protection
....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions