chore(ci): upgrade deps (#1868)

This commit is contained in:
Sam Potts
2026-07-28 13:07:09 +10:00
committed by GitHub
parent 409e7ef225
commit 359e56ca49
40 changed files with 3020 additions and 2411 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ export function readConfig(): CliConfig {
function writeConfig(config: CliConfig): void {
const dir = dirname(CONFIG_FILE);
mkdirSync(dir, { recursive: true });
writeFileSync(CONFIG_FILE, JSON.stringify(config, null, 2) + '\n', 'utf-8');
writeFileSync(CONFIG_FILE, `${JSON.stringify(config, null, 2)}\n`, 'utf-8');
}
const VALID_CONFIG: Record<keyof CliConfig, readonly string[]> = {
+1 -1
View File
@@ -22,7 +22,7 @@ export async function promptFramework(): Promise<Framework> {
],
});
if (p.isCancel(value)) process.exit(0);
p.note('💡 Tip: run `npx @videojs/cli config set framework ' + value + '` to save this preference');
p.note(`💡 Tip: run \`npx @videojs/cli config set framework ${value}\` to save this preference`);
return value;
}
+1 -1
View File
@@ -2,7 +2,7 @@ import { tmpdir } from 'node:os';
import { join } from 'node:path';
import { describe, expect, it, vi } from 'vitest';
const testDir = join(tmpdir(), 'videojs-cli-test-' + Date.now());
const testDir = join(tmpdir(), `videojs-cli-test-${Date.now()}`);
vi.mock('node:os', async () => {
const actual = await vi.importActual<typeof import('node:os')>('node:os');