mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix: react test app package resolution
The file:../ resolution was causing each navigation to result in a reload of the entire app.
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
"version": "0.0.1",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@ionic/react": "file:../../../",
|
||||
"@ionic/react-router": "file:../../../../react-router",
|
||||
"@ionic/react": "workspace:*",
|
||||
"@ionic/react-router": "workspace:*",
|
||||
"@types/react": "^17.0.53",
|
||||
"@types/react-dom": "^17.0.19",
|
||||
"@types/react-router": "^5.1.20",
|
||||
@@ -59,5 +59,9 @@
|
||||
"description": "An Ionic project",
|
||||
"engines": {
|
||||
"node": ">= 16"
|
||||
},
|
||||
"resolutions": {
|
||||
"@types/react": "^17.0.53",
|
||||
"react": "^17.0.2"
|
||||
}
|
||||
}
|
||||
|
||||
4366
packages/react/test/apps/react17/pnpm-lock.yaml
generated
4366
packages/react/test/apps/react17/pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,3 @@
|
||||
packages:
|
||||
- ../../../
|
||||
- ../../../../react-router
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
"version": "0.0.1",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@ionic/react": "file:../../../",
|
||||
"@ionic/react-router": "file:../../../../react-router",
|
||||
"@ionic/react": "workspace:*",
|
||||
"@ionic/react-router": "workspace:*",
|
||||
"@types/jest": "27.5.2",
|
||||
"ionicons": "^7.0.0",
|
||||
"react": "^18.2.0",
|
||||
@@ -45,5 +45,9 @@
|
||||
"description": "An Ionic project",
|
||||
"engines": {
|
||||
"node": ">= 16"
|
||||
},
|
||||
"resolutions": {
|
||||
"@types/react": "^18.0.27",
|
||||
"react": "^18.2.0"
|
||||
}
|
||||
}
|
||||
|
||||
4938
packages/react/test/apps/react18/pnpm-lock.yaml
generated
4938
packages/react/test/apps/react18/pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,3 @@
|
||||
packages:
|
||||
- ../../../
|
||||
- ../../../../react-router
|
||||
|
||||
Reference in New Issue
Block a user