mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix: react-router test app package resolution
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
4424
packages/react-router/test/apps/reactrouter5/pnpm-lock.yaml
generated
4424
packages/react-router/test/apps/reactrouter5/pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,3 @@
|
||||
packages:
|
||||
- ../../../../react
|
||||
- ../../../
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user