-
-
Notifications
You must be signed in to change notification settings - Fork 431
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
⬆️ Feature: update internal dependencies (#428)
* ⬆️ Upgrade dependencies * 🐛 Fix broken stuff after dependencies upgrade - Add remove @next/mdx cause we use next-mdx-remote * 🎨 Lint and format * 🔖 Add changeset * 🔨 Update npm clean scripts * 💚 Update step order in Githuv action
- Loading branch information
Showing
29 changed files
with
6,323 additions
and
8,726 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"eslint-config-custom": patch | ||
"usehooks-ts": patch | ||
"www": patch | ||
--- | ||
|
||
Upgrade internal dependencies |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module.exports = { | ||
extends: ['next/core-web-vitals', 'custom'], | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,19 @@ | ||
// import { withContentlayer } from "next-contentlayer" | ||
import mdx from '@next/mdx' | ||
import rehypeHighlight from 'rehype-highlight' | ||
import remarkCodeImport from 'remark-code-import' | ||
|
||
import './env.mjs' | ||
import sitemap from './next-sitemap.config.mjs' | ||
|
||
const withMDX = mdx({ | ||
extension: /\.mdx?$/, | ||
options: { | ||
// If you use remark-gfm, you'll need to use next.config.mjs | ||
// as the package is ESM only | ||
// https://github.com/remarkjs/remark-gfm#install | ||
remarkPlugins: [], | ||
rehypePlugins: [], | ||
// If you use `MDXProvider`, uncomment the following line. | ||
// providerImportSource: "@mdx-js/react", | ||
}, | ||
}) | ||
|
||
/** @type {import('next').NextConfig} */ | ||
const nextConfig = { | ||
// Configure pageExtensions to include md and mdx | ||
pageExtensions: ['ts', 'tsx', 'js', 'jsx', 'md', 'mdx'], | ||
// Optionally, add any other Next.js config below | ||
reactStrictMode: true, | ||
swcMinify: true, | ||
env: { | ||
sitemap, | ||
}, | ||
transpilePackages: ['lucide-react'], | ||
|
||
// Allow fs | ||
// webpack(config) { | ||
// config.resolve.fallback = { ...config.resolve.fallback, fs: false } | ||
// return config | ||
// }, | ||
experimental: { | ||
mdxRs: true, | ||
}, | ||
} | ||
|
||
export default withMDX(nextConfig) | ||
export default nextConfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.