mirror of
https://github.com/facebook/react-native.git
synced 2024-11-21 22:10:14 +00:00
7cdb87eb19
Summary: This pull request replaces the use of mkdirp with Node.js's built-in fs.mkdirSync({ recursive: true }) function, which is available in Node.js version 10.12.0 and above. This change reduces the number of external dependencies and simplifies the codebase by using the native capabilities of Node.js. The motivation behind this change is to remove the unnecessary mkdirp dependency, as Node.js natively supports recursive directory creation since version 10.12.0. This streamlines the code and reduces the reliance on external libraries. ## Changelog: [INTERNAL] [REMOVED] - Replaced mkdirp with fs.mkdirSync({ recursive: true }) in build scripts and codegen. Requires Node.js 10.12.0 and above. Pull Request resolved: https://github.com/facebook/react-native/pull/46388 Test Plan: I ran the build and codegen scripts locally with Node.js version 10.12.0 and above after replacing mkdirp, ensuring the scripts work as expected. No issues were encountered, and all processes, including directory creation and file handling, function correctly. Reviewed By: cortinico Differential Revision: D62852488 Pulled By: huntie fbshipit-source-id: 76f44102a80b499521c156308d276a17d279ce38 |
||
---|---|---|
.. | ||
@isaacs | ||
@react-native-community | ||
@tsconfig | ||
actual-request-url_v1.x.x.js | ||
ansi-regex_v5.x.x.js | ||
babel_v7.x.x.js | ||
babel-traverse_v7.x.x.js | ||
babel-types_v7.x.x.js | ||
base64-js_v1.x.x.js | ||
chalk_v4.x.x.js | ||
chrome-launcher_v0.15.x.js | ||
chromium-edge-launcher_v0.2.x.js | ||
commander_v12.x.x.js | ||
connect_v3.x.x.js | ||
data-uri-to-buffer_v6.x.x.js | ||
debug_v2.x.x.js | ||
execa_v5.x.x.js | ||
glob_v7.x.x.js | ||
listr2_v8.x.x.js | ||
listr_v14.x.x.js | ||
node-fetch_v2.x.x.js | ||
open_v7.x.x.js | ||
parseargs_v0.11.x.js | ||
pretty-format_v29.x.x.js | ||
promise_v8.x.x.js | ||
react-dom_v17.x.x.js | ||
react-test-renderer_v16.x.x.js | ||
rxjs_v6.x.x.js | ||
selfsigned_v2.x.x.js | ||
semver_v7.x.x.js | ||
serve-static_v1.x.x.js | ||
shelljs_v0.x.x.js | ||
signedsource_v1.x.x.js | ||
stacktrace-parser_v0.1.x.js | ||
typescript_v5.x.x.js | ||
undici_v5.x.x.js | ||
wait-for-expect_v3.x.x.js | ||
ws_v7.x.x.js | ||
yargs_v17.x.x.js |