Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/sui-studio/bin/sui-studio-generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ if (!wordsOnlyRegex.test(category)) {

const componentInPascal = toPascalCase(`${category.replace(/s$/, '')} ${component}`)

const COMPONENT_DIR = `/components/${category}/${component}/`
const COMPONENT_DIR = `/packages/components/${category}/${component}/`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps it should be an "arg" of the CLI

const COMPONENT_PATH = `${BASE_DIR}${COMPONENT_DIR}`
const COMPONENT_ENTRY_JS_POINT_FILE = `${COMPONENT_PATH}src/index.js`
const COMPONENT_PACKAGE_JSON_FILE = `${COMPONENT_PATH}package.json`
Expand Down