Skip to content

Commit b46e851

Browse files
authored
Automate project dependency auditing and updating (#184)
1 parent 911b008 commit b46e851

File tree

3 files changed

+708
-676
lines changed

3 files changed

+708
-676
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Audit and update project dependencies
2+
3+
on:
4+
schedule:
5+
# Runs "At 00:00 on Mondays." (see https://crontab.guru)
6+
- cron: "0 0 * * 1"
7+
jobs:
8+
aui:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: P5-wrapper/setup-action@v1
12+
with:
13+
token: ${{ secrets.GH_TOKEN }}
14+
15+
- name: Audit, update and install
16+
run: pnpm aui
17+
18+
- name: Create dependency updates PR
19+
uses: peter-evans/create-pull-request@v4
20+
with:
21+
token: ${{ secrets.GH_TOKEN }}
22+
commit-message: Update project dependencies
23+
title: Update project dependencies
24+
body: |
25+
- Dependency updates
26+
27+
Auto-generated by [create-pull-request][1]
28+
29+
[1]: https://github.com/peter-evans/create-pull-request
30+
branch: update-project-dependencies

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -70,22 +70,22 @@
7070
"react-dom": ">= 17.0.2"
7171
},
7272
"devDependencies": {
73-
"@babel/core": "^7.18.13",
74-
"@babel/preset-env": "^7.18.10",
73+
"@babel/core": "^7.19.0",
74+
"@babel/preset-env": "^7.19.0",
7575
"@babel/preset-react": "^7.18.6",
7676
"@babel/preset-typescript": "^7.18.6",
77-
"@testing-library/react": "^13.3.0",
77+
"@testing-library/react": "^13.4.0",
7878
"@types/jest": "^28.1.8",
7979
"@types/p5": "^1.4.2",
80-
"@types/react": "^18.0.17",
80+
"@types/react": "^18.0.18",
8181
"@types/react-dom": "^18.0.6",
82-
"@typescript-eslint/eslint-plugin": "^5.35.1",
83-
"@typescript-eslint/parser": "^5.35.1",
82+
"@typescript-eslint/eslint-plugin": "^5.36.2",
83+
"@typescript-eslint/parser": "^5.36.2",
8484
"babel-loader": "^8.2.5",
85-
"canvas": "^2.9.3",
85+
"canvas": "^2.10.0",
8686
"css-loader": "^6.7.1",
8787
"eslint": "^8.23.0",
88-
"eslint-plugin-react": "^7.31.1",
88+
"eslint-plugin-react": "^7.31.7",
8989
"eslint-plugin-react-hooks": "^4.6.0",
9090
"eslint-plugin-simple-import-sort": "^7.0.0",
9191
"gh-pages": "^4.0.0",
@@ -97,7 +97,7 @@
9797
"react": "^18.2.0",
9898
"react-dom": "^18.2.0",
9999
"rimraf": "^3.0.2",
100-
"rollup": "^2.78.1",
100+
"rollup": "^2.79.0",
101101
"rollup-plugin-terser": "^7.0.2",
102102
"rollup-plugin-typescript2": "^0.32.1",
103103
"style-loader": "^3.3.1",
@@ -107,6 +107,6 @@
107107
"typescript": "^4.8.2",
108108
"webpack": "^5.74.0",
109109
"webpack-cli": "^4.10.0",
110-
"webpack-dev-server": "^4.10.0"
110+
"webpack-dev-server": "^4.10.1"
111111
}
112112
}

0 commit comments

Comments
 (0)