Skip to content

Commit

Permalink
feat: upgrade to docusaurus 3 plus all remaining deps
Browse files Browse the repository at this point in the history
  • Loading branch information
darkbasic committed Nov 6, 2023
1 parent 23ac512 commit bd4b368
Show file tree
Hide file tree
Showing 23 changed files with 3,061 additions and 1,930 deletions.
2 changes: 1 addition & 1 deletion examples/accounts-microservice/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@graphql-tools/merge": "9.0.0",
"@graphql-tools/schema": "10.0.0",
"@graphql-tools/stitch": "9.0.3",
"@graphql-tools/utils": "10.0.7",
"@graphql-tools/utils": "10.0.8",
"@graphql-tools/wrap": "10.0.1",
"graphql": "16.8.1",
"graphql-modules": "3.0.0-alpha-20231018163544-36199b68",
Expand Down
14 changes: 7 additions & 7 deletions examples/graphql-server-mikro-orm-postgres/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@
"@envelop/graphql-modules": "6.0.0",
"@graphql-tools/merge": "9.0.0",
"@graphql-tools/schema": "10.0.0",
"@mikro-orm/cli": "5.8.10",
"@mikro-orm/core": "5.8.10",
"@mikro-orm/entity-generator": "5.8.10",
"@mikro-orm/knex": "5.8.10",
"@mikro-orm/migrations": "5.8.10",
"@mikro-orm/postgresql": "5.8.10",
"@mikro-orm/reflection": "5.8.10",
"@mikro-orm/cli": "5.9.2",
"@mikro-orm/core": "5.9.2",
"@mikro-orm/entity-generator": "5.9.2",
"@mikro-orm/knex": "5.9.2",
"@mikro-orm/migrations": "5.9.2",
"@mikro-orm/postgresql": "5.9.2",
"@mikro-orm/reflection": "5.9.2",
"graphql": "16.8.1",
"graphql-modules": "3.0.0-alpha-20231018163544-36199b68",
"graphql-yoga": "5.0.0",
Expand Down
4 changes: 2 additions & 2 deletions examples/graphql-server-typescript-apollo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
"@accounts/module-password": "^0.34.0",
"@accounts/password": "^0.32.2",
"@accounts/server": "^0.33.1",
"@apollo/server": "4.9.4",
"@apollo/server": "4.9.5",
"@apollo/server-plugin-landing-page-graphql-playground": "4.0.1",
"@graphql-tools/merge": "9.0.0",
"@graphql-tools/schema": "10.0.0",
"graphql": "16.8.1",
"graphql-modules": "3.0.0-alpha-20231018163544-36199b68",
"graphql-tag": "2.12.6",
"mongoose": "7.6.3",
"mongoose": "7.6.4",
"tslib": "2.6.2"
}
}
2 changes: 1 addition & 1 deletion examples/graphql-server-typescript-basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"graphql-http": "1.22.0",
"graphql-modules": "3.0.0-alpha-20231018163544-36199b68",
"graphql-tag": "2.12.6",
"mongoose": "7.6.3",
"mongoose": "7.6.4",
"tslib": "2.6.2"
}
}
2 changes: 1 addition & 1 deletion examples/graphql-server-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"graphql-modules": "3.0.0-alpha-20231018163544-36199b68",
"graphql-tag": "2.12.6",
"graphql-yoga": "5.0.0",
"mongoose": "7.6.3",
"mongoose": "7.6.4",
"tslib": "2.6.2"
}
}
2 changes: 1 addition & 1 deletion examples/magic-link-server-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@accounts/magic-link": "^0.1.1",
"@accounts/mongo": "^0.34.1",
"@accounts/server": "^0.33.1",
"mongoose": "7.6.3",
"mongoose": "7.6.4",
"tslib": "2.6.2"
}
}
10 changes: 5 additions & 5 deletions examples/react-graphql-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@
"@accounts/client": "^0.33.1",
"@accounts/client-password": "^0.32.2",
"@accounts/graphql-client": "^0.33.1",
"@apollo/client": "3.8.6",
"@apollo/client": "3.8.7",
"@emotion/react": "11.11.1",
"@emotion/styled": "11.11.0",
"@mui/material": "5.14.14",
"@mui/styles": "5.14.14",
"@mui/material": "5.14.16",
"@mui/styles": "5.14.16",
"graphql": "16.8.1",
"graphql-tag": "2.12.6",
"qrcode.react": "3.1.0",
Expand All @@ -47,11 +47,11 @@
},
"devDependencies": {
"@types/qrcode.react": "1.0.4",
"@types/react": "18.2.31",
"@types/react": "18.2.35",
"@types/react-dom": "18.2.14",
"@types/react-router": "5.1.20",
"@types/react-router-dom": "5.3.3",
"eslint": "8.52.0",
"eslint": "8.53.0",
"eslint-config-react-app": "7.0.1",
"react-scripts": "5.0.1",
"web-vitals": "3.5.0"
Expand Down
12 changes: 6 additions & 6 deletions examples/react-rest-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
"@accounts/rest-client": "^0.33.1",
"@emotion/react": "11.11.1",
"@emotion/styled": "11.11.0",
"@mui/icons-material": "5.14.14",
"@mui/lab": "5.0.0-alpha.142",
"@mui/material": "5.14.14",
"@mui/styles": "5.14.14",
"@mui/icons-material": "5.14.16",
"@mui/lab": "5.0.0-alpha.151",
"@mui/material": "5.14.16",
"@mui/styles": "5.14.16",
"formik": "2.4.5",
"qrcode.react": "3.1.0",
"react": "18.2.0",
Expand All @@ -47,11 +47,11 @@
"devDependencies": {
"@accounts/types": "^0.33.2",
"@types/qrcode.react": "1.0.4",
"@types/react": "18.2.31",
"@types/react": "18.2.35",
"@types/react-dom": "18.2.14",
"@types/react-router": "5.1.20",
"@types/react-router-dom": "5.3.3",
"eslint": "8.52.0",
"eslint": "8.53.0",
"eslint-config-react-app": "7.0.1",
"react-scripts": "5.0.1",
"web-vitals": "3.5.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/rest-express-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"body-parser": "1.20.2",
"cors": "2.8.5",
"express": "4.18.2",
"mongoose": "7.6.3",
"mongoose": "7.6.4",
"tslib": "2.6.2"
}
}
2 changes: 1 addition & 1 deletion modules/module-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
},
"dependencies": {
"@graphql-tools/merge": "9.0.0",
"@graphql-tools/utils": "10.0.7",
"@graphql-tools/utils": "10.0.8",
"request-ip": "3.3.0",
"tslib": "2.6.2"
},
Expand Down
2 changes: 1 addition & 1 deletion modules/module-magic-link/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
},
"dependencies": {
"@graphql-tools/merge": "9.0.0",
"@graphql-tools/utils": "10.0.7",
"@graphql-tools/utils": "10.0.8",
"request-ip": "3.3.0",
"tslib": "2.6.2"
},
Expand Down
16 changes: 8 additions & 8 deletions modules/module-mikro-orm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
},
"dependencies": {
"@graphql-tools/merge": "9.0.0",
"@graphql-tools/utils": "10.0.7",
"@graphql-tools/utils": "10.0.8",
"request-ip": "3.3.0",
"tslib": "2.6.2"
},
Expand All @@ -63,13 +63,13 @@
"@graphql-codegen/typescript-operations": "4.0.1",
"@graphql-codegen/typescript-resolvers": "4.0.1",
"@graphql-codegen/typescript-type-graphql": "3.0.0",
"@mikro-orm/cli": "5.8.10",
"@mikro-orm/core": "5.8.10",
"@mikro-orm/entity-generator": "5.8.10",
"@mikro-orm/knex": "5.8.10",
"@mikro-orm/migrations": "5.8.10",
"@mikro-orm/postgresql": "5.8.10",
"@mikro-orm/reflection": "5.8.10",
"@mikro-orm/cli": "5.9.2",
"@mikro-orm/core": "5.9.2",
"@mikro-orm/entity-generator": "5.9.2",
"@mikro-orm/knex": "5.9.2",
"@mikro-orm/migrations": "5.9.2",
"@mikro-orm/postgresql": "5.9.2",
"@mikro-orm/reflection": "5.9.2",
"@types/request-ip": "0.0.40",
"graphql": "16.8.1",
"graphql-modules": "3.0.0-alpha-20231018163544-36199b68",
Expand Down
16 changes: 8 additions & 8 deletions modules/module-mongo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
},
"dependencies": {
"@graphql-tools/merge": "9.0.0",
"@graphql-tools/utils": "10.0.7",
"@graphql-tools/utils": "10.0.8",
"request-ip": "3.3.0",
"tslib": "2.6.2"
},
Expand All @@ -63,13 +63,13 @@
"@graphql-codegen/typescript-operations": "4.0.1",
"@graphql-codegen/typescript-resolvers": "4.0.1",
"@graphql-codegen/typescript-type-graphql": "3.0.0",
"@mikro-orm/cli": "5.8.10",
"@mikro-orm/core": "5.8.10",
"@mikro-orm/entity-generator": "5.8.10",
"@mikro-orm/knex": "5.8.10",
"@mikro-orm/migrations": "5.8.10",
"@mikro-orm/postgresql": "5.8.10",
"@mikro-orm/reflection": "5.8.10",
"@mikro-orm/cli": "5.9.2",
"@mikro-orm/core": "5.9.2",
"@mikro-orm/entity-generator": "5.9.2",
"@mikro-orm/knex": "5.9.2",
"@mikro-orm/migrations": "5.9.2",
"@mikro-orm/postgresql": "5.9.2",
"@mikro-orm/reflection": "5.9.2",
"@types/request-ip": "0.0.40",
"graphql": "16.8.1",
"graphql-modules": "3.0.0-alpha-20231018163544-36199b68",
Expand Down
2 changes: 1 addition & 1 deletion modules/module-password/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
},
"dependencies": {
"@graphql-tools/merge": "9.0.0",
"@graphql-tools/utils": "10.0.7",
"@graphql-tools/utils": "10.0.8",
"request-ip": "3.3.0",
"tslib": "2.6.2"
},
Expand Down
2 changes: 1 addition & 1 deletion modules/module-typeorm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
},
"dependencies": {
"@graphql-tools/merge": "9.0.0",
"@graphql-tools/utils": "10.0.7",
"@graphql-tools/utils": "10.0.8",
"request-ip": "3.3.0",
"tslib": "2.6.2"
},
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@
"devDependencies": {
"@changesets/changelog-github": "0.4.8",
"@changesets/cli": "2.26.2",
"@types/jest": "29.5.6",
"@types/node": "20.8.7",
"@typescript-eslint/eslint-plugin": "6.8.0",
"@typescript-eslint/parser": "6.8.0",
"eslint": "8.52.0",
"@types/jest": "29.5.7",
"@types/node": "20.8.10",
"@typescript-eslint/eslint-plugin": "6.9.1",
"@typescript-eslint/parser": "6.9.1",
"eslint": "8.53.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-jest": "27.4.3",
"eslint-plugin-jest": "27.6.0",
"eslint-plugin-prettier": "5.0.1",
"husky": "8.0.3",
"jest": "29.7.0",
Expand All @@ -88,5 +88,5 @@
"node": ">= 16.0.0",
"yarn": ">=3.2.0"
},
"packageManager": "yarn@4.0.0-rc.53"
"packageManager": "yarn@4.0.1"
}
2 changes: 1 addition & 1 deletion packages/apollo-link-accounts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
},
"devDependencies": {
"@accounts/client": "^0.33.1",
"@apollo/client": "3.8.6",
"@apollo/client": "3.8.7",
"graphql": "16.8.1",
"rimraf": "5.0.5"
}
Expand Down
14 changes: 7 additions & 7 deletions packages/database-mikro-orm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@
"devDependencies": {
"@accounts/database-tests": "^0.32.2",
"@accounts/server": "^0.33.1",
"@mikro-orm/cli": "5.8.10",
"@mikro-orm/core": "5.8.10",
"@mikro-orm/entity-generator": "5.8.10",
"@mikro-orm/knex": "5.8.10",
"@mikro-orm/migrations": "5.8.10",
"@mikro-orm/postgresql": "5.8.10",
"@mikro-orm/reflection": "5.8.10",
"@mikro-orm/cli": "5.9.2",
"@mikro-orm/core": "5.9.2",
"@mikro-orm/entity-generator": "5.9.2",
"@mikro-orm/knex": "5.9.2",
"@mikro-orm/migrations": "5.9.2",
"@mikro-orm/postgresql": "5.9.2",
"@mikro-orm/reflection": "5.9.2",
"graphql": "16.8.1",
"graphql-modules": "3.0.0-alpha-20231018163544-36199b68"
},
Expand Down
10 changes: 5 additions & 5 deletions packages/e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"devDependencies": {
"@types/body-parser": "1.19.4",
"@types/express": "4.17.20",
"@types/node-fetch": "2.6.7",
"@types/node-fetch": "2.6.8",
"jest-localstorage-mock": "2.4.26",
"reflect-metadata": "0.1.13"
},
Expand All @@ -46,14 +46,14 @@
"@accounts/server": "^0.33.1",
"@accounts/typeorm": "^0.33.1",
"@accounts/types": "^0.33.2",
"@apollo/client": "3.8.6",
"@apollo/server": "4.9.4",
"@apollo/client": "3.8.7",
"@apollo/server": "4.9.5",
"body-parser": "1.20.2",
"core-js": "3.33.1",
"core-js": "3.33.2",
"express": "4.18.2",
"graphql": "16.8.1",
"graphql-modules": "3.0.0-alpha-20231018163544-36199b68",
"mongoose": "7.6.3",
"mongoose": "7.6.4",
"node-fetch": "2.7.0",
"tslib": "2.6.2",
"typeorm": "0.3.17"
Expand Down
2 changes: 1 addition & 1 deletion packages/rest-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
"dependencies": {
"@accounts/types": "^0.33.1",
"@types/node-fetch": "2.6.7",
"@types/node-fetch": "2.6.8",
"tslib": "2.6.2"
},
"devDependencies": {
Expand Down
7 changes: 5 additions & 2 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@

const fs = require('fs');
const path = require('path');
const { themes } = require('prism-react-renderer');
const theme = themes.github;
const darkTheme = themes.dracula;

/** @type {import('@docusaurus/types').DocusaurusConfig} */
module.exports = {
Expand Down Expand Up @@ -34,8 +37,8 @@ module.exports = {
customDomain: 'https://goose.accountsjs.com',
},
prism: {
theme: require('prism-react-renderer/themes/github'),
darkTheme: require('prism-react-renderer/themes/dracula'),
theme,
darkTheme,
},
navbar: {
logo: {
Expand Down
10 changes: 5 additions & 5 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
"write-heading-ids": "docusaurus write-heading-ids"
},
"dependencies": {
"@docusaurus/core": "2.4.3",
"@docusaurus/preset-classic": "2.4.3",
"@docusaurus/core": "3.0.0",
"@docusaurus/preset-classic": "3.0.0",
"docusaurus-plugin-fathom": "1.1.0",
"docusaurus-plugin-typedoc-api": "3.0.1",
"docusaurus-plugin-typedoc-api": "4.0.1",
"react": "18.2.0",
"react-dom": "18.2.0"
},
Expand All @@ -34,7 +34,7 @@
]
},
"devDependencies": {
"@types/react": "18.2.31",
"typescript": "5.0.4"
"@types/react": "18.2.35",
"typescript": "5.2.2"
}
}
Loading

0 comments on commit bd4b368

Please sign in to comment.