Fix react dependencies to improve test reliability (#3673)

* Fix local react tests by unifying versions

* Add missing dependencies to react tests

* Add changeset

* Fix lockfile

Co-authored-by: Matthew Phillips <matthew@skypack.dev>
This commit is contained in:
hippotastic 2022-06-22 15:11:48 +02:00 committed by GitHub
parent ef6282d5d9
commit ba5ad7855c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 1199 additions and 1157 deletions

View file

@ -0,0 +1,8 @@
---
'@example/docs': patch
'astro': patch
'@astrojs/deno': patch
'@astrojs/netlify': patch
---
Fix react dependencies to improve test reliability

View file

@ -14,8 +14,8 @@
"@docsearch/react": "^3.1.0",
"@types/react": "^17.0.45",
"preact": "^10.7.3",
"react": "^17.0.2",
"react-dom": "^17.0.2"
"react": "^18.1.0",
"react-dom": "^18.1.0"
},
"devDependencies": {
"@astrojs/preact": "^0.1.3",

View file

@ -6,6 +6,8 @@
"@astrojs/react": "workspace:*",
"@astrojs/svelte": "workspace:*",
"@astrojs/vue": "workspace:*",
"astro": "workspace:*"
"astro": "workspace:*",
"react": "^18.1.0",
"react-dom": "^18.1.0"
}
}

View file

@ -4,6 +4,8 @@
"private": true,
"dependencies": {
"@astrojs/react": "workspace:*",
"astro": "workspace:*"
"astro": "workspace:*",
"react": "^18.1.0",
"react-dom": "^18.1.0"
}
}

View file

@ -5,6 +5,8 @@
"dependencies": {
"@astrojs/svelte": "workspace:*",
"@astrojs/react": "workspace:*",
"astro": "workspace:*"
"astro": "workspace:*",
"react": "^18.1.0",
"react-dom": "^18.1.0"
}
}

View file

@ -5,6 +5,8 @@
"dependencies": {
"@astrojs/react": "workspace:*",
"@astrojs/svelte": "workspace:*",
"astro": "workspace:*"
"astro": "workspace:*",
"react": "^18.1.0",
"react-dom": "^18.1.0"
}
}

View file

@ -4,6 +4,8 @@
"private": true,
"dependencies": {
"@astrojs/react": "workspace:*",
"astro": "workspace:*"
"astro": "workspace:*",
"react": "^18.1.0",
"react-dom": "^18.1.0"
}
}

View file

@ -6,7 +6,7 @@
"@adobe/react-spectrum": "^3.18.0",
"@astrojs/react": "workspace:*",
"astro": "workspace:*",
"react": "^17.0.2",
"react-dom": "^17.0.2"
"react": "^18.1.0",
"react-dom": "^18.1.0"
}
}

View file

@ -8,6 +8,8 @@
"@astrojs/solid-js": "workspace:*",
"@astrojs/svelte": "workspace:*",
"@astrojs/vue": "workspace:*",
"astro": "workspace:*"
"astro": "workspace:*",
"react": "^18.1.0",
"react-dom": "^18.1.0"
}
}

View file

@ -4,6 +4,8 @@
"private": true,
"dependencies": {
"@astrojs/react": "workspace:*",
"astro": "workspace:*"
"astro": "workspace:*",
"react": "^18.1.0",
"react-dom": "^18.1.0"
}
}

View file

@ -5,6 +5,8 @@
"dependencies": {
"@astrojs/react": "workspace:*",
"@astrojs/preact": "workspace:*",
"astro": "workspace:*"
"astro": "workspace:*",
"react": "^18.1.0",
"react-dom": "^18.1.0"
}
}

View file

@ -5,6 +5,8 @@
"dependencies": {
"astro": "workspace:*",
"@astrojs/deno": "workspace:*",
"@astrojs/react": "workspace:*"
"@astrojs/react": "workspace:*",
"react": "^18.1.0",
"react-dom": "^18.1.0"
}
}

View file

@ -5,6 +5,8 @@
"dependencies": {
"astro": "workspace:*",
"@astrojs/react": "workspace:*",
"@astrojs/netlify": "workspace:*"
"@astrojs/netlify": "workspace:*",
"react": "^18.1.0",
"react-dom": "^18.1.0"
}
}

File diff suppressed because it is too large Load diff