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>
30 lines
714 B
JSON
30 lines
714 B
JSON
{
|
|
"name": "@example/with-nanostores",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "astro dev",
|
|
"start": "astro dev",
|
|
"build": "astro build",
|
|
"preview": "astro preview"
|
|
},
|
|
"dependencies": {
|
|
"@nanostores/preact": "^0.1.3",
|
|
"@nanostores/react": "^0.1.5",
|
|
"@nanostores/vue": "^0.4.1",
|
|
"nanostores": "^0.5.12",
|
|
"preact": "^10.6.6",
|
|
"react": "^18.0.0",
|
|
"react-dom": "^18.0.0",
|
|
"solid-nanostores": "0.0.6",
|
|
"vue": "^3.2.31"
|
|
},
|
|
"devDependencies": {
|
|
"@astrojs/preact": "^0.0.2",
|
|
"@astrojs/react": "^0.0.2",
|
|
"@astrojs/solid-js": "^0.0.3",
|
|
"@astrojs/svelte": "^0.0.2",
|
|
"@astrojs/vue": "^0.0.2",
|
|
"astro": "^0.25.4"
|
|
}
|
|
}
|