mirror of
https://gitee.com/ByteDance/flowgram.ai.git
synced 2025-07-07 17:43:29 +08:00
fix: create-app get latest demo version
This commit is contained in:
parent
e454ce2154
commit
edadeb63a7
@ -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 = ''
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user