Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes navbar and code format #1617

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ extends:
parserOptions:
ecmaVersion: 2018


rules:
# Ignore Rules
strict: 0
Expand Down Expand Up @@ -84,7 +85,7 @@ rules:
computed-property-spacing: [2, never]
space-in-parens: [2, never]
space-unary-ops: [2, {words: true, nonwords: false}]
wrap-regex: 2
wrap-regex: off
linebreak-style: 0
semi: [2, always]
arrow-spacing: [2, {before: true, after: true}]
Expand Down
6 changes: 2 additions & 4 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all",
"plugins": [
"prettier-plugin-tailwindcss"
]
}
"plugins": ["prettier-plugin-tailwindcss"]
}
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ git clone https://github.com/code100x/cms.git
```bash
cd cms
```

# Instant Docker Setup

> [!NOTE]
Expand Down Expand Up @@ -51,15 +52,12 @@ docker run -d \
-p 5432:5432 \

postgres
```


```

1. Create a .env file:

- Copy `.env.example` and rename it to `.env`.


2. Install dependencies:

```bash
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ services:
volumes:
- postgres-data:/var/lib/postgresql/data
healthcheck:
test: [ 'CMD-SHELL', 'pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}' ]
test: ['CMD-SHELL', 'pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}']
interval: 10s
timeout: 5s
retries: 5

volumes:
postgres-data:
postgres-data:
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"katex": "^0.16.11",
"lucide-react": "^0.321.0",
"moment": "^2.30.1",
"next": "14.0.2",
"next": "^14.2.20",
"next-auth": "^4.24.5",
"next-themes": "^0.2.1",
"nextjs-toploader": "^1.6.11",
Expand All @@ -75,7 +75,7 @@
"react-dom": "^18",
"react-hook-form": "^7.50.1",
"react-icons": "^5.1.0",
"react-notion-x": "^6.16.0",
"react-notion-x": "^7.2.5",
"react-resizable-panels": "^1.0.7",
"recoil": "^0.7.7",
"sonner": "^1.4.0",
Expand All @@ -87,6 +87,7 @@
"videojs-mobile-ui": "^1.1.1",
"videojs-seek-buttons": "^4.0.3",
"videojs-sprite-thumbnails": "^2.1.1",
"vite": "^6.0.3",
"zod": "^3.22.4"
},
"devDependencies": {
Expand All @@ -99,8 +100,10 @@
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.20.0",
"eslint": "^8.56.0",
"eslint-plugin-prettier": "^5.2.1",
"jsdom": "^24.0.0",
"prettier": "^3.2.4",
"prettier": "^3.4.2",
"prettier-plugin-tailwindcss": "^0.6.9",
"prisma": "^5.18.0",
"tailwindcss": "^3.3.0",
"ts-node": "^10.9.2",
Expand Down
Loading
Loading