diff --git a/compiled_starters/typescript/.codecrafters/run.sh b/compiled_starters/typescript/.codecrafters/run.sh index c3c6b1e6..f41df1fe 100755 --- a/compiled_starters/typescript/.codecrafters/run.sh +++ b/compiled_starters/typescript/.codecrafters/run.sh @@ -8,4 +8,4 @@ set -e # Exit on failure -exec bun run app/main.ts "$@" +exec bun run $(dirname $0)/app/main.ts "$@" diff --git a/compiled_starters/typescript/bun.lockb b/compiled_starters/typescript/bun.lockb index b1b90ed9..968db942 100755 Binary files a/compiled_starters/typescript/bun.lockb and b/compiled_starters/typescript/bun.lockb differ diff --git a/compiled_starters/typescript/package.json b/compiled_starters/typescript/package.json index cdb7a8bb..96d878be 100644 --- a/compiled_starters/typescript/package.json +++ b/compiled_starters/typescript/package.json @@ -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" } diff --git a/compiled_starters/typescript/your_program.sh b/compiled_starters/typescript/your_program.sh index 45031bbc..fcc2fd5f 100755 --- a/compiled_starters/typescript/your_program.sh +++ b/compiled_starters/typescript/your_program.sh @@ -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 "$@" diff --git a/solutions/typescript/01-jm1/code/.codecrafters/run.sh b/solutions/typescript/01-jm1/code/.codecrafters/run.sh index c3c6b1e6..f41df1fe 100755 --- a/solutions/typescript/01-jm1/code/.codecrafters/run.sh +++ b/solutions/typescript/01-jm1/code/.codecrafters/run.sh @@ -8,4 +8,4 @@ set -e # Exit on failure -exec bun run app/main.ts "$@" +exec bun run $(dirname $0)/app/main.ts "$@" diff --git a/solutions/typescript/01-jm1/code/bun.lockb b/solutions/typescript/01-jm1/code/bun.lockb index b1b90ed9..968db942 100755 Binary files a/solutions/typescript/01-jm1/code/bun.lockb and b/solutions/typescript/01-jm1/code/bun.lockb differ diff --git a/solutions/typescript/01-jm1/code/package.json b/solutions/typescript/01-jm1/code/package.json index cdb7a8bb..96d878be 100644 --- a/solutions/typescript/01-jm1/code/package.json +++ b/solutions/typescript/01-jm1/code/package.json @@ -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" } diff --git a/solutions/typescript/01-jm1/code/your_program.sh b/solutions/typescript/01-jm1/code/your_program.sh index 45031bbc..fcc2fd5f 100755 --- a/solutions/typescript/01-jm1/code/your_program.sh +++ b/solutions/typescript/01-jm1/code/your_program.sh @@ -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 "$@" diff --git a/starter_templates/typescript/code/.codecrafters/run.sh b/starter_templates/typescript/code/.codecrafters/run.sh index c3c6b1e6..f41df1fe 100755 --- a/starter_templates/typescript/code/.codecrafters/run.sh +++ b/starter_templates/typescript/code/.codecrafters/run.sh @@ -8,4 +8,4 @@ set -e # Exit on failure -exec bun run app/main.ts "$@" +exec bun run $(dirname $0)/app/main.ts "$@" diff --git a/starter_templates/typescript/code/bun.lockb b/starter_templates/typescript/code/bun.lockb index b1b90ed9..968db942 100755 Binary files a/starter_templates/typescript/code/bun.lockb and b/starter_templates/typescript/code/bun.lockb differ diff --git a/starter_templates/typescript/code/package.json b/starter_templates/typescript/code/package.json index cdb7a8bb..96d878be 100644 --- a/starter_templates/typescript/code/package.json +++ b/starter_templates/typescript/code/package.json @@ -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" }