fix: Deal with <https://github.com/vercel/next.js/issues/8592>
Document this on the README, and add a few more to do items
This commit is contained in:
parent
346e070d0e
commit
83a01e6156
11
README.md
11
README.md
|
@ -92,3 +92,14 @@ Overall, the services which we use are:
|
||||||
- Commits follow [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/#summary)
|
- Commits follow [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/#summary)
|
||||||
- For elicit and metaculus, this library currently filters out questions with <10 predictions.
|
- For elicit and metaculus, this library currently filters out questions with <10 predictions.
|
||||||
- The database is updated once a day, at 3:00 AM UTC, with the command `ts-node -T src/backend/flow/doEverythingForScheduler.ts`. The frontpage is updated after that, at 6:00 AM UTC with the command `ts-node -T src/backend/index.ts frontpage`. It's possible that either of these two operations makes the webpage briefly go down.
|
- The database is updated once a day, at 3:00 AM UTC, with the command `ts-node -T src/backend/flow/doEverythingForScheduler.ts`. The frontpage is updated after that, at 6:00 AM UTC with the command `ts-node -T src/backend/index.ts frontpage`. It's possible that either of these two operations makes the webpage briefly go down.
|
||||||
|
|
||||||
|
## To do
|
||||||
|
|
||||||
|
- [ ] Upgrade to [React 18](https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html). This will require dealing with the workaround we used for [this issue](https://github.com/vercel/next.js/issues/36019#issuecomment-1103266481)
|
||||||
|
- [ ] Add database of resolutions
|
||||||
|
- [ ] Update Metaculus and Manifold Markets fetchers
|
||||||
|
- [ ] Allow users to embed predictions in the EA Forum/LessWrong (in progress)
|
||||||
|
- [ ] Find a long-term mantainer for this project
|
||||||
|
- [ ] Allow users to record their own predictions
|
||||||
|
- [ ] Release snapshots (@niplav working on this)
|
||||||
|
- [ ] ...
|
|
@ -7,8 +7,7 @@
|
||||||
"url": "git+https://github.com/QURIresearch/metaforecast.git"
|
"url": "git+https://github.com/QURIresearch/metaforecast.git"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"forecasts",
|
"forecasts", "predictions"
|
||||||
"predictions"
|
|
||||||
],
|
],
|
||||||
"author": "Nuño Sempere",
|
"author": "Nuño Sempere",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
@ -102,6 +101,9 @@
|
||||||
"urql-custom-scalars-exchange": "^0.1.6",
|
"urql-custom-scalars-exchange": "^0.1.6",
|
||||||
"victory": "^36.6.8"
|
"victory": "^36.6.8"
|
||||||
},
|
},
|
||||||
|
"resolutions": {
|
||||||
|
"@types/react": "<18.0.0"
|
||||||
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@graphql-codegen/cli": "^2.13.7",
|
"@graphql-codegen/cli": "^2.13.7",
|
||||||
"@graphql-codegen/introspection": "^2.2.1",
|
"@graphql-codegen/introspection": "^2.2.1",
|
||||||
|
|
|
@ -17,12 +17,14 @@ Router.events.on("routeChangeStart", (as, { shallow }) => {
|
||||||
Router.events.on("routeChangeComplete", () => NProgress.done());
|
Router.events.on("routeChangeComplete", () => NProgress.done());
|
||||||
Router.events.on("routeChangeError", () => NProgress.done());
|
Router.events.on("routeChangeError", () => NProgress.done());
|
||||||
|
|
||||||
|
|
||||||
function MyApp({ Component, pageProps }: AppProps) {
|
function MyApp({ Component, pageProps }: AppProps) {
|
||||||
return (
|
return (
|
||||||
<PlausibleProvider domain="metaforecast.org">
|
<PlausibleProvider domain="metaforecast.org">
|
||||||
<Component {...pageProps} />
|
<Component {...pageProps} />
|
||||||
</PlausibleProvider>
|
</PlausibleProvider>
|
||||||
);
|
);
|
||||||
|
// Workaround in package.json for: https://github.com/vercel/next.js/issues/36019#issuecomment-1103266481
|
||||||
}
|
}
|
||||||
|
|
||||||
export default withUrqlClient((ssr) => getUrqlClientOptions(ssr), {
|
export default withUrqlClient((ssr) => getUrqlClientOptions(ssr), {
|
||||||
|
|
11
yarn.lock
11
yarn.lock
|
@ -2293,16 +2293,7 @@
|
||||||
dependencies:
|
dependencies:
|
||||||
"@types/react" "*"
|
"@types/react" "*"
|
||||||
|
|
||||||
"@types/react@*":
|
"@types/react@*", "@types/react@<18.0.0", "@types/react@^17.0.50":
|
||||||
version "18.0.22"
|
|
||||||
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.0.22.tgz#97782d995d999617de116cf61f437f1351036fc7"
|
|
||||||
integrity sha512-4yWc5PyCkZN8ke8K9rQHkTXxHIWHxLzzW6RI1kXVoepkD3vULpKzC2sDtAMKn78h92BRYuzf+7b/ms7ajE6hFw==
|
|
||||||
dependencies:
|
|
||||||
"@types/prop-types" "*"
|
|
||||||
"@types/scheduler" "*"
|
|
||||||
csstype "^3.0.2"
|
|
||||||
|
|
||||||
"@types/react@^17.0.50":
|
|
||||||
version "17.0.50"
|
version "17.0.50"
|
||||||
resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.50.tgz#39abb4f7098f546cfcd6b51207c90c4295ee81fc"
|
resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.50.tgz#39abb4f7098f546cfcd6b51207c90c4295ee81fc"
|
||||||
integrity sha512-ZCBHzpDb5skMnc1zFXAXnL3l1FAdi+xZvwxK+PkglMmBrwjpp9nKaWuEvrGnSifCJmBFGxZOOFuwC6KH/s0NuA==
|
integrity sha512-ZCBHzpDb5skMnc1zFXAXnL3l1FAdi+xZvwxK+PkglMmBrwjpp9nKaWuEvrGnSifCJmBFGxZOOFuwC6KH/s0NuA==
|
||||||
|
|
Loading…
Reference in New Issue
Block a user