Initial project import

This commit is contained in:
drjones
2026-06-13 17:36:44 -07:00
commit ad2a18cc8d
18471 changed files with 4497570 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
import { readFileSync } from 'node:fs';
import { createRequire } from 'node:module';
/**
* Read the package.json file of `concurrently`
*/
export function readPackageJson() {
let resolver;
try {
resolver = require.resolve;
}
catch {
resolver = createRequire(import.meta.url).resolve;
}
const path = resolver('concurrently/package.json');
const content = readFileSync(path, 'utf8');
return JSON.parse(content);
}