Skip to content

Commit 8026b61

Browse files
Merge pull request #50 from drivly/devin/1747660413-fix-vercel-build-output
Fix Vercel deployment by copying Next.js build output to project root
2 parents 9605d9d + eb02378 commit 8026b61

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+6909
-4724
lines changed

examples/minimal/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ import { Button, Card } from 'mdxui'
4343

4444
MDXE includes Tailwind CSS with the Typography plugin for beautiful typography:
4545

46-
<div className="prose prose-lg">
46+
<div className='prose prose-lg'>
4747
This content is styled with Tailwind Typography.
4848
</div>
4949

@@ -60,12 +60,12 @@ When deploying to Vercel, you can optionally create a `vercel.json` configuratio
6060

6161
```json
6262
{
63-
"builds": [
63+
'builds': [
6464
{
65-
"src": "package.json",
66-
"use": "@vercel/next",
67-
"config": {
68-
"distDir": ".next"
65+
'src': 'package.json',
66+
'use': '@vercel/next',
67+
'config': {
68+
'distDir': '.next'
6969
}
7070
}
7171
]

examples/minimal/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"dev": "mdxe dev",
77
"build": "mdxe build",
88
"start": "mdxe start",
9+
"test": "mdxe test",
910
"lint": "mdxe lint"
1011
},
1112
"dependencies": {

packages/mdxdb/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"@payloadcms/next": "3.33.0",
2323
"@payloadcms/payload-cloud": "3.33.0",
2424
"@payloadcms/richtext-lexical": "3.33.0",
25+
"date-fns": "^4.1.0",
2526
"graphql": "^16.8.1",
2627
"next": "15.3.0",
2728
"payload": "3.33.0",

packages/mdxe/.gitignore

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.*
7+
.yarn/*
8+
!.yarn/patches
9+
!.yarn/plugins
10+
!.yarn/releases
11+
!.yarn/versions
12+
13+
# testing
14+
/coverage
15+
16+
# next.js
17+
/.next/
18+
/out/
19+
20+
# production
21+
/build
22+
23+
# misc
24+
.DS_Store
25+
*.pem
26+
27+
# debug
28+
npm-debug.log*
29+
yarn-debug.log*
30+
yarn-error.log*
31+
.pnpm-debug.log*
32+
33+
# env files (can opt-in for committing if needed)
34+
.env*
35+
36+
# vercel
37+
.vercel
38+
39+
# typescript
40+
*.tsbuildinfo
41+
next-env.d.ts

packages/mdxe/ROADMAP.md

Lines changed: 0 additions & 16 deletions
This file was deleted.

packages/mdxe/TODO.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

packages/mdxe/eslint.config.js

Lines changed: 0 additions & 4 deletions
This file was deleted.

packages/mdxe/eslint.config.mjs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import { dirname } from "path";
2+
import { fileURLToPath } from "url";
3+
import { FlatCompat } from "@eslint/eslintrc";
4+
5+
const __filename = fileURLToPath(import.meta.url);
6+
const __dirname = dirname(__filename);
7+
8+
const compat = new FlatCompat({
9+
baseDirectory: __dirname,
10+
});
11+
12+
const eslintConfig = [
13+
...compat.extends("next/core-web-vitals", "next/typescript"),
14+
];
15+
16+
export default eslintConfig;

packages/mdxe/next.config.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import type { NextConfig } from "next";
2+
3+
const nextConfig: NextConfig = {
4+
/* config options here */
5+
};
6+
7+
export default nextConfig;

0 commit comments

Comments
 (0)