Skip to content

Commit 34ca081

Browse files
committed
Adds bun to init function
1 parent 058987c commit 34ca081

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

templates/cli/lib/questions.js.twig

+5
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ const getIgnores = (runtime) => {
2020
case 'kotlin':
2121
return ['build'];
2222
case 'node':
23+
case 'bun':
2324
return ['node_modules', '.npm'];
2425
case 'php':
2526
return ['vendor'];
@@ -46,6 +47,8 @@ const getEntrypoint = (runtime) => {
4647
return 'src/main.ts';
4748
case 'node':
4849
return 'src/main.js';
50+
case 'bun':
51+
return 'src/main.ts';
4952
case 'php':
5053
return 'src/index.php';
5154
case 'python':
@@ -79,6 +82,8 @@ const getInstallCommand = (runtime) => {
7982
return "deno install";
8083
case 'node':
8184
return 'npm install';
85+
case 'bun':
86+
return 'bun install';
8287
case 'php':
8388
return 'composer install';
8489
case 'python':

0 commit comments

Comments
 (0)