Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
victortrusov committed May 30, 2022
1 parent 1dcffbd commit 36604ca
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 9 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,6 @@ dist

# TernJS port file
.tern-port

# extra README for npm
packages/react-router-loading/README.md
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
"private": true,
"workspaces": {
"packages": [
"packages/*",
"examples/*"
"packages/react-router-loading",
"examples/react-router-5/",
"examples/react-router-6/"
]
},
"devDependencies": {
Expand Down
17 changes: 10 additions & 7 deletions packages/react-router-loading/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-router-loading",
"version": "1.0.0-beta.0",
"version": "1.0.0-beta.1",
"description": "Wrapper for react-router that allows you to load data before switching the screen",
"author": "Victor Trusov",
"repository": {
Expand All @@ -14,6 +14,8 @@
"loading",
"fetch",
"suspense",
"react-router",
"react-router-native",
"react-router-dom",
"preload",
"prefetch",
Expand All @@ -29,25 +31,26 @@
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview"
"preview": "vite preview",
"publish": "cp -fr ../../README.md . && npm publish"
},
"peerDependencies": {
"react": ">=16.8",
"react-dom": ">=16.8",
"react-router": "6"
"react-router-dom": "^6.0.0"
},
"dependencies": {
"topbar": "^1.0.1",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"react-router": "^6.3.0"
"topbar": "^1.0.1"
},
"devDependencies": {
"@types/node": "^17.0.36",
"@types/react": "^18.0.9",
"@types/react-dom": "^18.0.5",
"@types/react-router-dom": "^5.3.3",
"@vitejs/plugin-react": "^1.3.2",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"react-router": "^6.3.0",
"typescript": "^4.6.3",
"vite": "^2.9.9",
"vite-plugin-dts": "^1.2.0"
Expand Down

0 comments on commit 36604ca

Please sign in to comment.