fix: create-app get latest demo version

This commit is contained in:
dragooncjw 2025-02-25 17:08:54 +08:00
parent e454ce2154
commit edadeb63a7

View File

@ -17,7 +17,7 @@ program
.description('Create a demo project')
.action(async () => {
console.log(chalk.green('Welcome to @flowgram.ai/create-app CLI!'));
const latest = execSync('npm view @flowgram.ai/core version --tag=latest latest').toString().trim();
const latest = execSync('npm view @flowgram.ai/demo-fixed-layout version --tag=latest latest').toString().trim();
let folderName = ''