Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: update typeorm #67

Merged
merged 11 commits into from
Feb 16, 2024
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
echo LINKEDIN_CONSUMER_ID = "${{ secrets.LINKEDIN_CONSUMER_ID }}" >> ./dist/env/test.env
echo LINKEDIN_CONSUMER_SECRET = "${{ secrets.LINKEDIN_CONSUMER_SECRET }}" >> ./dist/env/test.env
- name: Install global dependencies
run: npm i typescript@5.3.3 -g && npm i typeorm@0.2.41 -g
run: npm i typescript@5.3.3 -g
- name: Install local dependencies
run: npm i
- name: Compile Typescript files
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
mysql database: 'typeplate_test'
mysql root password: passw0rd
- name: Install global dependencies
run: npm i typescript@5.3.3 -g && npm i typeorm@0.2.41 -g
run: npm i typescript@5.3.3 -g
- name: Install local dependencies
run: npm i
- name: Create dist directory
Expand All @@ -73,7 +73,7 @@ jobs:
name: build-files
path: dist
- name: Synchronize database schema
run: typeorm schema:sync
run: npm run schema:sync
- name: Execute tests suites
run: npm run ci:test
- name: Publish to coveralls.io
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
echo LINKEDIN_CONSUMER_ID = "${{ secrets.LINKEDIN_CONSUMER_ID }}" >> ./dist/env/test.env
echo LINKEDIN_CONSUMER_SECRET = "${{ secrets.LINKEDIN_CONSUMER_SECRET }}" >> ./dist/env/test.env
- name: Install global dependencies
run: npm i typescript@5.3.3 -g && npm i typeorm@0.2.41 -g
run: npm i typescript@5.3.3 -g
- name: Install local dependencies
run: npm i
- name: Compile Typescript files
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
mysql database: 'typeplate_test'
mysql root password: passw0rd
- name: Install global dependencies
run: npm i typescript@5.3.3 -g && npm i typeorm@0.2.41 -g
run: npm i typescript@5.3.3 -g
- name: Install local dependencies
run: npm i
- name: Create dist directory
Expand All @@ -74,7 +74,7 @@ jobs:
name: build-files
path: dist
- name: Synchronize database schema
run: typeorm schema:sync
run: npm run schema:sync
- name: Execute tests suites
run: npm run ci:test
- name: Publish to coveralls.io
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![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)
[![TypeScript](https://img.shields.io/badge/Typescript-5.3.3-informational?logo=typescript&color=2F74C0)](https://www.typescriptlang.org/)
[![Express](https://img.shields.io/badge/Express-4.18.2-informational?logo=express&color=B1B1B1)](https://expressjs.com/)
[![Typeorm](https://img.shields.io/badge/Typeorm-0.2.41-informational?logo=typeorm&color=FFAB00)](https://typeorm.io/#/)
[![Typeorm](https://img.shields.io/badge/Typeorm-0.3.20-informational?logo=typeorm&color=FFAB00)](https://typeorm.io/#/)
[![Mocha](https://img.shields.io/badge/Mocha-10.3.0-informational?logo=mocha&color=8A6343)](https://mochajs.org)

![Github action workflow status](https://github.com/steve-lebleu/typeplate/actions/workflows/build.yml/badge.svg?branch=master)
Expand All @@ -16,6 +16,7 @@
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/). 🤘

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

## > Features

- **Basics**
Expand Down
25 changes: 0 additions & 25 deletions ormconfig.json

This file was deleted.

Loading
Loading