Skip to content

Shouldn't jake be a devDependency? #510

Closed as not planned
Closed as not planned

Description

@kirillgroshkov

Shouldn't jake be a devDependency?

Activity

  1. ben-tbotlabs commented on Apr 24, 2020

    @ben-tbotlabs

    I think it is because of the CLI that was added on Apr 19, 2020, so it is required to be a full dependency.

    But to be clear in order to add this dependency you have added the following dependency tree

    ┬ [email protected]
    │ └─┬ [email protected]
    │   ├── [email protected]
    │   ├─┬ [email protected]
    │   │ ├─┬ [email protected]
    │   │ │ └─┬ [email protected]
    │   │ │   └── [email protected]
    │   │ ├── [email protected] deduped
    │   │ └─┬ [email protected]
    │   │   └── [email protected]
    │   ├─┬ [email protected]
    │   │ └── [email protected] deduped
    │   └── [email protected] deduped
    

    One of the major selling points of EJS IMO was no module dependencies, and would much rather have the CLI added a separate npm package then add these dependencies for a CLI we are not using

  2. kirillgroshkov commented on Apr 24, 2020

    @kirillgroshkov
    Author

    I still think it was added by mistake

  3. mde commented on Apr 24, 2020

    @mde
    Owner

    Yes, Jake is currently a hard dependency of the new CLI. The desire for a separate CLI package is noted. I'll definitely consider it.

  4. RyanZim commented on Apr 24, 2020

    @RyanZim
    Collaborator

    I'll throw in my vote for a separate CLI

  5. ryanburnette commented on Apr 29, 2020

    @ryanburnette

    @mde I'll vote for anything that reduces dependencies.

    If you aren't using the cli and don't want the extra dependencies, just fork and remove Jake from the package.json file like I did. https://github.com/ryanburnette/ejs

  6. mourner commented on May 10, 2020

    @mourner

    I'd also like to encourage cutting out the CLI into a separate package (ejs-cli). Having no dependencies was one of the biggest advantages of this library.

  7. allnulled commented on May 19, 2020

    @allnulled

    Yes, it would be very nice to not include jake + (filelist minimatch chalk async) + (...inner).
    If anyone wants ejs as CLI, just npm install ejs-cli, or something. In favour, this library is key in the ecosystem.

  8. zce commented on Jul 22, 2020

    @zce

    I think it may be that jake needs a free advertising space, Just kidding :)

  9. sseide commented on Dec 14, 2021

    @sseide

    is there some update on the new ejs cli package to remove jake and all its dependencies from ejs again?

  10. Repository owner deleted a comment from mourner on Dec 14, 2021
  11. arthanzel commented on Jan 5, 2022

    @arthanzel

    Is the only reason that Jake is included in cli.js for argument parsing? It shouldn't be too difficult to write an inline parser for such a simple program. I hardly think that yet another NPM package is the best solution here.

  12. mde commented on Jan 9, 2022

    @mde
    Owner

    I'd be happy to consider a PR that implements this. It was just the fastest solution I had.

  13. arthanzel commented on Jan 9, 2022

    @arthanzel

    I'd be happy to contribute one

  14. allnulled commented on Jan 11, 2022

    @allnulled

    I use ejs because it is the most intuitive solution for js templating I have found, and coding templates with it is really easy. I proposed already to separate ejs-cli from ejs, if ejs could be loaded as a single UMD script file from the web, it would also be incredibly powerful to be used in the web, at the level of jQuery even. But anyway, this is an author's decision.

    UPDATE: well. They are doing it already. And I guess they are not the only.

    https://unpkg.com/[email protected]/ejs.min.js

  15. added a commit that references this issue on Jan 25, 2022
    ddee6c4
  16. mde commented on Jan 17, 2026

    @mde
    Owner

    This issue has been closed as outdated.

    If you believe this issue is still relevant, please:

    1. Open a new issue with current context
    2. Reference this issue number (Shouldn't jake be a devDependency? #510)
    3. Include details about your use case and EJS version

    Thank you for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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