Skip to content

Ability to npm init @dadi #43

@danwdart

Description

@danwdart

npm init has a new option to create a project with a template: https://docs.npmjs.com/cli/init
It would be super cool if someone could just npm init @dadi or npm init @dadi/cli (which would require the projects @dadi/create or @dadi/create-cli respectively), with the correct binaries in place to do the creation. This would just do the npm init and fill in the blanks. We could even do a full-project thing, installing everything already hooked together for a much easier start.

Currently what we can do however without installing CLI is to use npx, so for example for Web:
npx -p @dadi/cli dadi web new

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