forked from FranciscoMoretti/carousel-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit c71b027
Showing
29 changed files
with
4,410 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"extends": "next/core-web-vitals" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
|
||
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
{ | ||
// Use workspace typescript version | ||
"typescript.tsdk": "node_modules/typescript/lib", | ||
"typescript.enablePromptUseWorkspaceTsdk": true, | ||
|
||
// Prettier | ||
"editor.formatOnSave": true, | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
|
||
// Eslint | ||
"eslint.codeActionsOnSave.mode": "all", | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll.eslint": true | ||
}, | ||
|
||
// Pretty TS Errors - Run in different process until perf issues are solved by extension maintainers | ||
"extensions.experimental.affinity": { | ||
"yoavbls.pretty-ts-errors": 1 | ||
}, | ||
|
||
// Ignore content | ||
"cSpell.ignorePaths": [ | ||
"node_modules", // this will ignore anything the node_modules directory | ||
"**/node_modules", // the same for this one | ||
"**/node_modules/**", // the same for this one | ||
"node_modules/**", // Doesn't currently work due to how the current working directory is determined. | ||
"vscode-extension", // | ||
".contentlayer", | ||
".husky", | ||
".next", | ||
".vercel", | ||
".vscode", | ||
".git", // Ignore the .git directory | ||
"*.dll", // Ignore all .dll files. | ||
"**/*.dll", // Ignore all .dll files | ||
"content" | ||
], | ||
|
||
// Edit open and close HTML tags together | ||
"editor.linkedEditing": true, | ||
|
||
// Don't autofold classes by default. ctrl+alt+a fold/unfolds | ||
"tailwind-fold.autoFold": false, | ||
|
||
"tailwindCSS.emmetCompletions": true, | ||
"tailwindCSS.experimental.classRegex": [ | ||
["cva\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"], | ||
["[clsx|cn]\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"] | ||
], | ||
"editor.wordWrap": "on", | ||
"files.associations": { | ||
"*.css": "tailwindcss" | ||
}, | ||
"editor.quickSuggestions": { | ||
"strings": true | ||
}, | ||
"cSpell.words": [ | ||
"callees", | ||
"classname", | ||
"contentlayer", | ||
"fmoretti", | ||
"franmoretti", | ||
"Lucide", | ||
"routepath", | ||
"tailwindcss", | ||
"upsert" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
A starter repository for a simple 2 panels application with Next.js, TypeScript, Shadcn/UI, Zod, React-Form and TailwindCSS | ||
|
||
 | ||
|
||
## Features | ||
|
||
- Forms with react-form | ||
- Shadcn/ui for UI | ||
- ZOD for input validation | ||
- Responsive 2 panels layout | ||
- Updated automatically on changes | ||
- Data persists with browser refresh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"$schema": "https://ui.shadcn.com/schema.json", | ||
"style": "default", | ||
"rsc": true, | ||
"tsx": true, | ||
"tailwind": { | ||
"config": "tailwind.config.js", | ||
"css": "src/app/globals.css", | ||
"baseColor": "slate", | ||
"cssVariables": true | ||
}, | ||
"aliases": { | ||
"components": "@/components", | ||
"utils": "@/lib/utils" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/** @type {import('next').NextConfig} */ | ||
const nextConfig = {} | ||
|
||
module.exports = nextConfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"name": "carousel-generator", | ||
"version": "0.1.0", | ||
"private": true, | ||
"scripts": { | ||
"dev": "next dev", | ||
"build": "next build", | ||
"start": "next start", | ||
"lint": "next lint" | ||
}, | ||
"dependencies": { | ||
"@hookform/resolvers": "^3.2.0", | ||
"@radix-ui/react-checkbox": "^1.0.4", | ||
"@radix-ui/react-label": "^2.0.2", | ||
"@radix-ui/react-slot": "^1.0.2", | ||
"@radix-ui/react-switch": "^1.0.3", | ||
"@radix-ui/react-toast": "^1.1.4", | ||
"@types/node": "20.5.0", | ||
"@types/react": "18.2.20", | ||
"@types/react-dom": "18.2.7", | ||
"autoprefixer": "10.4.15", | ||
"class-variance-authority": "^0.7.0", | ||
"clsx": "^2.0.0", | ||
"eslint": "8.47.0", | ||
"eslint-config-next": "13.4.18", | ||
"lucide-react": "^0.268.0", | ||
"next": "13.4.18", | ||
"postcss": "8.4.28", | ||
"react": "18.2.0", | ||
"react-dom": "18.2.0", | ||
"react-hook-form": "^7.45.4", | ||
"react-hook-form-persist": "^3.0.0", | ||
"tailwind-merge": "^1.14.0", | ||
"tailwindcss": "3.3.3", | ||
"tailwindcss-animate": "^1.0.6", | ||
"typescript": "5.1.6", | ||
"zod": "^3.22.1" | ||
} | ||
} |
Oops, something went wrong.