Skip to content

Commit 4660c6a

Browse files
committed
feat: Add simple SVG to emoji maker
0 parents  commit 4660c6a

20 files changed

Lines changed: 2454 additions & 0 deletions

.github/workflows/deploy.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
permissions:
8+
contents: read
9+
pages: write
10+
id-token: write
11+
12+
concurrency:
13+
group: pages
14+
cancel-in-progress: true
15+
16+
jobs:
17+
build:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Checkout
21+
uses: actions/checkout@v4
22+
23+
- name: Install Node.js
24+
uses: actions/setup-node@v4
25+
with:
26+
node-version: 20
27+
cache: "pnpm"
28+
29+
- name: Setup pnpm
30+
uses: pnpm/action-setup@v3
31+
with:
32+
version: 9
33+
34+
- name: Install dependencies
35+
run: pnpm install
36+
37+
- name: Build
38+
run: pnpm run build
39+
40+
- name: Upload artifact
41+
uses: actions/upload-pages-artifact@v3
42+
with:
43+
path: ./dist
44+
45+
deploy:
46+
environment:
47+
name: github-pages
48+
url: ${{ steps.deployment.outputs.page_url }}
49+
needs: build
50+
runs-on: ubuntu-latest
51+
steps:
52+
- name: Deploy to GitHub Pages
53+
id: deployment
54+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
# Diagnostic reports (https://nodejs.org/api/report.html)
11+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
12+
13+
# Runtime data
14+
pids
15+
*.pid
16+
*.seed
17+
*.pid.lock
18+
19+
# Coverage directory used by tools like istanbul
20+
coverage
21+
*.lcov
22+
23+
# nyc test coverage
24+
.nyc_output
25+
26+
# Dependency directories
27+
node_modules/
28+
jspm_packages/
29+
30+
# TypeScript cache
31+
*.tsbuildinfo
32+
33+
# Optional eslint cache
34+
.eslintcache
35+
36+
# Output of 'npm pack'
37+
*.tgz
38+
39+
# dotenv environment variables file
40+
.env
41+
.env.test
42+
.env.production
43+
44+
# Vite build output
45+
dist
46+
47+
# macOS
48+
.DS_Store

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v22.8.0

index.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>SVG to Sticker</title>
8+
</head>
9+
<body>
10+
<div id="root"></div>
11+
<script type="module" src="/src/main.tsx"></script>
12+
</body>
13+
</html>

package.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"name": "emoji-maker",
3+
"private": true,
4+
"version": "0.0.0",
5+
"type": "module",
6+
"scripts": {
7+
"dev": "vite",
8+
"build": "tsc -b && vite build",
9+
"lint": "eslint .",
10+
"preview": "vite preview"
11+
},
12+
"dependencies": {
13+
"clsx": "^2.1.0",
14+
"lucide-react": "^0.344.0",
15+
"react": "^18.2.0",
16+
"react-dom": "^18.2.0",
17+
"react-dropzone": "^14.2.3",
18+
"tailwind-merge": "^2.2.1"
19+
},
20+
"devDependencies": {
21+
"@types/react": "^18.2.64",
22+
"@types/react-dom": "^18.2.21",
23+
"@vitejs/plugin-react": "^4.2.1",
24+
"autoprefixer": "^10.4.18",
25+
"postcss": "^8.4.35",
26+
"tailwindcss": "^3.4.1",
27+
"typescript": "^5.2.2",
28+
"vite": "^5.1.4"
29+
},
30+
"packageManager": "pnpm@9.1.0"
31+
}

0 commit comments

Comments
 (0)