From 30a34298b1d84275c16cdfd8269d233e0dcc4bbc Mon Sep 17 00:00:00 2001 From: Ankan Saha Date: Sun, 15 Mar 2026 18:33:09 +0530 Subject: [PATCH] feat: Add devcontainer configuration and post-create script for Node.js environment setup chore: Remove outdated issue and pull request templates chore: Update version to v5.21 --- .devcontainer/devcontainer.json | 77 +++++++++++++++++++++++ .devcontainer/postCreateCommand.sh | 29 +++++++++ .github/ISSUE_TEMPLATE/bug_report.md | 33 ---------- .github/ISSUE_TEMPLATE/feature_request.md | 20 ------ .github/pull_request_template.md | 20 ------ VERSION | 2 +- 6 files changed, 107 insertions(+), 74 deletions(-) create mode 100644 .devcontainer/devcontainer.json create mode 100755 .devcontainer/postCreateCommand.sh delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md delete mode 100644 .github/pull_request_template.md diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..5909117 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,77 @@ +// For format details, see https://aka.ms/devcontainer.json. For config options, see the +// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node +{ + "name": "Node.js & TypeScript", + "hostRequirements": { + "cpus": 2, // 2 CPUs are required for the universal image + "gpu": true, // GPU is required for the universal image + "storage": "20gb", // 20gb is the minimum requirement for the universal image + "memory": "4gb" // 4gb is the minimum requirement for the universal image + }, + // // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile + // "image": "mcr.microsoft.com/devcontainers/typescript-node:1-20-bullseye", + // Use 'features' to add new features. + // "features": {}, + "forwardPorts": [ + 27018 + ], + "postCreateCommand": "./.devcontainer/postCreateCommand.sh", + "customizations": { + "vscode": { + "extensions": [ + "dbaeumer.vscode-eslint", + "esbenp.prettier-vscode", + "GitHub.copilot", + "GitHub.copilot-chat", + "eamodio.gitlens", + "mongodb.mongodb-vscode", + "ms-azuretools.vscode-docker", + "cweijan.vscode-database-client2", + "ms-vscode.vscode-typescript-next", + "wix.vscode-import-cost", + "sburg.vscode-javascript-booster", + "visualstudioexptteam.vscodeintellicode", + "Orta.vscode-jest", + "firsttris.vscode-jest-runner", + "DavidAnson.vscode-markdownlint", + "rangav.vscode-thunder-client", + "redhat.vscode-yaml", + "formulahendry.code-runner", + "ms-vscode-remote.remote-containers", + "christian-kohler.path-intellisense", + "christian-kohler.npm-intellisense", + "streetsidesoftware.code-spell-checker" + ], + "settings": { + "editor.formatOnSave": true, + "editor.tabSize": 2, + "files.autoSave": "afterDelay", + "files.autoSaveDelay": 1000, + "editor.codeActionsOnSave": { + "source.fixAll.eslint": true, + "source.organizeImports": true + }, + "editor.defaultFormatter": "esbenp.prettier-vscode", + "editor.suggestSelection": "first", + "editor.suggest.insertMode": "replace", + "editor.suggest.snippetsPreventQuickSuggestions": false, + "editor.suggest.showKeywords": true, + "editor.suggest.showStatusBar": true, + "editor.suggest.showIcons": true, + "editor.suggest.showMethods": true, + "editor.suggest.showSnippets": true, + "editor.suggest.showWords": true, + "editor.suggest.showColors": true, + "editor.suggest.showFiles": true, + "editor.suggest.showReferences": true, + "editor.suggest.showUserSnippets": true, + "editor.suggest.showText": true, + "editor.suggest.showTypeParameters": true + } + } + }, + "remoteUser": "root", + "otherPortsAttributes": { + "onAutoForward": "notify" + } +} \ No newline at end of file diff --git a/.devcontainer/postCreateCommand.sh b/.devcontainer/postCreateCommand.sh new file mode 100755 index 0000000..9a4f652 --- /dev/null +++ b/.devcontainer/postCreateCommand.sh @@ -0,0 +1,29 @@ +#!/bin/bash + +sudo apt-get update -y # Update apt-get cache +sudo apt-get install -y neofetch # Install curl + +# install Node.js and npm +curl -sL https://deb.nodesource.com/setup_22.x | sudo -E bash +sudo apt-get install -y nodejs # Install Node.js and npm + +# Install Dependencies for all the section of this project +npm install --force && npm run build # Install & build dependencies for AxioDB main Codebase + +# Install Dependencies for the AxioDB Documentation +cd ./Document && npm i --force && cd .. # Install & build dependencies for AxioDB Documentation + +# Install Dependencies for the AxioDB GUI +cd ./GUI && npm i --force && cd .. # Install & build dependencies for AxioDB GUI + +# Install Claude Code CLI +npm install -g @anthropic-ai/claude-code + +# Install OpenAI Codex CLI +npm i -g @openai/codex + +# Install Gemini CLI +npm install -g @google/gemini-cli + +# Install Copilot CLI +npm install -g @github/copilot \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 214a351..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -name: Bug Report -about: Create a report to help us improve Review Buddy -title: "[BUG] " -labels: bug -assignees: '' - ---- - -## Describe the Bug - - -## To Reproduce -Steps to reproduce the behavior: -1. Go to '...' -2. Click on '...' -3. Scroll down to '...' -4. See error - -## Expected Behavior - - -## Screenshots - - -## Environment checklist - -- [ ] Self-hosted runner -- [ ] GitHub-hosted runner (ubuntu-latest) -- [ ] Custom `action.yml` configuration - -## Additional Context - diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 65b2462..0000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -name: Feature Request -about: Suggest an idea for this project -title: "[FEAT] " -labels: enhancement -assignees: '' - ---- - -## Is your feature request related to a problem? Please describe. - - -## Describe the solution you'd like - - -## Describe alternatives you've considered - - -## Additional context - diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md deleted file mode 100644 index 5bf9c8c..0000000 --- a/.github/pull_request_template.md +++ /dev/null @@ -1,20 +0,0 @@ -## Summary - - -## Changes - -- - -## Testing - -- [ ] Tested locally with `./entrypoint.sh` -- [ ] Verified against a test repository - -## Related Issues - -Fixes # - -## Checklist -- [ ] My code follows the code style of this project. -- [ ] I have updated the documentation accordingly. -- [ ] I have read the **CONTRIBUTING** document. diff --git a/VERSION b/VERSION index b176fa3..595d356 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v5.19 \ No newline at end of file +v5.21 \ No newline at end of file