Skip to content

Support non-alphanumeric characters in project name #46

@sandwichnyc

Description

@sandwichnyc

Stencil version:

I'm submitting a:

[ ] bug report
[x] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://stencil-worldwide.herokuapp.com/ or https://forum.ionicframework.com/

Current behavior:
When installing Stencil, if you create a package name that contains non-alphanumeric characters, the install fails:

✖ Project name "@blah/my-project" is not valid. It must be a kebab-case name without spaces.

Expected behavior:
The project name should be able to support prefixes (such as @stencil/core) since this is a common convention.

Steps to reproduce:

Related code:

// insert any relevant code here

Other information:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Resolution: RefineThis PR is marked for Jira refinement. We're not working on it - we're talking it through.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions