Skip to content

Commit 9321ed1

Browse files
committed
feat: add monorepo
1 parent fd1f028 commit 9321ed1

File tree

319 files changed

+79149
-438
lines changed

Some content is hidden

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

319 files changed

+79149
-438
lines changed

.config/.husky/commit-msg

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
pnpm commitlint --edit $1

.config/.husky/install.mjs

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// Skip Husky install in production and CI
2+
if (process.env.NODE_ENV === "production" || process.env.CI === "true") {
3+
process.exit(0);
4+
}
5+
const husky = (await import("husky")).default;
6+
console.log(husky());

.config/.husky/pre-commit

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pnpm lint-staged

.dockerignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
node_modules
2+
.git
3+
.gitignore
4+
*.md
5+
dist

.github/workflows/deploy.yml

+22-1
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,30 @@ name: Build Docker images
22

33
on:
44
push:
5-
branches: ["main"]
5+
branches: [ "main"]
66

77
jobs:
8+
build-and-push-image-docs:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v4
14+
15+
- name: Log in to Docker Hub
16+
uses: docker/login-action@v2
17+
with:
18+
username: ${{ secrets.DOCKERHUB_USERNAME }}
19+
password: ${{ secrets.DOCKERHUB_TOKEN }}
20+
21+
- name: Build and push Docker image
22+
uses: docker/build-push-action@v4
23+
with:
24+
context: .
25+
file: ./Dockerfile.docs
26+
push: true
27+
tags: dokploy/docs:latest
28+
platforms: linux/amd64
829

930
build-and-push-image-website:
1031
runs-on: ubuntu-latest

.gitignore

+29-24
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,42 @@
11
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
22

3-
.idea
4-
5-
# dependencies
6-
/node_modules
7-
/.pnp
3+
# Dependencies
4+
node_modules
5+
.pnp
86
.pnp.js
7+
.docker
98

10-
# testing
11-
/coverage
9+
# Local env files
10+
.env
11+
.env.local
12+
.env.development.local
13+
.env.test.local
14+
.env.production.local
1215

13-
# next.js
14-
/.next/
15-
/out/
16+
# Testing
17+
coverage
1618

17-
# production
18-
/build
19+
# Turbo
20+
.turbo
1921

20-
# misc
21-
.DS_Store
22-
*.pem
22+
# Vercel
23+
.vercel
24+
25+
# Build Outputs
26+
.next/
27+
out/
28+
dist
2329

24-
# debug
30+
31+
# Debug
2532
npm-debug.log*
2633
yarn-debug.log*
2734
yarn-error.log*
2835

29-
# local env files
30-
.env*.local
31-
32-
# vercel
33-
.vercel
36+
# Editor
37+
.vscode
38+
.idea
3439

35-
# typescript
36-
*.tsbuildinfo
37-
next-env.d.ts
40+
# Misc
41+
.DS_Store
42+
*.pem

.husky/commit-msg

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npx commitlint --edit "$1"

.husky/install.mjs

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// Skip Husky install in production and CI
2+
if (process.env.NODE_ENV === "production" || process.env.CI === "true") {
3+
process.exit(0);
4+
}
5+
const husky = (await import("husky")).default;
6+
console.log(husky());

.husky/pre-commit

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
pnpm run check
2+
git add .

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
18.18.0

0 commit comments

Comments
 (0)