Fix npm init astro for npm v7 (#257)

Fixes #183
This commit is contained in:
Drew Powers 2021-05-26 14:17:50 -06:00 committed by GitHub
parent be804499b0
commit 75bfc019aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 2 deletions

View file

@ -0,0 +1,5 @@
---
'create-astro': patch
---
Bugfix: `npm init astro` on npm v7

View file

@ -23,7 +23,7 @@
"ink": "^3.0.8",
"ink-select-input": "^4.2.0",
"ink-text-input": "^4.0.1",
"react": "~17.0.2",
"react": "^16.14.0",
"source-map-support": "^0.5.19"
},
"devDependencies": {

View file

@ -8392,7 +8392,16 @@ react-reconciler@^0.24.0:
prop-types "^15.6.2"
scheduler "^0.18.0"
react@^17.0.1, react@~17.0.2:
react@^16.14.0:
version "16.14.0"
resolved "https://registry.yarnpkg.com/react/-/react-16.14.0.tgz#94d776ddd0aaa37da3eda8fc5b6b18a4c9a3114d"
integrity sha512-0X2CImDkJGApiAlcf0ODKIneSwBPhqJawOa5wCtKbu7ZECrmS26NvtSILynQ66cgkT/RJ4LidJOc3bUESwmU8g==
dependencies:
loose-envify "^1.1.0"
object-assign "^4.1.1"
prop-types "^15.6.2"
react@^17.0.1:
version "17.0.2"
resolved "https://registry.yarnpkg.com/react/-/react-17.0.2.tgz#d0b5cc516d29eb3eee383f75b62864cfb6800037"
integrity sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==