Skip to content

Commit 7bf7c9c

Browse files
committed
chore: update dependencies and improve workflow scripts
1 parent 8fbfd2d commit 7bf7c9c

File tree

4 files changed

+5974
-12338
lines changed

4 files changed

+5974
-12338
lines changed

.github/workflows/nodejs.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ jobs:
2525
with:
2626
node-version: 18.20.7
2727
cache: 'npm'
28-
# use old version of @nestjs/platform-express,
29-
# remove --legacy-peer-deps once express is upgraded to v5
30-
- run: npm ci --legacy-peer-deps
28+
- run: npm ci
3129
- run: npm run lint
3230
- run: npm run build --if-present
3331
- run: npm run test:cov

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -197,21 +197,21 @@ mutation {
197197

198198
> Please remove `/dev` from path if test using local nestjs mode
199199
200-
```
200+
```sh
201201
curl -X POST 'http://localhost:3000/dev/notification' \
202202
-H 'Content-Type: application/json' \
203203
--data-raw '{ "targetId": "device1", "userId": "user1", "content": "Hello" }'
204204
```
205205

206-
```
206+
```sh
207207
curl -X GET 'http://localhost:3000/dev/notification?targetId=device1'
208208
```
209209

210-
```
210+
```sh
211211
curl -X GET 'http://localhost:3000/dev/notification?userId=user1'
212212
```
213213

214-
```
214+
```sh
215215
curl -X PATCH 'http://localhost:3000/dev/notification/a30f7101-2434-4443-87fa-493c9d9d3358' \
216216
-H 'Content-Type: application/json' \
217217
--data-raw '{ "status": "Deleted" }'

0 commit comments

Comments
 (0)