Skip to content

Commit

Permalink
feat: add routes for handling external docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinwolfcr committed Aug 30, 2023
1 parent 2768d02 commit 327a3a7
Show file tree
Hide file tree
Showing 39 changed files with 1,205 additions and 336 deletions.
8 changes: 8 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
# Replace this with the Resend API Key to send emails locally
RESEND_API_KEY=""

# Uncomment the following line to use a different endpoint for the docs
# this is useful for locally testing any documentation repo without uploading it to GitHub.
# It is recommended to start a local webserver pointing to a folder that mimics the contents
# of github.com. For instance, if one of the docs projects is `kevinwolfcr/devtools`, then
# https://localhost:5000/kevinwolfcr/devtools should be accessible.
# LOCAL_DOCS="http://localhost:5000"
1 change: 1 addition & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
export default {
eslint: { ignoreDuringBuilds: true },
typescript: { ignoreBuildErrors: true },
images: { remotePatterns: [{ hostname: "**" }] },
experimental: { serverActions: true },
}
23 changes: 14 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"license": "MIT",
"scripts": {
"setup": "pnpm install && simple-git-hooks install && cp .env.example .env",
"setup": "pnpm install && simple-git-hooks install && cp .env.example .env.local",
"dev": "next dev",
"build": "next build",
"lint:format": "prettier --check .",
Expand All @@ -21,13 +21,16 @@
},
"dependencies": {
"@radix-ui/react-slot": "1.0.2",
"@radix-ui/react-tabs": "1.0.4",
"@radix-ui/react-tooltip": "1.0.6",
"@react-pdf/renderer": "3.1.12",
"@tabler/icons-react": "2.32.0",
"@vercel/analytics": "1.0.2",
"bright": "0.8.4",
"clsx": "2.0.0",
"cva": "npm:[email protected]",
"encoding": "0.1.13",
"gray-matter": "4.0.3",
"html-to-react": "1.6.0",
"next": "13.4.19",
"next-mdx-remote": "4.4.1",
Expand All @@ -36,27 +39,29 @@
"resend": "1.0.0",
"sharp": "0.32.5",
"tailwind-merge": "1.14.0",
"tw-to-css": "0.0.11"
"ts-deepmerge": "6.2.0",
"tw-to-css": "0.0.11",
"zod": "3.22.2"
},
"devDependencies": {
"@kevinwolfcr/eslint-config-react-nextjs": "1.0.1",
"@kevinwolfcr/prettier-config": "1.0.1",
"@radix-ui/colors": "2.1.0",
"@react-pdf/types": "2.3.3",
"@tailwindcss/forms": "0.5.5",
"@types/node": "20.5.4",
"@tailwindcss/forms": "0.5.6",
"@types/node": "20.5.7",
"@types/react": "18.2.21",
"@types/react-dom": "18.2.7",
"autoprefixer": "10.4.15",
"eslint": "8.47.0",
"eslint": "8.48.0",
"nano-staged": "0.8.0",
"postcss": "8.4.28",
"prettier": "3.0.2",
"postcss": "8.4.29",
"prettier": "3.0.3",
"simple-git-hooks": "2.9.0",
"tailwindcss": "3.3.3",
"tailwindcss-animate": "1.0.6",
"tailwindcss-animate": "1.0.7",
"turbo": "1.10.13",
"typescript": "5.1.6"
"typescript": "5.2.2"
},
"postcss": {
"plugins": {
Expand Down
Loading

1 comment on commit 327a3a7

@vercel
Copy link

@vercel vercel bot commented on 327a3a7 Aug 30, 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.