Skip to content

Commit 2dfe043

Browse files
Merge pull request #718 from appwrite/feat-bun-support
Feat: Bun init function
2 parents 1bafbdc + 34ca081 commit 2dfe043

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)