Skip to content

Commit 1ebb671

Browse files
authored
feat: sec ops maintenance (#76)
* chore: update express from 4.18.2 to 4.21.2 * chore: update express-rate-limit, adapt some express typing expectations * chore: upgrade Jimp, filenamify and fix some types * chore: update versions, fix typo * chore: update typescript version to 7.7.2 * chore: drop qualifiable any * fix: sanitized data
1 parent 2a31eac commit 1ebb671

26 files changed

+1363
-1020
lines changed

.github/workflows/build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
echo LINKEDIN_CONSUMER_ID = "${{ secrets.LINKEDIN_CONSUMER_ID }}" >> ./dist/env/test.env
3030
echo LINKEDIN_CONSUMER_SECRET = "${{ secrets.LINKEDIN_CONSUMER_SECRET }}" >> ./dist/env/test.env
3131
- name: Install global dependencies
32-
run: npm i typescript@5.3.3 -g
32+
run: npm i typescript@5.7.2 -g
3333
- name: Install local dependencies
3434
run: npm i
3535
- name: Compile Typescript files
@@ -62,7 +62,7 @@ jobs:
6262
mysql database: 'typeplate_test'
6363
mysql root password: passw0rd
6464
- name: Install global dependencies
65-
run: npm i typescript@5.3.3 -g
65+
run: npm i typescript@5.7.2 -g
6666
- name: Install local dependencies
6767
run: npm i
6868
- name: Create dist directory

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
echo LINKEDIN_CONSUMER_ID = "${{ secrets.LINKEDIN_CONSUMER_ID }}" >> ./dist/env/test.env
3131
echo LINKEDIN_CONSUMER_SECRET = "${{ secrets.LINKEDIN_CONSUMER_SECRET }}" >> ./dist/env/test.env
3232
- name: Install global dependencies
33-
run: npm i typescript@5.3.3 -g
33+
run: npm i typescript@5.7.2 -g
3434
- name: Install local dependencies
3535
run: npm i
3636
- name: Compile Typescript files
@@ -63,7 +63,7 @@ jobs:
6363
mysql database: 'typeplate_test'
6464
mysql root password: passw0rd
6565
- name: Install global dependencies
66-
run: npm i typescript@5.3.3 -g
66+
run: npm i typescript@5.7.2 -g
6767
- name: Install local dependencies
6868
run: npm i
6969
- name: Create dist directory

README.md

+8-10
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
![Typescript / Express / Typeorm REST API boilerplate](https://i.ibb.co/tbqXm9Q/header-ts-boilerplate-4.png)
1+
![Typescript / Express / Typeorm REST API boilerplate](https://i.ibb.co/dM2bhNJ/cover-typeplate.png)
22

33
[![Node](https://img.shields.io/badge/Node-18.19.0-informational?logo=node.js&color=43853D)](https://nodejs.org/docs/latest-v18.x/api/index.html)
4-
[![TypeScript](https://img.shields.io/badge/Typescript-5.3.3-informational?logo=typescript&color=2F74C0)](https://www.typescriptlang.org/)
5-
[![Express](https://img.shields.io/badge/Express-4.18.2-informational?logo=express&color=B1B1B1)](https://expressjs.com/)
4+
[![TypeScript](https://img.shields.io/badge/Typescript-5.7.2-informational?logo=typescript&color=2F74C0)](https://www.typescriptlang.org/)
5+
[![Express](https://img.shields.io/badge/Express-4.21.2-informational?logo=express&color=B1B1B1)](https://expressjs.com/)
66
[![Typeorm](https://img.shields.io/badge/Typeorm-0.3.20-informational?logo=typeorm&color=FFAB00)](https://typeorm.io/#/)
77
[![Mocha](https://img.shields.io/badge/Mocha-10.3.0-informational?logo=mocha&color=8A6343)](https://mochajs.org)
88

@@ -12,9 +12,9 @@
1212
![GitHub Release](https://img.shields.io/github/v/release/steve-lebleu/typeplate?logo=Github)
1313
![GitHub License](https://img.shields.io/github/license/steve-lebleu/typeplate?color=%230A7BBC)
1414

15-
Ready to use RESTful API boilerplate builded with [Express.js](http://expressjs.com/en/4x/api.html), [Typescript](https://github.com/Microsoft/TypeScript) [TypeORM](https://github.com/typeorm/typeorm) and [Mocha](https://mochajs.org/). 🤘
15+
Ready to use RESTful API boilerplate builded with [Express.js](http://expressjs.com/en/4x/api.html), [Typescript](https://github.com/Microsoft/TypeScript), [TypeORM](https://github.com/typeorm/typeorm) and [Mocha](https://mochajs.org/). 🤘
1616

17-
Thanks to Daniel F. Sousa for inspiration with her [Express ES2017 REST API boilerplate](https://github.com/danielfsousa/express-rest-boilerplate) :beer:
17+
Thanks to Daniel F. Sousa for inspiration with his [ExpressREST API boilerplate](https://github.com/danielfsousa/express-rest-boilerplate) :beer:
1818

1919
## > Features
2020

@@ -61,16 +61,14 @@ Thanks to Daniel F. Sousa for inspiration with her [Express ES2017 REST API boil
6161
### Prerequisites
6262

6363
* Git
64-
* Node.js >= 14.16.0
65-
* NPM >= 6.14.0
64+
* Node.js >= 18.19.0
65+
* NPM >= 10.2.3
6666
* A database engine with a dedicated database
6767

68-
When you're with that, starting your project is a matter of minutes. :clock12:
69-
7068
### Step 1: install
7169

7270
```bash
73-
$ git clone https://github.com/konfer-be/typeplate.git path-to/your-project-name/
71+
$ git clone https://github.com/steve-lebleu/typeplate.git path-to/your-project-name/
7472
```
7573

7674
### Step 2: go to

0 commit comments

Comments
 (0)