mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-03-01 23:42:22 +00:00
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.
This commit is contained in:
2
.github/copilot-instructions.md
vendored
2
.github/copilot-instructions.md
vendored
@@ -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 <package>` instead of `npm install <package>`
|
||||
- Use `bun remove <package>` instead of `npm uninstall <package>`
|
||||
|
||||
12
.vscode/settings.json
vendored
12
.vscode/settings.json
vendored
@@ -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"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
// ==========================================
|
||||
|
||||
14
eas.json
14
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",
|
||||
|
||||
Reference in New Issue
Block a user