From 4398810b6c3b1373893bfe3685f55f08a38b5206 Mon Sep 17 00:00:00 2001 From: Uruk Date: Mon, 22 Sep 2025 12:19:04 +0200 Subject: [PATCH] config: update development tooling configurations Removes bunx from the list of prohibited package managers in Copilot instructions, allowing its use alongside bun. Updates VS Code terminal configuration to use the modern profiles format instead of deprecated shell settings for better Windows compatibility. Fixes EAS build cache key syntax by removing incorrect dash separator in checksum function calls across all build profiles. --- .github/copilot-instructions.md | 2 +- .vscode/settings.json | 12 ++++++++---- eas.json | 14 +++++++------- 3 files changed, 16 insertions(+), 12 deletions(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index f2a6524e..4703529a 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -22,7 +22,7 @@ and provides seamless media streaming with offline capabilities and Chromecast s **CRITICAL: ALWAYS use `bun` for all package management operations** -- **NEVER use `npm`, `yarn`, `bunx` or `npx` commands** +- **NEVER use `npm`, `yarn` or `npx` commands** - Use `bun install` instead of `npm install` or `yarn install` - Use `bun add ` instead of `npm install ` - Use `bun remove ` instead of `npm uninstall ` diff --git a/.vscode/settings.json b/.vscode/settings.json index a2045cef..9931bce3 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -117,10 +117,14 @@ // TERMINAL & DEVELOPMENT // ========================================== - // Terminal settings for Bun - "terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe", - "terminal.integrated.env.windows": { - "PATH": "${env:PATH};./node_modules/.bin" + // Terminal settings for Bun (Windows-specific) + "terminal.integrated.profiles.windows": { + "Command Prompt": { + "path": "C:\\Windows\\System32\\cmd.exe", + "env": { + "PATH": "${env:PATH};./node_modules/.bin" + } + } }, // ========================================== diff --git a/eas.json b/eas.json index 2d3ab981..396f1ecb 100644 --- a/eas.json +++ b/eas.json @@ -6,7 +6,7 @@ "development": { "resourceClass": "medium", "cache": { - "key": "development-{{ checksum \"bun.lock\" }}-{{ checksum \"package.json\" }}", + "key": "development-{{ checksum \"bun.lock\" \"package.json\" }}", "paths": ["~/.bun/install/cache", "node_modules", ".expo"] }, "environment": "development", @@ -22,7 +22,7 @@ "development_tv": { "resourceClass": "medium", "cache": { - "key": "development-tv-{{ checksum \"bun.lock\" }}-{{ checksum \"package.json\" }}", + "key": "development-tv-{{ checksum \"bun.lock\" \"package.json\" }}", "paths": ["~/.bun/install/cache", "node_modules", ".expo"] }, "environment": "development", @@ -39,7 +39,7 @@ "development-simulator": { "resourceClass": "medium", "cache": { - "key": "development-simulator-{{ checksum \"bun.lock\" }}-{{ checksum \"package.json\" }}", + "key": "development-simulator-{{ checksum \"bun.lock\" \"package.json\" }}", "paths": ["~/.bun/install/cache", "node_modules", ".expo"] }, "environment": "development", @@ -55,7 +55,7 @@ "preview": { "resourceClass": "large", "cache": { - "key": "preview-{{ checksum \"bun.lock\" }}-{{ checksum \"package.json\" }}", + "key": "preview-{{ checksum \"bun.lock\" \"package.json\" }}", "paths": ["~/.bun/install/cache", "node_modules", ".expo"] }, "distribution": "internal", @@ -66,7 +66,7 @@ "production": { "resourceClass": "large", "cache": { - "key": "production-{{ checksum \"bun.lock\" }}-{{ checksum \"package.json\" }}", + "key": "production-{{ checksum \"bun.lock\" \"package.json\" }}", "paths": ["~/.bun/install/cache", "node_modules", ".expo"] }, "environment": "production", @@ -82,7 +82,7 @@ "production-apk": { "resourceClass": "large", "cache": { - "key": "production-apk-{{ checksum \"bun.lock\" }}-{{ checksum \"package.json\" }}", + "key": "production-apk-{{ checksum \"bun.lock\" \"package.json\" }}", "paths": ["~/.bun/install/cache", "node_modules", ".expo"] }, "environment": "production", @@ -95,7 +95,7 @@ "production-apk-tv": { "resourceClass": "large", "cache": { - "key": "production-apk-tv-{{ checksum \"bun.lock\" }}-{{ checksum \"package.json\" }}", + "key": "production-apk-tv-{{ checksum \"bun.lock\" \"package.json\" }}", "paths": ["~/.bun/install/cache", "node_modules", ".expo"] }, "environment": "production",