refactor: remove monorepo

This commit is contained in:
siyue
2025-02-05 22:59:58 +08:00
committed by qingchen
parent 7fcf034640
commit e1004da470
171 changed files with 4082 additions and 5230 deletions
View File
+36 -2
View File
@@ -1,2 +1,36 @@
node_modules
.idea
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# dependencies
/node_modules
/.pnp
.pnp.js
.yarn/install-state.gz
# testing
/coverage
# next.js
/.next/
/out/
# production
/build
# misc
.DS_Store
*.pem
# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# local env files
.env*.local
# vercel
.vercel
# typescript
*.tsbuildinfo
next-env.d.ts
+2 -4
View File
@@ -16,7 +16,6 @@ Magic Resume is a modern online resume editor that makes creating professional r
![782shots_so](https://github.com/user-attachments/assets/dda52f82-10eb-4f8d-a643-a11c3c4da35f)
## ✨ Features
- 🚀 Built with Next.js 14+
@@ -56,7 +55,7 @@ pnpm install
3. Start development server
```bash
pnpm dev:fronted
pnpm dev
```
4. Open browser and visit `http://localhost:3000`
@@ -64,7 +63,7 @@ pnpm dev:fronted
## 📦 Build and Deploy
```bash
pnpm -F fronted build
pnpm build
```
## ⚡ Deploy with Vercel
@@ -73,7 +72,6 @@ You can deploy your own instance of Magic Resume with one click:
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FJOYCEQL%2Fmagic-resume)
## 📝 License
This project is licensed under the Apache 2.0 License - see the [LICENSE](LICENSE) file for details
+2 -4
View File
@@ -16,7 +16,6 @@ Magic Resume 是一个现代化的在线简历编辑器,让创建专业简历
![782shots_so](https://github.com/user-attachments/assets/d59f7582-799c-468d-becf-59ee6453acfd)
## ✨ 特性
- 🚀 基于 Next.js 14+ 构建
@@ -56,7 +55,7 @@ pnpm install
3. 启动开发服务器
```bash
pnpm dev:fronted
pnpm dev
```
4. 打开浏览器访问 `http://localhost:3000`
@@ -64,7 +63,7 @@ pnpm dev:fronted
## 📦 构建和部署
```bash
pnpm -F fronted build
pnpm build
```
## ⚡ 使用 Vercel 部署
@@ -73,7 +72,6 @@ pnpm -F fronted build
[![使用 Vercel 部署](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FJOYCEQL%2Fmagic-resume)
## 📝 开源协议
本项目采用 Apache 2.0 协议 - 查看 [LICENSE](LICENSE) 了解详情
-36
View File
@@ -1,36 +0,0 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# dependencies
/node_modules
/.pnp
.pnp.js
.yarn/install-state.gz
# testing
/coverage
# next.js
/.next/
/out/
# production
/build
# misc
.DS_Store
*.pem
# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# local env files
.env*.local
# vercel
.vercel
# typescript
*.tsbuildinfo
next-env.d.ts
-36
View File
@@ -1,36 +0,0 @@
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
## Getting Started
First, run the development server:
```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
## Learn More
To learn more about Next.js, take a look at the following resources:
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
## Deploy on Vercel
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
-79
View File
@@ -1,79 +0,0 @@
{
"name": "fronted",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
},
"dependencies": {
"@radix-ui/react-accordion": "^1.2.1",
"@radix-ui/react-alert-dialog": "^1.1.2",
"@radix-ui/react-dialog": "^1.1.2",
"@radix-ui/react-dropdown-menu": "^2.1.2",
"@radix-ui/react-hover-card": "^1.1.4",
"@radix-ui/react-label": "^2.1.0",
"@radix-ui/react-navigation-menu": "^1.2.1",
"@radix-ui/react-popover": "^1.1.1",
"@radix-ui/react-scroll-area": "^1.2.2",
"@radix-ui/react-select": "^2.1.2",
"@radix-ui/react-separator": "^1.1.0",
"@radix-ui/react-slider": "^1.2.1",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-switch": "^1.1.1",
"@radix-ui/react-tabs": "^1.0.4",
"@radix-ui/react-tooltip": "^1.1.3",
"@sparticuz/chromium": "^131.0.0",
"@tiptap/extension-bullet-list": "^2.10.2",
"@tiptap/extension-color": "^2.4.0",
"@tiptap/extension-highlight": "^2.9.1",
"@tiptap/extension-list-item": "^2.4.0",
"@tiptap/extension-ordered-list": "^2.10.2",
"@tiptap/extension-text-align": "^2.4.0",
"@tiptap/extension-text-style": "^2.4.0",
"@tiptap/extension-underline": "^2.9.1",
"@tiptap/pm": "^2.4.0",
"@tiptap/react": "^2.4.0",
"@tiptap/starter-kit": "^2.4.0",
"chrome-aws-lambda": "^10.1.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"cmdk": "1.0.0",
"date-fns": "^3.6.0",
"dayjs": "^1.11.12",
"framer-motion": "^11.11.10",
"html2pdf.js": "^0.10.2",
"lodash": "^4.17.21",
"lucide-react": "^0.379.0",
"mark.js": "^8.11.1",
"next": "14.2.3",
"next-intl": "^3.26.3",
"next-themes": "^0.4.3",
"puppeteer": "^23.9.0",
"puppeteer-core": "^23.9.0",
"react": "^18",
"react-day-picker": "^8.10.1",
"react-dom": "^18",
"react-resizable-panels": "^2.0.20",
"sonner": "^1.7.1",
"tailwind-merge": "^2.3.0",
"tailwindcss-animate": "^1.0.7",
"vaul": "^1.1.1",
"zustand": "^4.5.4"
},
"devDependencies": {
"@types/lodash": "^4.17.13",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"eslint": "^8",
"eslint-config-next": "14.2.3",
"postcss": "^8",
"postcss-normalize": "^13.0.1",
"sass": "^1.77.4",
"tailwindcss": "^3.4.1",
"typescript": "^5"
}
}
-7
View File
@@ -1,7 +0,0 @@
{
"functions": {
"pages/api/generate-pdf.js": {
"maxDuration": 60
}
}
}
+75 -8
View File
@@ -1,12 +1,79 @@
{
"name": "magic-resume",
"version": "1.0.0",
"description": "",
"main": "index.js",
"name": "fronted",
"version": "0.1.0",
"private": true,
"scripts": {
"dev:fronted": "pnpm -F fronted dev"
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
},
"keywords": [],
"author": "",
"license": "ISC"
"dependencies": {
"@radix-ui/react-accordion": "^1.2.1",
"@radix-ui/react-alert-dialog": "^1.1.2",
"@radix-ui/react-dialog": "^1.1.2",
"@radix-ui/react-dropdown-menu": "^2.1.2",
"@radix-ui/react-hover-card": "^1.1.4",
"@radix-ui/react-label": "^2.1.0",
"@radix-ui/react-navigation-menu": "^1.2.1",
"@radix-ui/react-popover": "^1.1.1",
"@radix-ui/react-scroll-area": "^1.2.2",
"@radix-ui/react-select": "^2.1.2",
"@radix-ui/react-separator": "^1.1.0",
"@radix-ui/react-slider": "^1.2.1",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-switch": "^1.1.1",
"@radix-ui/react-tabs": "^1.0.4",
"@radix-ui/react-tooltip": "^1.1.3",
"@sparticuz/chromium": "^131.0.0",
"@tiptap/extension-bullet-list": "^2.10.2",
"@tiptap/extension-color": "^2.4.0",
"@tiptap/extension-highlight": "^2.9.1",
"@tiptap/extension-list-item": "^2.4.0",
"@tiptap/extension-ordered-list": "^2.10.2",
"@tiptap/extension-text-align": "^2.4.0",
"@tiptap/extension-text-style": "^2.4.0",
"@tiptap/extension-underline": "^2.9.1",
"@tiptap/pm": "^2.4.0",
"@tiptap/react": "^2.4.0",
"@tiptap/starter-kit": "^2.4.0",
"chrome-aws-lambda": "^10.1.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"cmdk": "1.0.0",
"date-fns": "^3.6.0",
"dayjs": "^1.11.12",
"framer-motion": "^11.11.10",
"html2pdf.js": "^0.10.2",
"lodash": "^4.17.21",
"lucide-react": "^0.379.0",
"mark.js": "^8.11.1",
"next": "14.2.3",
"next-intl": "^3.26.3",
"next-themes": "^0.4.3",
"puppeteer": "^23.9.0",
"puppeteer-core": "^23.9.0",
"react": "^18",
"react-day-picker": "^8.10.1",
"react-dom": "^18",
"react-resizable-panels": "^2.0.20",
"sonner": "^1.7.1",
"tailwind-merge": "^2.3.0",
"tailwindcss-animate": "^1.0.7",
"vaul": "^1.1.1",
"zustand": "^4.5.4"
},
"devDependencies": {
"@types/lodash": "^4.17.13",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"eslint": "^8",
"eslint-config-next": "14.2.3",
"postcss": "^8",
"postcss-normalize": "^13.0.1",
"sass": "^1.77.4",
"tailwindcss": "^3.4.1",
"typescript": "^5"
}
}
+3830 -4915
View File
File diff suppressed because it is too large Load Diff
-2
View File
@@ -1,2 +0,0 @@
packages:
- "apps/*"

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB

Before

Width:  |  Height:  |  Size: 592 B

After

Width:  |  Height:  |  Size: 592 B

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Before

Width:  |  Height:  |  Size: 629 B

After

Width:  |  Height:  |  Size: 629 B

Before

Width:  |  Height:  |  Size: 549 KiB

After

Width:  |  Height:  |  Size: 549 KiB

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

Before

Width:  |  Height:  |  Size: 695 B

After

Width:  |  Height:  |  Size: 695 B

Before

Width:  |  Height:  |  Size: 262 KiB

After

Width:  |  Height:  |  Size: 262 KiB

Before

Width:  |  Height:  |  Size: 327 KiB

After

Width:  |  Height:  |  Size: 327 KiB

Before

Width:  |  Height:  |  Size: 312 KiB

After

Width:  |  Height:  |  Size: 312 KiB

Some files were not shown because too many files have changed in this diff Show More