-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
content type names/ids not handled correctly #11
Comments
@janro1 good catch, will look into it. |
@janro1 I can think of a transform like this: expect(moduleName('helloWorld')).to.equal('HelloWorld');
expect(moduleName('hello-World')).to.equal('HelloWorld');
expect(moduleName('0helloWorld')).to.equal('HelloWorld0');
expect(moduleName('0-helloWorld')).to.equal('HelloWorld0');
expect(moduleName('0123-helloWorld')).to.equal('HelloWorld0123');
expect(moduleName('hello World')).to.equal('HelloWorld');
expect(moduleName('hello-World')).to.equal('HelloWorld'); Would that work for you? |
Hi @marcolink, LGTM :) |
🎉 This issue has been resolved in version 1.2.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Hi,
if a content type has an id starting with a number or if the id contains dashes, like "3-0-Model" the type generation breaks.
The text was updated successfully, but these errors were encountered: