mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[compiler:publish] Specify https for registry
Uses https for the npm registry so the publishing script isn't rejected.
Fixes:
```
Beginning October 4, 2021, all connections to the npm registry - including for package installation - must use TLS 1.2 or higher. You are currently using plaintext http to connect. Please visit the GitHub blog for more information: https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/
```
ghstack-source-id: b247d044ea
Pull Request resolved: https://github.com/facebook/react/pull/29087
This commit is contained in:
@@ -203,7 +203,7 @@ async function main() {
|
||||
try {
|
||||
await spawnHelper(
|
||||
"npm",
|
||||
[...opts, "--registry=http://registry.npmjs.org"],
|
||||
[...opts, "--registry=https://registry.npmjs.org"],
|
||||
{
|
||||
cwd: pkgDir,
|
||||
stdio: "inherit",
|
||||
|
||||
Reference in New Issue
Block a user