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

Shorthand to load all plop assets #333

Merged
merged 7 commits into from
Apr 27, 2022
Merged

Commits on Sep 26, 2020

  1. Fix broken page links

    The links from the include section now link to the `IncludeDefinition` correctly.
    RobinKnipe committed Sep 26, 2020
    Configuration menu
    Copy the full SHA
    05a85cc View commit details
    Browse the repository at this point in the history
  2. enhancement: load all assets shorthand

    Reflects the changes proposed to `node-plop` to allow all target assets to be loaded using:
    ```js
    plop.load('./plopfiles/component.js', {}, true);
    ```
    The `node-plop` PR can be found here: plopjs/node-plop#187
    RobinKnipe committed Sep 26, 2020
    Configuration menu
    Copy the full SHA
    0375e40 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2022

  1. Honour load method contract

    Currently the `load` function doesn't include all assets when the `includeCfg` option is set to `true`, *it doesn't load anything*!
    The suggested code change should bring the implementation back into line with the docs: https://github.com/plopjs/plop/blob/master/plop-load.md#interface-includedefinition
    RobinKnipe authored and crutchcorn committed Apr 25, 2022
    Configuration menu
    Copy the full SHA
    221baba View commit details
    Browse the repository at this point in the history
  2. Add a unit test

    Make sure the proposed changes actually work!
    RobinKnipe authored and crutchcorn committed Apr 25, 2022
    Configuration menu
    Copy the full SHA
    b2e5082 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2022

  1. Fix tests

    crutchcorn committed Apr 27, 2022
    Configuration menu
    Copy the full SHA
    5eae5d1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f5522e0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d6176cc View commit details
    Browse the repository at this point in the history