Skip to content
This repository was archived by the owner on Feb 19, 2022. It is now read-only.
This repository was archived by the owner on Feb 19, 2022. It is now read-only.

Feature: Install dependencies for init.js #33

@ryan-roemer

Description

@ryan-roemer

Currently, init.js can only require locally available files in the archetype and standard Node libraries. It cannot require normal npm dependencies because an archetype's dependencies aren't installed. (See #32 ). This is actually a good thing because we don't want to have the time of a full npm install before starting the template prompts because in our common case, the prompts don't need nearly any of those dependencies.

Task:

  • Create a scheme for having dependencies from npm available to init.js.
    • Strawman: Add a dependencies field to init.js. If present, manually npm install DEP1 DEP2 etc. in the extracted/ directory so init.js can use them.

/cc @coopy

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions