mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
3a4dc9e0a7
* First pass at supporting React 18 in @astrojs/react
* Try marking React 18’s `react-dom/client` as external
* Try a different approach to importing different React versions
* Allow resolving JSON modules
* Revert "Allow resolving JSON modules"
This reverts commit 5279b7249c
.
* Try the separate client entrypoint approach from #2946
* Clean up diff
* Trying to see something
* Just keep swimming… 🐠
* update to support react 18
* update React to React 18 across the board
Co-authored-by: delucis <swithinbank@gmail.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
25 lines
556 B
JSON
25 lines
556 B
JSON
{
|
|
"name": "@example/docs",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "astro dev",
|
|
"start": "astro dev",
|
|
"build": "astro build",
|
|
"preview": "astro preview"
|
|
},
|
|
"dependencies": {
|
|
"@algolia/client-search": "^4.13.0",
|
|
"@docsearch/css": "^3.0.0",
|
|
"@docsearch/react": "^3.0.0",
|
|
"@types/react": "^17.0.43",
|
|
"preact": "^10.6.6",
|
|
"react": "^18.0.0",
|
|
"react-dom": "^18.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@astrojs/preact": "^0.0.2",
|
|
"@astrojs/react": "^0.0.2",
|
|
"astro": "^0.25.4"
|
|
}
|
|
}
|