Closed brookslybrand closed 7 months ago
Fun little script ChatGPT helped me write to test the difference between pages on prod and staging
#!/bin/bash
# Set the default URL page
url_page=${1:-""}
# Curl the websites, pass the output through prettier, and save to files
curl -s "https://remix.run/$url_page" | npx prettier --parser html > remix.html
curl -s "https://remixdotrunstage.fly.dev/$url_page" | npx prettier --parser html > remix-stage.html
# Diff the two files
diff --color=always remix.html remix-stage.html
Usage
./check-stage docs/en/main/start/v2
The following packages needed to be bumped to the latest major versions:
I upgraded them, deployed, and everything seemed to work fine. However, I got some type errors and am not familiar enough with these packages or the setup to quickly fix it. I figured this might be an issue someone else would be eager to dig their hands into