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

support monorepos #1677

Merged
merged 4 commits into from Jun 29, 2020
Merged

support monorepos #1677

merged 4 commits into from Jun 29, 2020

Commits on Apr 29, 2019

  1. support monorepos

    allow usage of grunt plugins that are located in any location that
    is visible to Node.js and NPM, instead of `node_modules` directly
    inside package that have a dev dependency to these plugins.
    micellius committed Apr 29, 2019
    Copy the full SHA
    d06ca51 View commit details
    Browse the repository at this point in the history
  2. support monorepo (as fallback)

    In `loadNpmTasks()`` try to resolve package location. In case package
    not found, try to resolve it's location using `require.resolve()`
    micellius committed Apr 29, 2019
    Copy the full SHA
    f2b118a View commit details
    Browse the repository at this point in the history
  3. support monorepo (test case)

    add integration test for monorepo case, where grunt plugin hoisted to
    the `node_modules` above package having dev dependency to it
    micellius committed Apr 29, 2019
    Copy the full SHA
    66fc8fa View commit details
    Browse the repository at this point in the history

Commits on May 26, 2019

  1. support monorepo (relative path)

    In case `loadNpmTasks()` is called with relative path instead of just
    module name, try to resolve module name and find relevant package.json,
    but use tasks from specified relative path.
    micellius committed May 26, 2019
    Copy the full SHA
    5a0a02b View commit details
    Browse the repository at this point in the history