Update trpc, graphql, whatwg-node, nextjs and guild/components (#2964)

This commit is contained in:
Kamil Kisiela 2023-09-27 09:16:05 +02:00 committed by GitHub
parent be71857b25
commit 56de2938f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
32 changed files with 3084 additions and 3005 deletions

View file

@ -18,16 +18,16 @@
"@hive/rate-limit": "workspace:*",
"@hive/server": "workspace:*",
"@hive/storage": "workspace:*",
"@trpc/client": "10.38.3",
"@trpc/server": "10.38.3",
"@trpc/client": "10.38.4",
"@trpc/server": "10.38.4",
"@types/dockerode": "3.3.19",
"@types/ioredis": "4.28.10",
"@whatwg-node/fetch": "0.9.9",
"@whatwg-node/fetch": "0.9.13",
"bcryptjs": "2.4.3",
"date-fns": "2.30.0",
"dockerode": "3.3.5",
"dotenv": "16.3.1",
"graphql": "16.6.0",
"graphql": "16.8.1",
"human-id": "4.0.0",
"ioredis": "5.3.2",
"slonik": "30.4.4",

View file

@ -63,7 +63,7 @@
"@graphql-codegen/typescript-resolvers": "4.0.1",
"@graphql-inspector/cli": "4.0.2",
"@manypkg/get-packages": "2.2.0",
"@next/eslint-plugin-next": "13.4.11",
"@next/eslint-plugin-next": "13.5.3",
"@sentry/cli": "2.20.7",
"@swc/core": "1.3.85",
"@theguild/eslint-config": "0.11.0",
@ -74,10 +74,10 @@
"dotenv": "16.3.1",
"eslint": "8.50.0",
"eslint-plugin-cypress": "2.15.1",
"eslint-plugin-hive": "file:./rules",
"eslint-plugin-hive": "file:rules",
"eslint-plugin-tailwindcss": "3.12.1",
"fs-extra": "11.1.1",
"graphql": "16.6.0",
"graphql": "16.8.1",
"husky": "8.0.3",
"jest-snapshot-serializer-raw": "2.0.0",
"lint-staged": "14.0.1",
@ -89,7 +89,7 @@
"rimraf": "4.4.1",
"ts-node": "10.9.1",
"tsup": "7.2.0",
"tsx": "3.12.10",
"tsx": "3.13.0",
"turbo": "1.10.14",
"typescript": "5.2.2",
"vitest": "0.31.1"
@ -122,10 +122,11 @@
"eslint@8.50.0": "patches/eslint@8.50.0.patch",
"@oclif/core@2.8.5": "patches/@oclif__core@2.8.5.patch",
"@graphql-eslint/eslint-plugin@3.20.1": "patches/@graphql-eslint__eslint-plugin@3.20.1.patch",
"nextra-theme-docs@2.9.0": "patches/nextra-theme-docs@2.9.0.patch",
"@theguild/components@5.2.1": "patches/@theguild__components@5.2.1.patch",
"graphiql@3.0.0-alpha.0": "patches/graphiql@3.0.0-alpha.0.patch",
"@graphiql/react@0.18.0-alpha.0": "patches/@graphiql__react@0.18.0-alpha.0.patch"
"@graphiql/react@0.18.0-alpha.0": "patches/@graphiql__react@0.18.0-alpha.0.patch",
"nextra-theme-docs@2.12.3": "patches/nextra-theme-docs@2.12.3.patch",
"@theguild/components@5.2.4": "patches/@theguild__components@5.2.4.patch",
"nextra@2.12.3": "patches/nextra@2.12.3.patch"
}
}
}

View file

