Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update pnpm #214

Merged
merged 13 commits into from
Oct 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
engine-strict=true
5 changes: 4 additions & 1 deletion app/[lang]/projects/page.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { Suspense } from "react"
import { Metadata } from "next"

import { Divider } from "@/components/divider"
Expand All @@ -23,7 +24,9 @@ export default async function ProjectsPage({ params: { lang } }: any) {
subtitle={t("subtitle")}
showDivider={false}
>
<ProjectFiltersBar lang={lang} />
<Suspense fallback={<div>Loading...</div>}>
<ProjectFiltersBar lang={lang} />
</Suspense>
</PageHeader>

<div className="w-full bg-white pb-28">
Expand Down
2 changes: 1 addition & 1 deletion components/ui/accordion.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ interface AccordionItemProps {

type AccordionPadding = "xs" | "sm"

interface AccordionProps extends RadixAccordion.AccordionImplProps {
interface AccordionProps {
type?: "single" | "multiple"
size?: AccordionPadding
defaultValue?: string
Expand Down
2 changes: 1 addition & 1 deletion next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
6 changes: 6 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
import nextMdx from "@next/mdx"

const withMDX = nextMdx({
webpack: (config, { isServer }) => {
if (!isServer) {
config.externals.push("discord.js", "@discordjs/rest");
}
return config;
},
extension: /\.mdx?$/,
options: {
remarkPlugins: [],
Expand Down
Loading