create-react-microservice icon indicating copy to clipboard operation
create-react-microservice copied to clipboard

BUGFIX: Don't strip numeric values from npm org - solves #571

Open Dabolus opened this issue 6 years ago • 0 comments

What I did

I fixed a bug in create-react-microservice which stripped numeric values when computing npm scope

How I did it

I removed the .replace which removed the numeric values

How to verify it

Run create-react-microservice and pass an org name with numeric values, such as test39. The computed org scope should be @test39/

Checklist

  • [x] I executed yarn run test in the root of create-react-microservice
  • [ ] I executed yarn run test in the create-react-microservice-scaffold
  • [x] Tests have been created, run and adjusted as needed
  • [x] The PR is created against the master branch.

Dabolus avatar Jun 25 '19 07:06 Dabolus