Skip to content

Commit

Permalink
Bump bun version
Browse files Browse the repository at this point in the history
  • Loading branch information
andy1li committed Oct 2, 2024
1 parent 4765ff3 commit 1db69af
Show file tree
Hide file tree
Showing 11 changed files with 8 additions and 17 deletions.
2 changes: 1 addition & 1 deletion compiled_starters/typescript/.codecrafters/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@

set -e # Exit on failure

exec bun run app/main.ts "$@"
exec bun run $(dirname $0)/app/main.ts "$@"
Binary file modified compiled_starters/typescript/bun.lockb
Binary file not shown.
5 changes: 1 addition & 4 deletions compiled_starters/typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
{
"name": "@codecrafters/build-your-own-redis",
"name": "@codecrafters/redis",
"description": "Build your own Redis challenge, from CodeCrafters",
"type": "module",
"scripts": {
"dev": "bun run app/main.ts"
},
"dependencies": {
"async": "^3.2.0"
},
"devDependencies": {
"@types/bun": "latest"
}
Expand Down
2 changes: 1 addition & 1 deletion compiled_starters/typescript/your_program.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ set -e # Exit early if any commands fail
#
# - Edit this to change how your program runs locally
# - Edit .codecrafters/run.sh to change how your program runs remotely
exec bun run app/main.ts "$@"
exec bun run $(dirname $0)/app/main.ts "$@"
2 changes: 1 addition & 1 deletion solutions/typescript/01-jm1/code/.codecrafters/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@

set -e # Exit on failure

exec bun run app/main.ts "$@"
exec bun run $(dirname $0)/app/main.ts "$@"
Binary file modified solutions/typescript/01-jm1/code/bun.lockb
Binary file not shown.
5 changes: 1 addition & 4 deletions solutions/typescript/01-jm1/code/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
{
"name": "@codecrafters/build-your-own-redis",
"name": "@codecrafters/redis",
"description": "Build your own Redis challenge, from CodeCrafters",
"type": "module",
"scripts": {
"dev": "bun run app/main.ts"
},
"dependencies": {
"async": "^3.2.0"
},
"devDependencies": {
"@types/bun": "latest"
}
Expand Down
2 changes: 1 addition & 1 deletion solutions/typescript/01-jm1/code/your_program.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ set -e # Exit early if any commands fail
#
# - Edit this to change how your program runs locally
# - Edit .codecrafters/run.sh to change how your program runs remotely
exec bun run app/main.ts "$@"
exec bun run $(dirname $0)/app/main.ts "$@"
2 changes: 1 addition & 1 deletion starter_templates/typescript/code/.codecrafters/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@

set -e # Exit on failure

exec bun run app/main.ts "$@"
exec bun run $(dirname $0)/app/main.ts "$@"
Binary file modified starter_templates/typescript/code/bun.lockb
Binary file not shown.
5 changes: 1 addition & 4 deletions starter_templates/typescript/code/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
{
"name": "@codecrafters/build-your-own-redis",
"name": "@codecrafters/redis",
"description": "Build your own Redis challenge, from CodeCrafters",
"type": "module",
"scripts": {
"dev": "bun run app/main.ts"
},
"dependencies": {
"async": "^3.2.0"
},
"devDependencies": {
"@types/bun": "latest"
}
Expand Down

0 comments on commit 1db69af

Please sign in to comment.