From 1cd1a055488bef5435c414a29bb43313225d00b3 Mon Sep 17 00:00:00 2001 From: Daniel R Date: Thu, 13 Jun 2024 15:26:20 -0400 Subject: [PATCH] Some additions. --- .github/issue_template.yaml | 74 ++++++++++++++++++++++++++++++++ .github/pull_request_template.md | 21 +++++++++ LICENSE | 21 +++++++++ package.json | 17 +++++--- 4 files changed, 127 insertions(+), 6 deletions(-) create mode 100644 .github/issue_template.yaml create mode 100644 .github/pull_request_template.md create mode 100644 LICENSE diff --git a/.github/issue_template.yaml b/.github/issue_template.yaml new file mode 100644 index 0000000..7ee4ce7 --- /dev/null +++ b/.github/issue_template.yaml @@ -0,0 +1,74 @@ +name: Bug Report +description: Report a bug +title: "[Bug]: " +labels: ["bug"] +assignees: + - danielrazavi + - rohanalexander +body: + - type: markdown + attributes: + value: | + Thank you for taking the time to report a bug. Please provide the details below to help us identify and resolve the issue quickly. + - type: textarea + id: description + attributes: + label: Describe the issue + description: A clear and concise description of what the bug is. + placeholder: When I click here, this happens... + validations: + required: true + - type: textarea + id: steps + attributes: + label: Steps to Reproduce + description: Step-by-step instructions to reproduce the issue. + placeholder: | + 1. Go to page X + 2. Click here + 3. Click there + validations: + required: true + - type: textarea + id: expected + attributes: + label: Expected Result + description: Describe what you expected to happen. + placeholder: I expected this to happen... + validations: + required: true + - type: textarea + id: actual + attributes: + label: Actual Result + description: Describe what actually happened. + placeholder: This actually happened... + validations: + required: true + - type: textarea + id: environment + attributes: + label: Environment + description: Provide details about your environment (browser, operating system, etc.). + placeholder: Browser: Chrome, OS: Windows 10, etc. + validations: + required: true + - type: textarea + id: screenshots + attributes: + label: Screenshots or Videos (optional) + description: Add any relevant screenshots or video links to help illustrate the issue. + - type: textarea + id: additional_info + attributes: + label: Additional Information (optional) + description: Any other information that might help us diagnose the problem. + - type: textarea + id: assignee + attributes: + label: Preferred Code Owner for Review (optional) + description: Specify if you have a preferred code owner to review this issue. + - type: markdown + attributes: + value: | + Thanks for reporting this issue! We will look into it as soon as possible. \ No newline at end of file diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..0480891 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,21 @@ +## Summary of Changes +Provide a brief summary of the changes you have made. + +## What changes are you making? +Describe the changes you are making (e.g., adding or removing code, refactoring existing code). + +## Reason for Changes +Explain why these changes are necessary or what problem they solve. + +## How were these changes tested? +Describe how you tested your changes. Include any test cases, steps to reproduce, and results. + +## Related Issues +Provide a reference to any related issues in your repository (e.g., Fixes #123). + +## Checklist +- [ ] My code follows the project's coding style +- [ ] I have tested my changes + +## Additional Notes +Include any additional notes or comments that may be relevant to the review process. diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..f1b34f0 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2022 Rachael + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/package.json b/package.json index e121308..d9c7538 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,14 @@ { - "name": "my_student_portfolio", + "name": "uoft-dsi", "version": "0.1.0", - "private": true, + "private": false, + "homepage": "https://uoft-dsi.github.io/uoft-dsi", "dependencies": { "@types/gsap": "^3.0.0", "@types/react": "^18.2.0", "@types/react-dom": "^18.2.0", "gsap": "^3.12.5", - "nth-check": "^2.0.1", + "nth-check": "2.0.1", "postcss": "^8.4.31", "react": "^18.2.0", "react-dom": "^18.2.0", @@ -22,7 +23,9 @@ "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test", - "eject": "react-scripts eject" + "eject": "react-scripts eject", + "predeploy": "npm run build", + "deploy": "gh-pages -d build" }, "eslintConfig": { "extends": [ @@ -45,10 +48,12 @@ "devDependencies": { "@types/react-router-dom": "^5.3.3", "@types/slick-carousel": "^1.6.40", - "eslint-config-react-app": "^7.0.1" + "eslint-config-react-app": "^7.0.1", + "@babel/plugin-proposal-private-property-in-object": "^7.18.6", + "gh-pages": "^4.0.0" }, "resolutions": { - "nth-check": "^2.0.1", + "nth-check": "2.0.1", "postcss": "^8.4.31", "resolve-url-loader": "^4.0.0" }