@ -56,10 +56,10 @@
"@oclif/core": "^2.8.5",
"@oclif/plugin-help": "5.2.19",
"@oclif/plugin-update": "3.2.3",
"@whatwg-node/fetch": "0.9.9",
"@whatwg-node/fetch": "0.9.13",
"colors": "1.4.0",
"env-ci": "7.3.0",
"graphql": "^16.0.0",
"graphql": "^16.8.1",
"graphql-request": "5.1.0",
"graphql-tag": "2.12.6",
"log-symbols": "4.1.0",
@ -70,6 +70,7 @@
"devDependencies": {
"@types/env-ci": "3.1.1",
"@types/mkdirp": "1.0.2",
"graphql": "16.8.1",
"oclif": "3.17.1",
"rimraf": "4.4.1",
"ts-node": "10.9.1"

View file

@ -62,6 +62,7 @@
"@apollo/subgraph": "2.5.5",
"@envelop/types": "4.0.1",
"@types/async-retry": "1.4.5",
"graphql": "16.8.1",
"graphql-yoga": "4.0.4",
"nock": "13.3.3",
"vitest": "0.31.1"

View file

@ -49,6 +49,7 @@
},
"devDependencies": {
"@types/lodash.sortby": "4.7.7",
"graphql": "16.8.1",
"tslib": "2.6.2"
},
"publishConfig": {

View file

@ -60,9 +60,9 @@
},
"devDependencies": {
"@apollo/composition": "2.5.5",
"esbuild": "0.17.19",
"esbuild": "0.18.20",
"fastify": "3.29.5",
"graphql": "16.6.0"
"graphql": "16.8.1"
},
"publishConfig": {
"registry": "https://registry.npmjs.org",

View file

@ -21,7 +21,7 @@
"@types/bcryptjs": "2.4.4",
"@types/node": "18.17.17",
"@types/pg": "8.10.2",
"@whatwg-node/fetch": "0.9.9",
"@whatwg-node/fetch": "0.9.13",
"bcryptjs": "2.4.3",
"copyfiles": "2.4.1",
"dotenv": "16.3.1",

View file

@ -28,20 +28,21 @@
"@sentry/types": "7.69.0",
"@slack/web-api": "6.9.0",
"@theguild/buddy": "0.1.0",
"@trpc/client": "10.38.3",
"@trpc/server": "10.38.3",
"@trpc/client": "10.38.4",
"@trpc/server": "10.38.4",
"@types/bcryptjs": "2.4.4",
"@types/ioredis-mock": "8.2.2",
"@types/lodash": "4.14.198",
"@types/ms": "0.7.31",
"@types/object-hash": "3.0.4",
"@whatwg-node/fetch": "0.9.9",
"@whatwg-node/fetch": "0.9.13",
"agentkeepalive": "4.5.0",
"bcryptjs": "2.4.3",
"dataloader": "2.2.2",
"date-fns": "2.30.0",
"fast-json-stable-stringify": "2.1.0",
"got": "12.6.1",
"graphql": "16.8.1",
"graphql-modules": "2.1.2",
"graphql-parse-resolve-info": "4.13.0",
"graphql-scalars": "1.22.2",

View file

@ -11,11 +11,10 @@
"devDependencies": {
"@cloudflare/workers-types": "4.20230914.0",
"@types/service-worker-mock": "2.0.1",
"@whatwg-node/fetch": "0.9.9",
"@whatwg-node/server": "0.9.5",
"esbuild": "0.17.19",
"itty-router": "2.6.6",
"itty-router-extras": "0.4.5",
"@whatwg-node/fetch": "0.9.13",
"@whatwg-node/server": "0.9.10",
"esbuild": "0.18.20",
"itty-router": "4.0.23",
"nock": "13.3.3",
"toucan-js": "3.2.3",
"workers-loki-logger": "0.1.15",

View file

@ -19,13 +19,13 @@
"devDependencies": {
"@cloudflare/workers-types": "4.20230914.0",
"@types/service-worker-mock": "2.0.1",
"@whatwg-node/fetch": "0.9.9",
"@whatwg-node/server": "0.9.5",
"@whatwg-node/fetch": "0.9.13",
"@whatwg-node/server": "0.9.10",
"bcryptjs": "2.4.3",
"dotenv": "16.3.1",
"esbuild": "0.17.19",
"esbuild": "0.18.20",
"fastify": "3.29.5",
"graphql": "16.6.0",
"graphql": "16.8.1",
"itty-router": "2.6.6",
"itty-router-extras": "0.4.5",
"toucan-js": "3.2.3",

View file

@ -13,11 +13,11 @@
"devDependencies": {
"@hive/service-common": "workspace:*",
"@sentry/node": "7.69.0",
"@trpc/server": "10.38.3",
"@trpc/server": "10.38.4",
"@types/mjml": "4.7.1",
"@types/nodemailer": "6.4.10",
"@types/sendmail": "1.4.4",
"@whatwg-node/fetch": "0.9.9",
"@whatwg-node/fetch": "0.9.13",
"bullmq": "4.11.4",
"copyfiles": "2.4.1",
"dotenv": "16.3.1",

View file

@ -10,9 +10,9 @@
"devDependencies": {
"@apollo/composition": "2.5.5",
"@graphql-hive/external-composition": "workspace:*",
"@whatwg-node/fetch": "0.9.9",
"@whatwg-node/server": "0.9.9",
"graphql": "^16.6.0",
"@whatwg-node/fetch": "0.9.13",
"@whatwg-node/server": "0.9.10",
"graphql": "16.8.1",
"lru-cache": "^7.17.0",
"zod": "3.22.2"
}

View file

@ -14,13 +14,13 @@
"@hive/service-common": "workspace:*",
"@sentry/node": "7.69.0",
"@sentry/tracing": "7.69.0",
"@trpc/server": "10.38.3",
"@whatwg-node/fetch": "0.9.9",
"@trpc/server": "10.38.4",
"@whatwg-node/fetch": "0.9.13",
"ajv": "8.12.0",
"dotenv": "16.3.1",
"eslint": "8.50.0",
"fastify": "3.29.5",
"graphql": "16.6.0",
"graphql": "16.8.1",
"pino-pretty": "10.2.0",
"zod": "3.22.2",
"zod-validation-error": "1.5.0"

View file

@ -15,9 +15,9 @@
"@hive/service-common": "workspace:*",
"@hive/storage": "workspace:*",
"@sentry/node": "7.69.0",
"@trpc/client": "10.38.3",
"@trpc/server": "10.38.3",
"@whatwg-node/fetch": "0.9.9",
"@trpc/client": "10.38.4",
"@trpc/server": "10.38.4",
"@whatwg-node/fetch": "0.9.13",
"date-fns": "2.30.0",
"dotenv": "16.3.1",
"got": "12.6.1",

View file

@ -16,14 +16,14 @@
"@graphql-tools/stitching-directives": "3.0.0",
"@hive/service-common": "workspace:*",
"@sentry/node": "7.69.0",
"@trpc/server": "10.38.3",
"@trpc/server": "10.38.4",
"@types/async-retry": "1.4.5",
"@types/ioredis-mock": "8.2.2",
"@whatwg-node/fetch": "0.9.9",
"@whatwg-node/fetch": "0.9.13",
"dotenv": "16.3.1",
"fastify": "3.29.5",
"got": "12.6.1",
"graphql": "16.6.0",
"graphql": "16.8.1",
"ioredis": "5.3.2",
"ioredis-mock": "8.8.3",
"p-timeout": "6.1.2",

View file

@ -29,13 +29,13 @@
"@sentry/integrations": "7.69.0",
"@sentry/node": "7.69.0",
"@swc/core": "1.3.85",
"@trpc/server": "10.38.3",
"@whatwg-node/fetch": "0.9.9",
"@whatwg-node/server": "0.9.5",
"@trpc/server": "10.38.4",
"@whatwg-node/fetch": "0.9.13",
"@whatwg-node/server": "0.9.10",
"dotenv": "16.3.1",
"fastify": "3.29.5",
"got": "12.6.1",
"graphql": "16.6.0",
"graphql": "16.8.1",
"graphql-yoga": "4.0.4",
"hyperid": "3.1.1",
"pino-pretty": "10.2.0",

View file

@ -7,13 +7,13 @@
"peerDependencies": {
"@sentry/node": "^7.0.0",
"@sentry/utils": "^7.0.0",
"@trpc/server": "10.38.3"
"@trpc/server": "10.38.4"
},
"devDependencies": {
"@sentry/node": "7.69.0",
"@sentry/types": "7.69.0",
"@sentry/utils": "7.69.0",
"@whatwg-node/fetch": "0.9.9",
"@whatwg-node/fetch": "0.9.13",
"fastify": "3.29.5",
"fastify-cors": "6.0.3",
"fastify-plugin": "4.5.1",

View file

@ -14,9 +14,9 @@
"@hive/service-common": "workspace:*",
"@hive/storage": "workspace:*",
"@sentry/node": "7.69.0",
"@trpc/client": "10.38.3",
"@trpc/server": "10.38.3",
"@whatwg-node/fetch": "0.9.9",
"@trpc/client": "10.38.4",
"@trpc/server": "10.38.4",
"@whatwg-node/fetch": "0.9.13",
"date-fns": "2.30.0",
"dotenv": "16.3.1",
"got": "12.6.1",

View file

@ -13,7 +13,7 @@
"@hive/service-common": "workspace:*",
"@hive/storage": "workspace:*",
"@sentry/node": "7.69.0",
"@trpc/server": "10.38.3",
"@trpc/server": "10.38.4",
"@types/ms": "0.7.31",
"dotenv": "16.3.1",
"fastify": "3.29.5",

View file

@ -4,6 +4,6 @@
"license": "MIT",
"private": true,
"devDependencies": {
"graphql": "16.6.0"
"graphql": "16.8.1"
}
}

View file

@ -14,8 +14,8 @@
"@hive/api": "workspace:*",
"@hive/service-common": "workspace:*",
"@sentry/node": "7.69.0",
"@trpc/server": "10.38.3",
"@whatwg-node/fetch": "0.9.9",
"@trpc/server": "10.38.4",
"@whatwg-node/fetch": "0.9.13",
"dotenv": "16.3.1",
"got": "12.6.1",
"pino-pretty": "10.2.0",

View file

@ -18,7 +18,7 @@
"date-fns": "2.30.0",
"dotenv": "16.3.1",
"got": "12.6.1",
"graphql": "16.6.0",
"graphql": "16.8.1",
"kafkajs": "2.2.4",
"pino-pretty": "10.2.0",
"tiny-lru": "8.0.2",

View file

@ -14,13 +14,13 @@
"@hive/tokens": "workspace:*",
"@hive/usage-common": "workspace:*",
"@sentry/node": "7.69.0",
"@trpc/client": "10.38.3",
"@trpc/server": "10.38.3",
"@whatwg-node/fetch": "0.9.9",
"@trpc/client": "10.38.4",
"@trpc/server": "10.38.4",
"@whatwg-node/fetch": "0.9.13",
"ajv": "8.12.0",
"dotenv": "16.3.1",
"got": "12.6.1",
"graphql": "16.6.0",
"graphql": "16.8.1",
"kafkajs": "2.2.4",
"pino-pretty": "10.2.0",
"tiny-lru": "8.0.2",

View file

@ -13,7 +13,7 @@
"devDependencies": {
"@hive/service-common": "workspace:*",
"@sentry/node": "7.69.0",
"@trpc/server": "10.38.3",
"@trpc/server": "10.38.4",
"bullmq": "4.11.4",
"copyfiles": "2.4.1",
"dotenv": "16.3.1",

View file

@ -16,5 +16,6 @@ const config = {
docs: {
autodocs: 'tag',
},
disableTelemetry: true,
};
export default config;

View file

@ -44,12 +44,12 @@
"@stripe/stripe-js": "2.1.6",
"@tanstack/react-table": "8.0.0-beta.8",
"@theguild/editor": "1.2.5",
"@trpc/client": "10.38.3",
"@trpc/server": "10.38.3",
"@trpc/client": "10.38.4",
"@trpc/server": "10.38.4",
"@urql/core": "4.0.10",
"@urql/exchange-graphcache": "6.1.4",
"@urql/exchange-persisted": "4.0.1",
"@whatwg-node/fetch": "0.9.9",
"@whatwg-node/fetch": "0.9.13",
"class-variance-authority": "0.7.0",
"clsx": "2.0.0",
"cookies": "0.8.0",
@ -59,7 +59,7 @@
"echarts-for-react": "3.0.2",
"formik": "2.2.9",
"graphiql": "3.0.0-alpha.0",
"graphql": "16.6.0",
"graphql": "16.8.1",
"hyperid": "3.1.1",
"immer": "10.0.2",
"js-cookie": "3.0.5",
@ -68,7 +68,7 @@
"lucide-react": "0.279.0",
"monaco-editor": "0.43.0",
"monaco-themes": "0.4.4",
"next": "13.4.11",
"next": "13.5.3",
"nextjs-cors": "2.1.2",
"pino": "8.15.1",
"pino-http": "8.5.0",
@ -102,15 +102,15 @@
"@graphql-typed-document-node/core": "3.2.0",
"@hive/emails": "workspace:*",
"@hive/server": "workspace:*",
"@next/bundle-analyzer": "13.4.11",
"@next/bundle-analyzer": "13.5.3",
"@sentry/types": "7.69.0",
"@storybook/addon-essentials": "7.0.23",
"@storybook/addon-interactions": "7.0.23",
"@storybook/addon-links": "7.0.23",
"@storybook/addon-styling": "1.3.2",
"@storybook/blocks": "7.0.23",
"@storybook/nextjs": "7.0.23",
"@storybook/react": "7.0.23",
"@storybook/addon-essentials": "7.4.5",
"@storybook/addon-interactions": "7.4.5",
"@storybook/addon-links": "7.4.5",
"@storybook/addon-styling": "1.3.7",
"@storybook/blocks": "7.4.5",
"@storybook/nextjs": "7.4.5",
"@storybook/react": "7.4.5",
"@types/cookies": "0.7.8",
"@types/dompurify": "3.0.2",
"@types/js-cookie": "3.0.4",
@ -124,7 +124,7 @@
"postcss": "8.4.30",
"postcss-loader": "7.3.3",
"rimraf": "4.4.1",
"storybook": "7.0.23",
"storybook": "7.4.5",
"tailwindcss": "3.3.3",
"tailwindcss-animate": "1.0.7",
"tailwindcss-radix": "2.8.0"

View file

@ -8,11 +8,11 @@
"dev": "next"
},
"dependencies": {
"@next/env": "13.4.11",
"@next/env": "13.5.3",
"@radix-ui/react-tooltip": "1.0.6",
"@theguild/components": "5.2.1",
"@theguild/components": "5.2.4",
"clsx": "2.0.0",
"next": "13.4.11",
"next": "13.5.3",
"next-themes": "*",
"react": "18.2.0",
"react-countup": "6.4.2",

View file

@ -1,5 +1,5 @@
diff --git a/dist/index.js b/dist/index.js
index 027689af48e0890751c8055fee5b63a6034ff415..a31866a79abaee51f7fa610019e77436d1012d64 100644
index 8bc5c9d19987f1995266503a5041124c0a83108f..74dc8add706d827e188b941df6f5b4c325af805a 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -2907,7 +2907,7 @@ function Tabs2({
@ -31,10 +31,10 @@ index 027689af48e0890751c8055fee5b63a6034ff415..a31866a79abaee51f7fa610019e77436
sidebar: {
defaultMenuCollapseLevel: 1,
diff --git a/dist/next.config.mjs b/dist/next.config.mjs
index 6ef98a9b58de5349c45395a11f3cc91c8d25866e..0e6d35c788c0b8e96a9d572b66436259d19aa395 100644
index 88622019e45209f9e7d07f97ab47cc5b3b3a0db1..b214f983119d770e0916c97d42ce133825a9c4c8 100644
--- a/dist/next.config.mjs
+++ b/dist/next.config.mjs
@@ -79,7 +79,9 @@ var withGuildDocs = ({
@@ -70,7 +70,9 @@ var withGuildDocs = ({
mdxOptions: {
remarkPlugins: defaultRemarkPlugins
},
@ -44,4 +44,4 @@ index 6ef98a9b58de5349c45395a11f3cc91c8d25866e..0e6d35c788c0b8e96a9d572b66436259
+ },
});
const siteUrl = process.env.SITE_URL || "";
return withBundleAnalyzer(
return withBundleAnalyzer(

View file

@ -0,0 +1,26 @@
diff --git a/dist/index.d.mts b/dist/index.d.mts
index 7cddbae8a44f81705dd25402511e8107ed067650..4728941792e9c07afb5c3d6d80ef3f7c2e3c8157 100644
--- a/dist/index.d.mts
+++ b/dist/index.d.mts
@@ -1271,4 +1271,7 @@ declare function ThemeSwitch({ lite, className }: ThemeSwitchProps): ReactElemen
declare function Layout({ children, ...context }: NextraThemeLayoutProps): ReactElement;
-export { Bleed, Collapse, PartialDocsThemeConfig as DocsThemeConfig, Link, LocaleSwitch, Navbar, NotFoundPage, ServerSideErrorPage, SkipNavContent, SkipNavLink, ThemeSwitch, Layout as default, useConfig };
+// KAMIL: needed to enable search in Hive
+declare function Flexsearch({className}: { className?: string }): ReactElement;
+
+export { Flexsearch, Bleed, Collapse, PartialDocsThemeConfig as DocsThemeConfig, Link, LocaleSwitch, Navbar, NotFoundPage, ServerSideErrorPage, SkipNavContent, SkipNavLink, ThemeSwitch, Layout as default, useConfig };
diff --git a/dist/index.js b/dist/index.js
index d72b8265f2ff61699af6135f5861270695ba6e77..900a6a033fb5aedf6b603fe9fd8766350594c7e8 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -3052,5 +3052,7 @@ export {
Layout as default,
useConfig,
useMDXComponents,
- useTheme3 as useTheme
+ useTheme3 as useTheme,
+ // KAMIL: needed to enable search in Hive
+ Flexsearch
};

View file

@ -1,26 +0,0 @@
diff --git a/dist/index.d.ts b/dist/index.d.ts
index 270efb54c31287ac681081eeecc9cc72484945ef..05266397c9c69ae4a129b388439bbc0156bc26e9 100644
--- a/dist/index.d.ts
+++ b/dist/index.d.ts
@@ -1254,4 +1254,7 @@ declare function ThemeSwitch({ lite, className }: ThemeSwitchProps): ReactElemen
declare function Layout({ children, ...context }: NextraThemeLayoutProps): ReactElement;
-export { Bleed, Collapse, PartialDocsThemeConfig as DocsThemeConfig, Link, Navbar, NotFoundPage, ServerSideErrorPage, SkipNavContent, SkipNavLink, ThemeSwitch, Layout as default, useConfig };
+// KAMIL: needed to enable search in Hive
+declare function Flexsearch({className}: { className?: string }): ReactElement;
+
+export { Flexsearch, Bleed, Collapse, PartialDocsThemeConfig as DocsThemeConfig, Link, Navbar, NotFoundPage, ServerSideErrorPage, SkipNavContent, SkipNavLink, ThemeSwitch, Layout as default, useConfig };
diff --git a/dist/index.js b/dist/index.js
index 1f0d5ce69f9d1dbffe673cdf62d32d714ede36fa..c550942711b55f3033079201cc380bc8aaf08017 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -2985,5 +2985,7 @@ export {
Layout as default,
useConfig,
useMDXComponents,
- useTheme3 as useTheme
+ useTheme3 as useTheme,
+ // KAMIL: needed to enable search in Hive
+ Flexsearch
};

View file

@ -0,0 +1,15 @@
diff --git a/dist/file-system.mjs b/dist/file-system.mjs
index 30a12c4c6dd3f0004f639ba34b07fc2b0d89e4c5..9324e496b0e6488ab79fa731715c80700183496e 100644
--- a/dist/file-system.mjs
+++ b/dist/file-system.mjs
@@ -2,7 +2,9 @@
import * as findPagesDirImport from "next/dist/lib/find-pages-dir.js";
import { CWD } from "./constants.mjs";
import { getDefault } from "./utils.mjs";
-var { findPagesDir, existsSync } = getDefault(findPagesDirImport);
+// KAMIL: next v13.5 does not export existsSync (under the hood it used to use "fs" anyway)
+import { existsSync } from 'fs'
+var { findPagesDir } = getDefault(findPagesDirImport);
function findPagesDirectory() {
const res = findPagesDir(CWD, false);
return res.pagesDir || // next v13

File diff suppressed because it is too large Load diff