Skip to content

Commit

Permalink
Bump router to 6.14.1-pre.0 (#6727)
Browse files Browse the repository at this point in the history
  • Loading branch information
brophdawg11 authored Jun 29, 2023
1 parent d1b6a32 commit 6bc9e43
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 20 deletions.
5 changes: 5 additions & 0 deletions .changeset/stale-houses-grin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@remix-run/react": patch
---

Bump router version
2 changes: 1 addition & 1 deletion packages/remix-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"module": "dist/esm/index.js",
"dependencies": {
"@remix-run/router": "1.7.0",
"react-router-dom": "6.14.0"
"react-router-dom": "6.14.1-pre.0"
},
"devDependencies": {
"@remix-run/server-runtime": "1.18.1-pre.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/remix-testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@remix-run/node": "1.18.1-pre.0",
"@remix-run/react": "1.18.1-pre.0",
"@remix-run/router": "1.7.0",
"react-router-dom": "6.14.0"
"react-router-dom": "6.14.1-pre.0"
},
"devDependencies": {
"@types/node": "^18.11.9",
Expand Down
25 changes: 16 additions & 9 deletions scripts/bump-router-versions.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
#!/bin/bash

VERSION="${1}"

if [ "${VERSION}" == "" ]; then
VERSION="latest"
ROUTER_VERSION="${1}"
RR_VERSION="${2}"

if [ "${ROUTER_VERSION}" == "" ]; then
ROUTER_VERSION="latest"
RR_VERSION="latest"
elif [ "${RR_VERSION}" == "" ]; then
RR_VERSION="${ROUTER_VERSION}"
fi

echo "Updating all router versions to ${VERSION}"

echo "Updating the React Router dependencies to the following versions:"
echo " @remix-run/router -> ${ROUTER_VERSION}"
echo " react-router-dom -> ${RR_VERSION}"
echo ""

if [ ! -d "packages/remix-server-runtime" ]; then
echo "Must be run from the remix repository"
Expand All @@ -17,19 +24,19 @@ fi
set -x

cd packages/remix-server-runtime
yarn add -E @remix-run/router@${VERSION}
yarn add -E @remix-run/router@${ROUTER_VERSION}
cd ../..

# cd packages/remix-express
# yarn add -E @remix-run/router@${VERSION}
# yarn add -E @remix-run/router@${ROUTER_VERSION}
# cd ../..

cd packages/remix-react
yarn add -E @remix-run/router@${VERSION} react-router-dom@${VERSION}
yarn add -E @remix-run/router@${ROUTER_VERSION} react-router-dom@${RR_VERSION}
cd ../..

cd packages/remix-testing
yarn add -E @remix-run/router@${VERSION} react-router-dom@${VERSION}
yarn add -E @remix-run/router@${ROUTER_VERSION} react-router-dom@${RR_VERSION}
cd ../..

set +x
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11442,18 +11442,18 @@ react-refresh@^0.14.0:
resolved "https://registry.npmjs.org/react-refresh/-/react-refresh-0.14.0.tgz"
integrity sha512-wViHqhAd8OHeLS/IRMJjTSDHF3U9eWi62F/MledQGPdJGDhodXJ9PBLNGr6WWL7qlH12Mt3TyTpbS+hGXMjCzQ==

react-router-dom@6.14.0:
version "6.14.0"
resolved "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.14.0.tgz#7ce6c3f73549e4d40216ba150253d3bf30812b33"
integrity sha512-YEwlApKwzMMMbGbhh+Q7MsloTldcwMgHxUY/1g0uA62+B1hZo2jsybCWIDCL8zvIDB1FA0pBKY9chHbZHt+2dQ==
react-router-dom@6.14.1-pre.0:
version "6.14.1-pre.0"
resolved "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.14.1-pre.0.tgz#db17b6665f0646a4238d651d2a5270836a422dfe"
integrity sha512-KOny98EwcKcE00sSQavChIBoNJddD9ICbAvNqus3FxOGHl9G20tTEg8JwohLH7m1Kx7EMr7PnOMNm+9SKSSumg==
dependencies:
"@remix-run/router" "1.7.0"
react-router "6.14.0"
react-router "6.14.1-pre.0"

react-router@6.14.0:
version "6.14.0"
resolved "https://registry.npmjs.org/react-router/-/react-router-6.14.0.tgz#1c3e8e922d934d43a253fd862c72c82167c0a7f1"
integrity sha512-OD+vkrcGbvlwkspUFDgMzsu1RXwdjNh83YgG/28lBnDzgslhCgxIqoExLlxsfTpIygp7fc+Hd3esloNwzkm2xA==
react-router@6.14.1-pre.0:
version "6.14.1-pre.0"
resolved "https://registry.npmjs.org/react-router/-/react-router-6.14.1-pre.0.tgz#d25fd534ce3bf091a11a890daa1de1cbb3f1410b"
integrity sha512-UbwepIQFZtJw91rm+bjaHW3VIflrho41kjwFVsc6kZq9g8FxaBppeGVKbzUdcmDVQAHChv0FPrlfL5o1mDyKAQ==
dependencies:
"@remix-run/router" "1.7.0"

Expand Down

0 comments on commit 6bc9e43

Please sign in to comment.