Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump to latest router prerelease #6223

Merged
merged 2 commits into from
Apr 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/bump-router-pre-2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@remix-run/react": patch
"@remix-run/testing": patch
---

Bump to React Router `6.11.0-pre.2`
2 changes: 1 addition & 1 deletion docs/tutorials/jokes.md
Original file line number Diff line number Diff line change
Expand Up @@ -6427,7 +6427,7 @@ function validatePassword(password: string) {
}

function validateUrl(url: string) {
let urls = ["/jokes", "/", "https://remix.run"];
const urls = ["/jokes", "/", "https://remix.run"];
if (urls.includes(url)) {
return url;
}
Expand Down
20 changes: 10 additions & 10 deletions packages/remix-dev/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,11 @@
Enable `unstable_dev` in `remix.config.js`:

```js
{
module.exports = {
future: {
"unstable_dev": true
}
}
unstable_dev: true,
},
};
```

## Remix App Server
Expand Down Expand Up @@ -182,12 +182,12 @@
import { devReady } from "@remix-run/node";

// Path to Remix's server build directory ('build/' by default)
let BUILD_DIR = path.join(process.cwd(), "build");
const BUILD_DIR = path.join(process.cwd(), "build");

// <code setting up your express server>

app.listen(3000, () => {
let build = require(BUILD_DIR);
const build = require(BUILD_DIR);
console.log("Ready: http://localhost:" + port);

// in development, call `devReady` _after_ your server is up and running
Expand All @@ -211,7 +211,7 @@
- You want to handle server updates yourself (e.g. via require cache purging)

```js
{
module.exports = {
future: {
unstable_dev: {
// Command to run your app server
Expand All @@ -227,9 +227,9 @@
// Whether the app server should be restarted when app is rebuilt
// See `Advanced > restart` for more
restart: false, // default: `true`
}
}
}
},
},
};
```

You can also configure via flags. For example:
Expand Down
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.6.0-pre.0",
"react-router-dom": "6.11.0-pre.1"
"react-router-dom": "6.11.0-pre.2"
},
"devDependencies": {
"@remix-run/server-runtime": "1.16.0-pre.3",
Expand Down
20 changes: 10 additions & 10 deletions packages/remix-server-runtime/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,11 @@
Enable `unstable_dev` in `remix.config.js`:

```js
{
module.exports = {
future: {
"unstable_dev": true
}
}
unstable_dev: true,
},
};
```

## Remix App Server
Expand Down Expand Up @@ -170,12 +170,12 @@
import { devReady } from "@remix-run/node";

// Path to Remix's server build directory ('build/' by default)
let BUILD_DIR = path.join(process.cwd(), "build");
const BUILD_DIR = path.join(process.cwd(), "build");

// <code setting up your express server>

app.listen(3000, () => {
let build = require(BUILD_DIR);
const build = require(BUILD_DIR);
console.log("Ready: http://localhost:" + port);

// in development, call `devReady` _after_ your server is up and running
Expand All @@ -199,7 +199,7 @@
- You want to handle server updates yourself (e.g. via require cache purging)

```js
{
module.exports = {
future: {
unstable_dev: {
// Command to run your app server
Expand All @@ -215,9 +215,9 @@
// Whether the app server should be restarted when app is rebuilt
// See `Advanced > restart` for more
restart: false, // default: `true`
}
}
}
},
},
};
```

You can also configure via flags. For example:
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.16.0-pre.3",
"@remix-run/react": "1.16.0-pre.3",
"@remix-run/router": "1.6.0-pre.0",
"react-router-dom": "6.11.0-pre.1"
"react-router-dom": "6.11.0-pre.2"
},
"devDependencies": {
"@types/node": "^18.11.9",
Expand Down
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11236,18 +11236,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.11.0-pre.1:
version "6.11.0-pre.1"
resolved "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.11.0-pre.1.tgz#66e076c2777108b2bac1729e33bde9161a8e83f5"
integrity sha512-EEdmUk06pGPrjU87mFxKlQQMc5a/RIMA2gEwnmdAyIHdo/FAWGb917yOEDIh4pnv/wH0eSX0Wgsnuua9/k6X+g==
react-router-dom@6.11.0-pre.2:
version "6.11.0-pre.2"
resolved "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.11.0-pre.2.tgz#31eb25fb1ccc22795e2a4938a1bafdc8f0fb8121"
integrity sha512-FWmPehDeRjX/KmNpYq6DB4Tc76s/NHWgKkEe/SbqSX0AYivHg+rwfcUxj3eUgJohjHQTQ+eImWC16PNjALgaRA==
dependencies:
"@remix-run/router" "1.6.0-pre.0"
react-router "6.11.0-pre.1"
react-router "6.11.0-pre.2"

react-router@6.11.0-pre.1:
version "6.11.0-pre.1"
resolved "https://registry.npmjs.org/react-router/-/react-router-6.11.0-pre.1.tgz#cbeade3bec425aab45e0a49060c7735ba98a8bbb"
integrity sha512-CBOpqUysQxG598u9I0ngzoXXxMXYDEkBW6sSL9O1xyFJg3dYa0ytaVlKap9QAKOYsYTiMlkMiAGFKbyp81ErHA==
react-router@6.11.0-pre.2:
version "6.11.0-pre.2"
resolved "https://registry.npmjs.org/react-router/-/react-router-6.11.0-pre.2.tgz#5880e73c09485c5fcb3f1e2ee6aa4d460a842a4c"
integrity sha512-4xCL6I6D0DSDwaX35Gc0dVpIKE9zQCrGakWQXW8mBFK1EnxG8nUgwW6T/HN43d72bd9AmFJDXVc+fqPN7ayq4g==
dependencies:
"@remix-run/router" "1.6.0-pre.0"

Expand Down