fix: react-router test app package resolution

This commit is contained in:
Sean Perkins
2023-12-28 16:22:25 -05:00
parent 529ae0c80d
commit 55f9cba9fc
4 changed files with 3998 additions and 455 deletions

View File

@@ -3,8 +3,8 @@
"version": "0.0.1",
"private": true,
"dependencies": {
"@ionic/react": "file:../../../../react",
"@ionic/react-router": "file:../../../",
"@ionic/react": "workspace:*",
"@ionic/react-router": "workspace:*",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3",
@@ -61,5 +61,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
- ../../../

View File

@@ -1,18 +0,0 @@
#!/bin/bash
set -e
# Delete old packages
rm -f *.tgz
# Pack @ionic/core
npm pack ../../../../../core
# Pack @ionic/react
npm pack ../../../../react
# Pack @ionic/react-router
npm pack ../../../
# Install Dependencies
npm install *.tgz --no-save