Skip to content

Commit

Permalink
Cleanup (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
christina-de-martinez authored Dec 24, 2024
1 parent d8e0eb6 commit b1564a5
Show file tree
Hide file tree
Showing 8 changed files with 9,409 additions and 5,134 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
node_modules
.idea
lib/**/*
lib/**/*
dist
.yarn/
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ jobs:
uses: actions/checkout@v3

- name: Roast My Code
uses: your-username/roast-my-code@main
uses: christina-de-martinez/roast-my-code@main
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # The GITHUB_TOKEN is there by default so you just need to keep it like it is and not necessarily need to add it as secret as it will throw an error. [More Details](https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret)
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
OPENAI_API_MODEL: "gpt-4o-mini" # Optional: defaults to "gpt-4o-mini"
exclude: "**/*.json, **/*.md" # Optional: exclude patterns separated by commas
```
4. Replace `your-username` with your GitHub username or organization name where the AI Code Reviewer repository is
4. Replace `christina-de-martinez` with your GitHub username or organization name where the AI Code Reviewer repository is
located.

5. Customize the `exclude` input if you want to ignore certain file patterns from being reviewed.
Expand Down
12,004 changes: 7,609 additions & 4,395 deletions dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

80 changes: 70 additions & 10 deletions dist/licenses.txt
Original file line number Diff line number Diff line change
Expand Up @@ -244,16 +244,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.


@vercel/ncc
MIT
Copyright 2018 ZEIT, Inc.

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.

abort-controller
MIT
MIT License
Expand Down Expand Up @@ -580,6 +570,26 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.


encoding
MIT
Copyright (c) 2012-2014 Andris Reinman

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 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.


event-target-shim
MIT
The MIT License (MIT)
Expand Down Expand Up @@ -677,6 +687,31 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.


iconv-lite
MIT
Copyright (c) 2011 Alexander Shtuchkin

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.



is-plain-object
MIT
The MIT License (MIT)
Expand Down Expand Up @@ -1045,6 +1080,31 @@ 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.


safer-buffer
MIT
MIT License

Copyright (c) 2018 Nikita Skovoroda <[email protected]>

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.


tr46
MIT

Expand Down
52 changes: 26 additions & 26 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
{
"name": "roast-my-code",
"version": "1.0.0",
"description": "mean and aggressive code reviews by ChatGPT",
"main": "lib/main.js",
"author": "Christina Martinez, based on work by Ville Saukkonen",
"license": "MIT",
"scripts": {
"build": "tsc",
"package": "ncc build --source-map --license licenses.txt",
"format": "prettier --write .",
"lint": "prettier --check ."
},
"dependencies": {
"@actions/core": "^1.10.0",
"@octokit/rest": "^19.0.7",
"minimatch": "^7.4.2",
"openai": "^4.20.1",
"parse-diff": "^0.11.1",
"ts-node": "^10.9.1"
},
"devDependencies": {
"@types/node": "^18.15.5",
"@vercel/ncc": "^0.36.1",
"prettier": "^2.8.6",
"typescript": "^5.0.2"
}
"name": "roast-my-code",
"version": "1.2.0",
"description": "mean and aggressive code reviews by ChatGPT",
"main": "lib/main.js",
"author": "Christina Martinez, based on work by Ville Saukkonen",
"license": "MIT",
"scripts": {
"build": "tsc",
"package": "ncc build --source-map --license licenses.txt",
"format": "prettier --write .",
"lint": "prettier --check ."
},
"dependencies": {
"@actions/core": "^1.10.0",
"@octokit/rest": "^19.0.7",
"minimatch": "^7.4.2",
"openai": "^4.20.1",
"parse-diff": "^0.11.1",
"ts-node": "^10.9.1"
},
"devDependencies": {
"@types/node": "^18.15.5",
"@vercel/ncc": "^0.36.1",
"prettier": "^2.8.6",
"typescript": "^5.0.2"
}
}
Loading

0 comments on commit b1564a5

Please sign in to comment.