fix(create-bot): pnpm run run -> pnpm start
This commit is contained in:
parent
a17604b623
commit
80850c9ad5
3 changed files with 4 additions and 4 deletions
|
@ -40,4 +40,4 @@ if (config.features.includes(MtcuteFeature.Linters)) {
|
|||
console.log(`✅ Scaffolded new project at ${chalk.blue(outDir)}`)
|
||||
console.log('🚀 Run it with:')
|
||||
console.log(` ${chalk.blue('$')} cd ${projectName}`)
|
||||
console.log(` ${chalk.blue('$')} pnpm run run`)
|
||||
console.log(` ${chalk.blue('$')} pnpm start`)
|
||||
|
|
|
@ -8,7 +8,7 @@ MTCute powered Telegram bot
|
|||
pnpm install --frozen-lockfile
|
||||
cp .env.example .env
|
||||
# edit .env
|
||||
pnpm run run
|
||||
pnpm start
|
||||
```
|
||||
|
||||
*generated with @mtcute/create-bot*
|
|
@ -16,10 +16,10 @@
|
|||
"format": "prettier --write \"src/**/*.ts\"",
|
||||
{{/if}}
|
||||
{{#if features.typescript}}
|
||||
"run": "tsc && dotenv node ./dist/index.js",
|
||||
"start": "tsc && dotenv node ./dist/index.js",
|
||||
"build": "tsc"
|
||||
{{else}}
|
||||
"run": "dotenv node ./src/index.js"
|
||||
"start": "dotenv node ./src/index.js"
|
||||
{{/if}}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue