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:
Sean Perkins
2023-12-28 16:05:08 -05:00
parent 43777d18cd
commit 529ae0c80d
6 changed files with 8851 additions and 475 deletions

View File

@@ -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"
}
}

View File

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,3 @@
packages:
- ../../../
- ../../../../react-router

View File

@@ -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"
}
}

View File

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,3 @@
packages:
- ../../../
- ../../../../react-router