community-platform
community-platform copied to clipboard
[bug] New Component builder broken
Describe the bug The command to build a new component errors.
To Reproduce Steps to reproduce the behaviour:
- Go to 'packages/component'
- In the terminal type
yarn new-component WhateverName
- See error:
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for <path>/community-platform/packages/components/scripts/newComponent.ts
Expected behaviour For the component, story file and test file to be generated.