Skip to content

Commit

Permalink
formatting and remove header grouping
Browse files Browse the repository at this point in the history
  • Loading branch information
TaylorFries committed Nov 7, 2024
1 parent 451bded commit a8255cf
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/helpers/npm-deps/create-report-issues.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const commentIn = JSON.parse(process.env.commentContents);
// Create an array of promises for each packageJsonPath.
const promises = packageJsonPaths.map(async (packagePath) => {
// get the comment for this folder
const comment = {"Updates": commentIn[packagePath]};
const comment = commentIn[packagePath];
// create title
const issueTitle =
packagePath !== '.' ? `${packagePath} NPM Dependency Report` : 'NPM Dependency Report';
Expand Down
2 changes: 0 additions & 2 deletions .github/helpers/npm-deps/parse_to_comment.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,6 @@ def go_through_folders(json_input):
# add the dict we just created into the update dict.
update_dict[folder] = cur_folder_updates



return update_dict

def main():
Expand Down
32 changes: 32 additions & 0 deletions .github/helpers/npm-deps/test.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"Updates": [
{
"minor": [
{
"count": 9
},
{
"cmd": "npm install @mui/[email protected] @mui/[email protected] [email protected] [email protected] @babel/[email protected] @babel/[email protected] @testing-library/[email protected] [email protected] [email protected] "
},
{
"list": [
"Update @mui/x-date-pickers from 7.21.0 to 7.22.1",
"Update @mui/x-data-grid from 7.21.0 to 7.22.1",
"Update react-router-dom from 6.27.0 to 6.28.0",
"Update typescript-eslint from 8.11.0 to 8.13.0",
"Update @babel/preset-env from 7.25.2 to 7.26.0",
"Update @babel/preset-react from 7.24.1 to 7.25.9",
"Update @testing-library/jest-dom from 6.5.0 to 6.6.3",
"Update eslint from 9.11.1 to 9.14.0",
"Update vite-tsconfig-paths from 5.0.1 to 5.1.0"
]
}
]
},
{
"WARNINGS": [
"Found update in: react-app for: xlsx which is on the ignore list. Dependency not included in final update list."
]
}
]
}

0 comments on commit a8255cf

Please sign in to comment.