refactor: replace tsx with bun for TypeScript execution (#278)
This commit is contained in:
2
scripts/docs-list.ts
Normal file → Executable file
2
scripts/docs-list.ts
Normal file → Executable file
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env tsx
|
||||
#!/usr/bin/env bun
|
||||
|
||||
import { readdirSync, readFileSync } from 'node:fs';
|
||||
import { join, relative } from 'node:path';
|
||||
|
||||
2
scripts/release-check.ts
Normal file → Executable file
2
scripts/release-check.ts
Normal file → Executable file
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env tsx
|
||||
#!/usr/bin/env bun
|
||||
|
||||
import { execSync } from "node:child_process";
|
||||
|
||||
|
||||
2
scripts/test-force.ts
Normal file → Executable file
2
scripts/test-force.ts
Normal file → Executable file
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env tsx
|
||||
#!/usr/bin/env bun
|
||||
import os from "node:os";
|
||||
import path from "node:path";
|
||||
import { spawnSync } from "node:child_process";
|
||||
|
||||
Reference in New Issue
Block a user