Skip to content

Commit

Permalink
Merge pull request #11 from The-Best-Codes/add-vercel-deploy
Browse files Browse the repository at this point in the history
Add button and config to deploy to Vercel
daltonmenezes authored Jan 27, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
2 parents 1511213 + fa203e1 commit dbc5598
Showing 6 changed files with 3,069 additions and 3,618 deletions.
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
node-version=18
auto-install-peers=true
strict-peer-dependencies=false
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -27,6 +27,13 @@
</a>
</p>

<p align="center">
<!-- Deploy to Vercel -->
<a href="https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fdaltonmenezes%2Fopendocs&project-name=my-opendocs&repository-name=my-opendocs&demo-title=OpenDocs&demo-description=Next.js%20beautifully%20designed%20template%20that%20you%20can%20use%20for%20your%20projects%20for%20free%20with%20site%2C%20blog%20and%20docs%20support.%20Accessible.%20Customizable.%20Open%20Source%20with%20i18n%20support.&demo-url=https%3A%2F%2Fopendocs.daltonmenezes.com%2F&root-directory=apps%2Fweb">
<img alt="deploy to vercel" src="https://vercel.com/button"/>
</a>
</p>

## 🎉 Features

- 🕸️ Site
11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -11,15 +11,18 @@
"format": "prettier --write \"**/*.{ts,tsx,md}\""
},
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"husky": "^9.1.4",
"prettier": "^3.3.3",
"turbo": "^2.0.12",
"typescript": "^5.4.5",
"husky": "^9.1.4",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2"
"typescript": "^5.4.5"
},
"packageManager": "[email protected]",
"engines": {
"node": ">=18"
},
"dependencies": {
"next": "14.2.5"
}
}
6,621 changes: 3,040 additions & 3,581 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

43 changes: 10 additions & 33 deletions turbo.json
Original file line number Diff line number Diff line change
@@ -1,50 +1,27 @@
{
"$schema": "https://turbo.build/schema.json",
"ui": "tui",
"globalEnv": [
"NODE_ENV",
"NEXT_PUBLIC_APP_URL"
],
"globalEnv": ["NODE_ENV", "NEXT_PUBLIC_APP_URL"],
"tasks": {
"start": {
"dependsOn": [
"^build"
],
"inputs": [
"$TURBO_DEFAULT$",
".env*"
],
"outputs": [
".next/**",
"!.next/cache/**"
]
"dependsOn": ["^build"],
"inputs": ["$TURBO_DEFAULT$", ".env*"],
"outputs": [".next/**", "!.next/cache/**"]
},
"build": {
"dependsOn": [
"^build"
],
"inputs": [
"$TURBO_DEFAULT$",
".env*"
],
"outputs": [
".next/**",
"!.next/cache/**"
]
"dependsOn": ["^build"],
"inputs": ["$TURBO_DEFAULT$", ".env*"],
"outputs": [".next/**", "!.next/cache/**"]
},
"lint": {
"dependsOn": [
"^lint"
]
"dependsOn": ["^lint"]
},
"lint:fix": {
"dependsOn": [
"^lint"
]
"dependsOn": ["^lint"]
},
"dev": {
"cache": false,
"persistent": true
}
}
}
}
3 changes: 3 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"framework": "nextjs"
}

0 comments on commit dbc5598

Please sign in to comment.