Skip to content

Conversation

@nyqykk
Copy link
Contributor

@nyqykk nyqykk commented May 9, 2025

support command argv --package-name to specify package.json name

src/index.ts Outdated

const { targetDir, packageName } = formatProjectName(projectName);
const formatted = formatProjectName(projectName);
const targetDir = formatted.targetDir;
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
const targetDir = formatted.targetDir;
const { targetDir } = formatted;

@chenjiahan chenjiahan merged commit 584fd8e into rstackjs:main May 9, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants