File tree Expand file tree Collapse file tree 10 files changed +104
-305
lines changed Expand file tree Collapse file tree 10 files changed +104
-305
lines changed Original file line number Diff line number Diff line change @@ -29,20 +29,15 @@ jobs:
29
29
steps :
30
30
- uses : actions/checkout@v4
31
31
32
- - name : Setup Node.js 18
32
+ - name : Setup Node.js 22
33
33
uses : actions/setup-node@v3
34
34
with :
35
- node-version : 18
35
+ node-version : 22
36
36
37
37
- name : Install dependencies for cli
38
38
run : yarn add eslint@^8.40.0 eslint-plugin-import@^2.29.0 eslint-plugin-prettier@^5.0.1 eslint-plugin-react@^7.29.4 eslint-plugin-unused-imports@^3.0.0 --dev
39
39
working-directory : cli
40
40
41
- - name : Setup Node.js 16
42
- uses : actions/setup-node@v3
43
- with :
44
- node-version : 16
45
-
46
41
- name : Install dependencies for web-server
47
42
run : yarn add eslint@^8.40.0 eslint-config-next@13.5.6 eslint-plugin-import@^2.29.0 eslint-plugin-prettier@^5.0.1 eslint-plugin-react@^7.29.4 eslint-plugin-unused-imports@^3.0.0 --dev
48
43
working-directory : web-server
Original file line number Diff line number Diff line change @@ -29,11 +29,11 @@ Please follow the existing code style and conventions used in the project. If yo
29
29
```
30
30
pip install -r backend/dev-requirements.txt --upgrade
31
31
```
32
- Also install the eslint for both `cli/` and `webserver/`. Please use node 16 for that
32
+ Also install the eslint for both `cli/` and `webserver/`. Please use node 22 for that
33
33
*NOTE*: If NVM is not installed, install using [nvm](https://github.com/nvm-sh/nvm?tab=readme-ov-file#installing-and-updating)
34
34
```
35
- nvm install 16
36
- nvm use 16
35
+ nvm install 22
36
+ nvm use 22
37
37
```
38
38
```
39
39
cd cli
@@ -60,8 +60,6 @@ Please follow the existing code style and conventions used in the project. If yo
60
60
pre-commit run --files [path/to/file]
61
61
```
62
62
63
- *NOTE*: Make sure the terminal is using node 16 for the linting before committing(Until we upgrade node for webserver)
64
-
65
63
## Labels
66
64
67
65
We use the following labels to categorize and prioritize issues:
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ RUN apt-get update && \
67
67
redis-server \
68
68
supervisor \
69
69
curl \
70
- && curl -fsSL https://deb.nodesource.com/setup_16 .x | bash - \
70
+ && curl -fsSL https://deb.nodesource.com/setup_22 .x | bash - \
71
71
&& apt-get install -y nodejs \
72
72
&& mkdir -p /etc/cron.d && mv /app/setup_utils/cronjob.txt /etc/cron.d/cronjob \
73
73
&& chmod +x /app/setup_utils/* \
Original file line number Diff line number Diff line change @@ -358,11 +358,11 @@ Coming Soon!
358
358
To get started contributing to middleware check out our [CONTRIBUTING.md](https://github.com/middlewarehq/middleware/blob/main/CONTRIBUTING.md).
359
359
360
360
> [!IMPORTANT]
361
- > ✨ We offer **SWAG** for solving issues labelled [`advanced`](https://github.com/middlewarehq/middleware/issues?q=is%3Aissue+is%3Aopen+label%3Aadvanced)! ✨
361
+ > ✨ We offer **SWAG** for solving issues labelled [`advanced`](https://github.com/middlewarehq/middleware/issues?q=is%3Aissue+is%3Aopen+label%3Aadvanced)! ✨
362
362
> _Please confirm with our team on respective issues before proceeding._
363
363
364
364
> [!IMPORTANT]
365
- > 👩💻 When new hiring positions open, we look at our open source contributors first! 👨💻
365
+ > 👩💻 When new hiring positions open, we look at our open source contributors first! 👨💻
366
366
> _[Join our Slack](https://mhq.link/oss-community) so we can reach out to you._
367
367
368
368
We appreciate your contributions and look forward to working together to make Middleware even better!
Original file line number Diff line number Diff line change 4
4
"license" : " MIT" ,
5
5
"bin" : " dist/cli.js" ,
6
6
"engines" : {
7
- "node" : " >=16 "
7
+ "node" : " ^22.x "
8
8
},
9
9
"type" : " module" ,
10
10
"scripts" : {
You can’t perform that action at this time.
0 commit comments