Skip to content

Using create-mdx with something like x0 will create a project called next-mdx #316

@wooorm

Description

@wooorm

Subject of the issue

I believe name should, when example is given, be based off of that:

const [example = 'next', name = 'next-mdx'] = process.argv.slice(2, 3)

Steps to reproduce

npm init mdx x0

Expected behaviour

ls should include x0-mdx or something.

Actual behaviour

ls includes next-mdx.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions