Skip to content

Commit da856a7

Browse files
authored
Downgrade Tailwind to 3.4.17 to fix the website (#4216)
* Downgrade Tailwind to 3.4.17 to fix the website * Disable ESlint rule
1 parent 066a2cd commit da856a7

File tree

6 files changed

+36
-20
lines changed

6 files changed

+36
-20
lines changed

.eslintrc.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@
99
},
1010
{
1111
"files": ["website/**/*.{ts,js,tsx}"],
12-
"rules": { "import/no-default-export": "off", "import/extensions": "off" }
12+
"rules": {
13+
"import/no-default-export": "off",
14+
"import/extensions": "off",
15+
// Next.js is using `/// <reference ... />` in the env types.
16+
"@typescript-eslint/triple-slash-reference": "off"
17+
}
1318
},
1419
{
1520
"files": ["examples/**/*"],

pnpm-lock.yaml

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/next-env.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/// <reference types="next" />
22
/// <reference types="next/image-types/global" />
3+
/// <reference path="./.next/types/routes.d.ts" />
34

45
// NOTE: This file should not be edited
56
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

website/next.config.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { withGuildDocs } from '@theguild/components/next.config';
22

3-
export default withGuildDocs({
3+
const config = withGuildDocs({
44
redirects: async () =>
55
Object.entries({
66
'/docs/quick-start': '/docs',
@@ -31,3 +31,11 @@ export default withGuildDocs({
3131
},
3232
output: 'export',
3333
});
34+
35+
if (config.experimental?.turbo) {
36+
// TODO: Migrate this in @theguild/components
37+
config.turbopack = config.experimental!.turbo;
38+
delete config.experimental!.turbo;
39+
}
40+
41+
export default config;

website/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"pagefind": "1.4.0",
3232
"postcss-import": "16.1.1",
3333
"postcss-lightningcss": "1.0.2",
34-
"tailwindcss": "3.4.18",
34+
"tailwindcss": "3.4.17",
3535
"tsx": "4.20.6",
3636
"typescript": "5.9.2"
3737
}

website/route-lockfile.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
/changelogs/plugins/prometheus
2323
/changelogs/plugins/response-cache
2424
/changelogs/plugins/sofa
25+
/changelogs/render-apollo-sandbox
2526
/changelogs/render-graphiql
2627
/changelogs/subscription
2728
/docs
@@ -57,6 +58,7 @@
5758
/docs/features/testing
5859
/docs/integrations -> /docs
5960
/docs/integrations/integration-with-aws-lambda
61+
/docs/integrations/integration-with-azure-functions
6062
/docs/integrations/integration-with-bun
6163
/docs/integrations/integration-with-cloudflare-workers
6264
/docs/integrations/integration-with-deno

0 commit comments

Comments
 (0)