Skip to content

Commit

Permalink
Bump @theguild/components (#1422)
Browse files Browse the repository at this point in the history
* Bump @theguild/components

* chore(dependencies): updated changesets for modified dependencies

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
gilgardosh and github-actions[bot] authored Mar 21, 2024
1 parent c88ad1c commit fdccd67
Show file tree
Hide file tree
Showing 4 changed files with 658 additions and 746 deletions.
63 changes: 33 additions & 30 deletions website/next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,32 +1,35 @@
import { withGuildDocs } from '@theguild/components/next.config';

export default withGuildDocs({
redirects: () =>
Object.entries({
'/legacy': '/docs/migration',
'/docs/user/user-introduction': '/docs',
'/docs/user/user-installation': '/docs/installation',
'/docs/recipes/migration': '/docs/migration',
'/docs/user/user-documents': 'docs/user/documents',
'/docs/library/api-graphql-config': '/docs/library/graphql-config',
'/docs/library/api-graphql-project-config': '/docs/library/graphql-project-config',
'/docs/library/author-extensions': '/docs/library/extensions',
'/docs/library/author-load-config': '/docs/library/load-config',
'/docs/library/author-loaders': '/docs/library/loaders',
'/usage': '/docs/user/usage',
'/docs/user/user-usage': '/docs/user/usage',
'/docs/user': '/docs/user/usage',
'/docs/introduction': '/docs',
'/extensions': '/docs/library/extensions',
'/introduction': '/docs',
'/schema': '/docs/user/schema',
'/docs/schema': '/docs/user/schema',
'/load-config': '/docs/library/load-config',
'/docs/user/user-schema': '/docs/user/schema',
'/documents': '/docs/user/documents',
}).map(([from, to]) => ({
source: from,
destination: to,
permanent: true,
})),
});
export default {
...withGuildDocs({
redirects: () =>
Object.entries({
'/legacy': '/docs/migration',
'/docs/user/user-introduction': '/docs',
'/docs/user/user-installation': '/docs/installation',
'/docs/recipes/migration': '/docs/migration',
'/docs/user/user-documents': 'docs/user/documents',
'/docs/library/api-graphql-config': '/docs/library/graphql-config',
'/docs/library/api-graphql-project-config': '/docs/library/graphql-project-config',
'/docs/library/author-extensions': '/docs/library/extensions',
'/docs/library/author-load-config': '/docs/library/load-config',
'/docs/library/author-loaders': '/docs/library/loaders',
'/usage': '/docs/user/usage',
'/docs/user/user-usage': '/docs/user/usage',
'/docs/user': '/docs/user/usage',
'/docs/introduction': '/docs',
'/extensions': '/docs/library/extensions',
'/introduction': '/docs',
'/schema': '/docs/user/schema',
'/docs/schema': '/docs/user/schema',
'/load-config': '/docs/library/load-config',
'/docs/user/user-schema': '/docs/user/schema',
'/documents': '/docs/user/documents',
}).map(([from, to]) => ({
source: from,
destination: to,
permanent: true,
})),
}),
output: 'export',
};
6 changes: 3 additions & 3 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
"scripts": {
"lint": "eslint --ignore-path ../.gitignore --ext js,jsx,cjs,mjs,ts,tsx,cts,mts .",
"dev": "next",
"build": "next build && next-sitemap --config next-sitemap.config.cjs && next export",
"build": "next build && next-sitemap --config next-sitemap.config.cjs",
"start": "next start",
"analyze": "cross-env ANALYZE=true pnpm run build"
},
"dependencies": {
"@theguild/components": "^6.3.0",
"next": "^13.5.4",
"@theguild/components": "^6.4.0",
"next": "^14.1.4",
"next-sitemap": "^4.2.3",
"react": "^18.2.0",
"react-dom": "^18.2.0"
Expand Down
Loading

0 comments on commit fdccd67

Please sign in to comment.