main
mjs 13 lines 366 Bytes
Raw
1 #!/usr/bin/env node
2
3 import {execSync} from 'node:child_process';
4 import {dirname, resolve} from 'node:path';
5 import {fileURLToPath} from 'node:url';
6
7 const __filename = fileURLToPath(import.meta.url);
8 const __dirname = dirname(__filename);
9
10 execSync('yarn build -r stable eslint-plugin-react-hooks', {
11 cwd: resolve(__dirname, '..', '..'),
12 stdio: 'inherit',
13 });