diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 000000000..a30d631dd --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,33 @@ +{ + "image": "mcr.microsoft.com/devcontainers/universal:2", + "hostRequirements": { + "cpus": 4 + }, + "waitFor": "onCreateCommand", + "updateContentCommand": "pnpm install", + "postCreateCommand": [ + "pnpm install -D tailwindcss@latest postcss@latest autoprefixer@latest", + "pnpm install -D typescript @types/react @types/node", + "pnpm install next react react-dom" + ], + "postAttachCommand": { + "server": "pnpm run dev" + }, + "customizations": { + "codespaces": { + "openFiles": ["src/App.tsx"] + } + }, + "portsAttributes": { + "3000": { + "label": "Application", + "onAutoForward": "openPreview" + } + }, + "forwardPorts": [3000], + "extensions": [ + "octref.vetur", + "dbaeumer.vscode-eslint", + "esbenp.prettier-vscode" + ] +} diff --git a/.github/ISSUE_TEMPLATE/---category-suggestion.yml b/.github/ISSUE_TEMPLATE/---category-suggestion.yml index e56479761..efd22313b 100644 --- a/.github/ISSUE_TEMPLATE/---category-suggestion.yml +++ b/.github/ISSUE_TEMPLATE/---category-suggestion.yml @@ -45,8 +45,6 @@ body: required: true - label: "I am willing to work on this issue (optional)" required: false - - label: "I am a GSSoC'23 contributor" - required: false - type: markdown attributes: value: "Thank you for taking the time to suggest a new request! Your input is greatly appreciated." diff --git a/.github/ISSUE_TEMPLATE/add_link.yml b/.github/ISSUE_TEMPLATE/add_link.yml index 15b810d82..eb77961ba 100644 --- a/.github/ISSUE_TEMPLATE/add_link.yml +++ b/.github/ISSUE_TEMPLATE/add_link.yml @@ -53,5 +53,3 @@ body: - label: 'I am willing to work on this issue (optional)' required: false - - label: "I am a GSSoC'23 contributor" - required: false diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index bafd82578..fef3b2eff 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -48,6 +48,4 @@ body: - label: "I am willing to work on this issue (optional)" required: false - - label: "I am a GSSoC'23 contributor" - required: false \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/category_description.yml b/.github/ISSUE_TEMPLATE/category_description.yml index f08f13671..9bafe73b0 100644 --- a/.github/ISSUE_TEMPLATE/category_description.yml +++ b/.github/ISSUE_TEMPLATE/category_description.yml @@ -43,5 +43,4 @@ body: - label: "I am willing to work on this issue (optional)" required: false - - label: "I am a GSSoC'23 contributor" - required: false \ No newline at end of file + \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/documentation.yml b/.github/ISSUE_TEMPLATE/documentation.yml index 12986b092..e8a617406 100644 --- a/.github/ISSUE_TEMPLATE/documentation.yml +++ b/.github/ISSUE_TEMPLATE/documentation.yml @@ -41,8 +41,6 @@ body: required: true - label: 'I am willing to work on this issue (optional)' required: false - - label: "I am a GSSoC'23 contributor" - required: false - type: markdown attributes: value: 'Thank you for taking the time to raise this issue! Your input is greatly appreciated.' diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index fa252d5d0..4332d31e0 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -31,5 +31,3 @@ body: - label: "I am willing to work on this issue (optional)" required: false - - label: "I am a GSSoC'23 contributor" - required: false diff --git a/.github/ISSUE_TEMPLATE/other.yml b/.github/ISSUE_TEMPLATE/other.yml index 1a1120624..002f4ae4d 100644 --- a/.github/ISSUE_TEMPLATE/other.yml +++ b/.github/ISSUE_TEMPLATE/other.yml @@ -24,5 +24,4 @@ body: - label: "I am willing to work on this issue (optional)" required: false - - label: "I am a GSSoC'23 contributor" - required: false + diff --git a/.github/ISSUE_TEMPLATE/refactor_code.yml b/.github/ISSUE_TEMPLATE/refactor_code.yml index 5d7fe0fdd..bfb6f844a 100644 --- a/.github/ISSUE_TEMPLATE/refactor_code.yml +++ b/.github/ISSUE_TEMPLATE/refactor_code.yml @@ -34,5 +34,3 @@ body: - label: 'I am willing to work on this issue (optional).' required: false - - label: 'I am a GSSoC23 contributor.' - required: false diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 000000000..51bf57cd3 --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,35 @@ +name-template: "v$RESOLVED_VERSION" +tag-template: "v$RESOLVED_VERSION" +categories: + - title: "🚧 Huge Updates" + labels: + - "📈 Major" + - title: "🚀 New Features" + labels: + - "feature" + - title: "🐛 Bug Fixes" + labels: + - "patch" + - "📄 aspect: docs" + - title: "🧰 Maintenance" + labels: + - "chore" + - "dependencies" +change-template: "- $TITLE @$AUTHOR (#$NUMBER)" +change-title-escapes: '\<*_&' +version-resolver: + major: + labels: + - "📈 Major" + minor: + labels: + - "feature" + patch: + labels: + - "patch" + - "dependencies" + - "📄 aspect: docs" + default: patch +template: | + + $CHANGES \ No newline at end of file diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 000000000..02076fb66 --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,35 @@ +name: 📢 Draft Release Notes + +on: + push: + # branches to consider in the event; optional, defaults to all + branches: + - main + pull_request: + # Only following types are handled by the action, but one can default to all as well + types: [opened, reopened, synchronize] + +permissions: + contents: read + +jobs: + update_release_draft: + permissions: + # write permission is required to create a github release + contents: write + # write permission is required for autolabeler + # otherwise, read permission is required at least + pull-requests: write + runs-on: ubuntu-latest + steps: + # (Optional) GitHub Enterprise requires GHE_HOST variable set + #- name: Set GHE_HOST + # run: | + # echo "GHE_HOST=${GITHUB_SERVER_URL##https:\/\/}" >> $GITHUB_ENV + + # Drafts your next Release notes as Pull Requests are merged into "master" + - uses: release-drafter/release-drafter@v5 + + # The GITHUB_TOKEN works for the most case if it doesnot works, replace it with Personal Access Token + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}