Skip to content

Commit

Permalink
Migration (#213)
Browse files Browse the repository at this point in the history
* Migration

* Updating packages

* Updating Switch Statement
  • Loading branch information
iamhectorsosa committed Aug 23, 2023
1 parent 42b3def commit 9d2bbe9
Show file tree
Hide file tree
Showing 429 changed files with 4,361 additions and 7,005 deletions.
1 change: 0 additions & 1 deletion .vercelignore

This file was deleted.

58 changes: 58 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
async redirects() {
return [
{
source: "/docs",
destination: "/docs/guide/introduction",
permanent: false,
},
{
source: "/docs/guide",
destination: "/docs/guide/introduction",
permanent: false,
},
{
source: "/docs/components",
destination: "/docs/components/overview",
permanent: false,
},
{
source: "/templates",
destination: "/templates/minimal/overview",
permanent: false,
},
{
source: "/templates/minimal",
destination: "/templates/minimal/overview",
permanent: false,
},
];
},
images: {
remotePatterns: [
{
protocol: "http",
hostname: "avatars.githubusercontent.com",
port: "",
pathname: "/**",
},
{
protocol: "https",
hostname: "github.com",
port: "",
pathname: "/**",
},
],
},
};

/** @type {import('nextra').NextraConfig} */
const nextraConfig = {
theme: "nextra-theme-docs",
themeConfig: "./theme.config.jsx",
};

const withNextra = require("nextra")(nextraConfig);

module.exports = withNextra(nextConfig);
61 changes: 0 additions & 61 deletions next.config.mjs

This file was deleted.

42 changes: 16 additions & 26 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,38 +9,28 @@
"lint": "next lint"
},
"dependencies": {
"@mdx-js/loader": "^2.3.0",
"@mdx-js/react": "^2.3.0",
"@next/mdx": "^13.4.7",
"@radix-ui/react-alert-dialog": "^1.0.3",
"@radix-ui/react-dialog": "^1.0.4",
"@radix-ui/react-popover": "^1.0.5",
"@radix-ui/react-tabs": "^1.0.3",
"@react-email/components": "^0.0.6",
"@react-email/render": "0.0.7",
"@types/mdx": "^2.0.5",
"@types/node": "18.15.5",
"@types/react": "18.2.14",
"@types/react-dom": "18.2.6",
"clsx": "^1.2.1",
"next": "13.4.4",
"next-mdx-remote": "^4.4.1",
"re-resizable": "^6.9.9",
"react": "^18.2.0",
"@react-email/components": "^0.0.7",
"@react-email/render": "^0.0.7",
"@types/node": "20.5.0",
"@types/react": "18.2.20",
"@types/react-dom": "18.2.7",
"clsx": "^2.0.0",
"dayjs": "^1.11.9",
"lucide-react": "^0.268.0",
"next": "13.4.16",
"nextra": "^2.11.0",
"nextra-theme-docs": "^2.11.0",
"re-resizable": "^6.9.11",
"react": "18.2.0",
"react-confetti": "^6.1.0",
"react-dom": "^18.2.0",
"react-email": "1.9.3",
"react-dom": "18.2.0",
"react-use-measure": "^2.1.1",
"rehype-pretty-code": "^0.10.0",
"rehype-slug": "^5.1.0",
"shiki": "^0.14.3",
"tailwind-merge": "1.10.0",
"typescript": "4.9.5",
"zod": "^3.21.4"
"tailwind-merge": "^1.14.0",
"typescript": "5.1.6"
},
"devDependencies": {
"@tailwindcss/forms": "^0.5.3",
"@tailwindcss/typography": "^0.5.9",
"@types/prettier": "^2.7.2",
"@typescript-eslint/eslint-plugin": "^5.58.0",
"@typescript-eslint/parser": "^5.58.0",
Expand Down
Loading

1 comment on commit 9d2bbe9

@vercel
Copy link

@vercel vercel bot commented on 9d2bbe9 Aug 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.