mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +01:00
Update eslint fixtures (#32589)
Extracting portions of #32416 for easier review. This PR lightly updates the build scripts for the eslint fixtures. Co-authored-by: michael faith <michaelfaith@users.noreply.github.com> --- [//]: # (BEGIN SAPLING FOOTER) Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/facebook/react/pull/32589). * #32592 * #32591 * #32590 * __->__ #32589 * #32588 --------- Co-authored-by: michael faith <michaelfaith@users.noreply.github.com>
This commit is contained in:
parent
f695f95290
commit
0e2402eb20
|
|
@ -1,12 +1,13 @@
|
||||||
#!/usr/bin/env node
|
#!/usr/bin/env node
|
||||||
|
|
||||||
import {exec} from 'node:child_process';
|
import {execSync} from 'node:child_process';
|
||||||
import {dirname, resolve} from 'node:path';
|
import {dirname, resolve} from 'node:path';
|
||||||
import {fileURLToPath} from 'node:url';
|
import {fileURLToPath} from 'node:url';
|
||||||
|
|
||||||
const __filename = fileURLToPath(import.meta.url);
|
const __filename = fileURLToPath(import.meta.url);
|
||||||
const __dirname = dirname(__filename);
|
const __dirname = dirname(__filename);
|
||||||
|
|
||||||
exec('yarn build -r stable eslint-plugin-react-hooks', {
|
execSync('yarn build -r stable eslint-plugin-react-hooks', {
|
||||||
cwd: resolve(__dirname, '..', '..'),
|
cwd: resolve(__dirname, '..', '..'),
|
||||||
|
stdio: 'inherit',
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,13 @@
|
||||||
#!/usr/bin/env node
|
#!/usr/bin/env node
|
||||||
|
|
||||||
import {exec} from 'node:child_process';
|
import {execSync} from 'node:child_process';
|
||||||
import {dirname, resolve} from 'node:path';
|
import {dirname, resolve} from 'node:path';
|
||||||
import {fileURLToPath} from 'node:url';
|
import {fileURLToPath} from 'node:url';
|
||||||
|
|
||||||
const __filename = fileURLToPath(import.meta.url);
|
const __filename = fileURLToPath(import.meta.url);
|
||||||
const __dirname = dirname(__filename);
|
const __dirname = dirname(__filename);
|
||||||
|
|
||||||
exec('yarn build -r stable eslint-plugin-react-hooks', {
|
execSync('yarn build -r stable eslint-plugin-react-hooks', {
|
||||||
cwd: resolve(__dirname, '..', '..'),
|
cwd: resolve(__dirname, '..', '..'),
|
||||||
|
stdio: 'inherit',
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,13 @@
|
||||||
#!/usr/bin/env node
|
#!/usr/bin/env node
|
||||||
|
|
||||||
import {exec} from 'node:child_process';
|
import {execSync} from 'node:child_process';
|
||||||
import {dirname, resolve} from 'node:path';
|
import {dirname, resolve} from 'node:path';
|
||||||
import {fileURLToPath} from 'node:url';
|
import {fileURLToPath} from 'node:url';
|
||||||
|
|
||||||
const __filename = fileURLToPath(import.meta.url);
|
const __filename = fileURLToPath(import.meta.url);
|
||||||
const __dirname = dirname(__filename);
|
const __dirname = dirname(__filename);
|
||||||
|
|
||||||
exec('yarn build -r stable eslint-plugin-react-hooks', {
|
execSync('yarn build -r stable eslint-plugin-react-hooks', {
|
||||||
cwd: resolve(__dirname, '..', '..'),
|
cwd: resolve(__dirname, '..', '..'),
|
||||||
|
stdio: 'inherit',
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,13 @@
|
||||||
#!/usr/bin/env node
|
#!/usr/bin/env node
|
||||||
|
|
||||||
import {exec} from 'node:child_process';
|
import {execSync} from 'node:child_process';
|
||||||
import {dirname, resolve} from 'node:path';
|
import {dirname, resolve} from 'node:path';
|
||||||
import {fileURLToPath} from 'node:url';
|
import {fileURLToPath} from 'node:url';
|
||||||
|
|
||||||
const __filename = fileURLToPath(import.meta.url);
|
const __filename = fileURLToPath(import.meta.url);
|
||||||
const __dirname = dirname(__filename);
|
const __dirname = dirname(__filename);
|
||||||
|
|
||||||
exec('yarn build -r stable eslint-plugin-react-hooks', {
|
execSync('yarn build -r stable eslint-plugin-react-hooks', {
|
||||||
cwd: resolve(__dirname, '..', '..'),
|
cwd: resolve(__dirname, '..', '..'),
|
||||||
|
stdio: 'inherit',
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user