Skip to content

Commit

Permalink
next-app-setup (#936)
Browse files Browse the repository at this point in the history
* next-app-setup

* vercel-settings-update

* path-setup

* path-setup
  • Loading branch information
Avdhesh-Varshney authored Oct 17, 2024
1 parent c166522 commit fff55b3
Show file tree
Hide file tree
Showing 41 changed files with 7,332 additions and 4,352 deletions.
4,315 changes: 0 additions & 4,315 deletions package-lock.json

This file was deleted.

35 changes: 0 additions & 35 deletions package.json

This file was deleted.

Binary file removed public/cover-page.jpeg
Binary file not shown.
8 changes: 7 additions & 1 deletion vercel.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
{
"builds": [
{
"src": "webmasterlog/package.json",
"use": "@vercel/next"
}
],
"rewrites": [
{
"source": "/(.*)",
"destination": "/"
"destination": "/webmasterlog/$1"
}
]
}
File renamed without changes.
3 changes: 3 additions & 0 deletions webmasterlog/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["next/core-web-vitals", "next/typescript"]
}
117 changes: 117 additions & 0 deletions webmasterlog/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
lerna-debug.log

# compiled output
/tmp
/out-tsc
node_modules
/node_modules
dist
/dist
dist-ssr
*.local
jspm_packages/
pids
*.pid
*.seed
*.pid.lock
/.pnp
.pnp.js

# Editor directories and files
*.vscode
.vscode/*
!.vscode/extensions.json
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
.idea
.DS_Store
*.pem
Thumbs.db
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
.venv
.project
.classpath
.c9/
*.launch
*.tgz
.settings/
*.sublime-workspace

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
/coverage
coverage

# production
/build

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# misc
.sass-cache
connect.lock
typings

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Yarn Integrity file
.yarn-integrity
.yarn/install-state.gz

# dotenv environment variables file
.env
.env.local
.env.development.local
.env.test.local
.env.production.local

# next.js build output
.next

# next.js
/.next/
/out/

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts
2 changes: 1 addition & 1 deletion Dockerfile → webmasterlog/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ COPY --from=builder /app ./

RUN npm install

EXPOSE 5173
EXPOSE 3000

CMD ["npm", "run", "dev"]
20 changes: 20 additions & 0 deletions webmasterlog/components.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "default",
"rsc": true,
"tsx": true,
"tailwind": {
"config": "tailwind.config.ts",
"css": "src/app/globals.css",
"baseColor": "neutral",
"cssVariables": true,
"prefix": ""
},
"aliases": {
"components": "@/components",
"utils": "@/lib/utils",
"ui": "@/components/ui",
"lib": "@/lib",
"hooks": "@/hooks"
}
}
8 changes: 8 additions & 0 deletions webmasterlog/next.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
images: {
domains: ['avatars.githubusercontent.com', 'raw.githubusercontent.com'],
},
};

export default nextConfig;
Loading

0 comments on commit fff55b3

Please sign in to comment.