-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Migrate the latest develop-postgres branch into develop #3473
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
Changes from 4 commits
bfc2117
b5e7738
834b8bd
e7c44e5
69b22cd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,26 @@ | ||
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json | ||
# More information at this link: https://docs.coderabbit.ai/configure-coderabbit | ||
|
||
language: "en-US" | ||
early_access: false | ||
chat: | ||
auto_reply: true | ||
reviews: | ||
profile: "chill" | ||
profile: "assertive" | ||
poem: false | ||
request_changes_workflow: true | ||
high_level_summary: true | ||
poem: true | ||
review_status: true | ||
collapse_walkthrough: false | ||
auto_review: | ||
enabled: true | ||
drafts: false | ||
base_branches: | ||
- develop-postgres | ||
- develop | ||
- main | ||
chat: | ||
auto_reply: true | ||
path_filters: | ||
- '!**/docs/docs/**' | ||
- "!*.html" | ||
- "!*.md" | ||
- "!*.svg" |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,79 @@ | ||
// https://containers.dev/implementors/json_reference/ | ||
// https://github.com/orgs/devcontainers/discussions/4 | ||
{ | ||
"name": "talawa api dev environment", | ||
"dockerComposeFile": "docker-compose.yaml", | ||
"service": "devcontainer", | ||
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}", | ||
// Settings to apply to the workspace. | ||
"customizations": { | ||
// Configure properties specific to VS Code. | ||
"vscode": { | ||
"settings": { | ||
"terminal.integrated.shell.linux": "/bin/bash", | ||
"typescript.tsdk": "node_modules/typescript/lib", | ||
"database.host": "mongodb", | ||
"redis.host": "redis-stack-server" | ||
}, | ||
// List of extensions to install inside the container | ||
"extensions": [ | ||
"dbaeumer.vscode-eslint", | ||
"ms-azuretools.vscode-docker", | ||
"esbenp.prettier-vscode", | ||
"redhat.vscode-yaml" | ||
] | ||
} | ||
}, | ||
// Set up forward ports | ||
"forwardPorts": [ | ||
4000, // Server port | ||
27017, // MongoDB port | ||
6379 // Redis port | ||
], | ||
// Post-create commands to run after creating the container | ||
"postCreateCommand": "npm install", | ||
|
||
// Volumes from docker-compose are already included | ||
"shutdownAction": "stopCompose" | ||
"$schema": "https://raw.githubusercontent.com/devcontainers/spec/main/schemas/devContainer.schema.json", | ||
"containerUser": "talawa", | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"biomejs.biome", | ||
"esbenp.prettier-vscode", | ||
"GraphQL.vscode-graphql", | ||
"GraphQL.vscode-graphql-syntax", | ||
"redhat.vscode-yaml" | ||
], | ||
"settings": { | ||
"editor.codeActionsOnSave": { | ||
"quickfix.biome": "explicit", | ||
"source.organizeImports.biome": "explicit" | ||
}, | ||
"editor.formatOnSave": true, | ||
"editor.lineNumbers": "relative", | ||
"editor.mouseWheelZoom": true, | ||
"editor.wordWrap": "on", | ||
"typescript.enablePromptUseWorkspaceTsdk": true, | ||
"typescript.tsdk": "./node_modules/typescript/lib", | ||
"[graphql]": { | ||
"editor.defaultFormatter": "biomejs.biome" | ||
}, | ||
"[javascript]": { | ||
"editor.defaultFormatter": "biomejs.biome" | ||
}, | ||
"[json]": { | ||
"editor.defaultFormatter": "biomejs.biome" | ||
}, | ||
"[jsonc]": { | ||
"editor.defaultFormatter": "biomejs.biome" | ||
}, | ||
"[markdown]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"[typescript]": { | ||
"editor.defaultFormatter": "biomejs.biome" | ||
}, | ||
"[yaml]": { | ||
"editor.defaultFormatter": "redhat.vscode-yaml" | ||
} | ||
} | ||
} | ||
}, | ||
"dockerComposeFile": [ | ||
"../compose.yaml", | ||
"../docker/compose.testing.yaml", | ||
"../docker/compose.devcontainer.yaml" | ||
], | ||
"features": { | ||
// https://github.com/devcontainers/features/tree/main/src/common-utils | ||
"ghcr.io/devcontainers/features/common-utils": { | ||
"installZsh": false, | ||
"installOhMyZsh": false, | ||
"installOhMyZshConfig": false, | ||
"nonFreePackages": true, | ||
"username": "talawa" | ||
}, | ||
// https://github.com/devcontainers/features/tree/main/src/git | ||
"ghcr.io/devcontainers/features/git": {}, | ||
// https://github.com/devcontainers/features/tree/main/src/github-cli | ||
"ghcr.io/devcontainers/features/github-cli": {} | ||
}, | ||
"init": true, | ||
"initializeCommand": "/bin/sh -c '[ ! -f .env ] && cp ./envFiles/.env.devcontainer ./.env || true'", | ||
"name": "talawa_api", | ||
"overrideCommand": true, | ||
"postCreateCommand": "sudo chown talawa:talawa ./.pnpm-store ./node_modules && fnm install && fnm use && corepack enable npm && corepack enable && corepack install && pnpm install", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧹 Nitpick (assertive) Split complex "postCreateCommand": [
"sudo chown talawa:talawa ./.pnpm-store ./node_modules",
"fnm install",
"fnm use",
"corepack enable",
"pnpm install"
] 🤖 Prompt for AI Agents
|
||
"postStartCommand": "pnpm install", | ||
"remoteUser": "talawa", | ||
"service": "api", | ||
"shutdownAction": "stopCompose", | ||
"workspaceFolder": "/home/talawa/api" | ||
} |
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Validate path_filters for documentation directory
The pattern
!**/docs/docs/**
likely doesn’t match the intendeddocs/**
path (it repeatsdocs
). Adjust to properly exclude all documentation files.📝 Committable suggestion
🤖 Prompt for AI Agents