1
0
mirror of https://github.com/microsoft/TypeScript-Node-Starter.git synced 2025-11-08 16:17:37 +00:00
Commit Graph

14 Commits

Author SHA1 Message Date
CarlosK
1098943419 Update packages, add tests, add type casts (#229)
- upgrade to latest packages
- cast `req.user` as `UserDocument`
- update logger to use latest Winston syntax
- disable `no-inferrable-types`, Mongoose use unified topology

Thx to @CarlosSolrac
2019-09-29 12:31:07 +02:00
Peter Blazejewicz
3414ceca45 Migrate TSLint to ESLint. Closes #209
This commit rewrites linting support in the project to be based solely
on the ESLint as advised by the TSLint tool authors:
https://medium.com/palantir/tslint-in-2019-1a144c2317a9

The migration is based on default, recommended settings for TypeScript
in ESLint and is expected to be updated in future to better fit project
goals.

All references has been updated and replaced with relevant ESLint
context:

- dependencies migration from TSLint to ESLint
- VSCode configuration changes to support ESLint exension
- VSCode extensions recommendation changes
- `.eslintrc` and `.eslintignore` configuration files added
- all error level problems in the source files are covered by this
  migration

Thanks!
2019-07-15 23:14:51 +02:00
Peter Blazejewicz
1b71586efa Update source and dependency to work with TypeScript 2.7. Closes #81
The commit brings compatibility with new features introduced in TypeScript 2.7.
The one with most impact on this project is ES6/ECMAScript module compatibility layer
added in 2.7 enabled in tsconfig.json for this project.
This allowed to rewrite source files to use shorted, better imports everywhere and
also use default exports.

To make project more aligned with updated TypeScript all the NPM depenendencies has been
updated making sure that everything works as expected and tests pass.

Thanks for the project!

Thanks!
2018-02-20 22:02:53 +01:00
Irene (XiangYi) Chen
d080f39b86 coverage/chai support and some unit tests
1. added jest coverage support (#64)
2. added chai testing support
3. created new unit tests
2018-01-03 15:12:41 -08:00
Bowden
1f6f2b06aa fix up tests 2017-12-14 15:27:52 -08:00
Bowden
e7e0bb7c7c fix conflicts 2017-12-14 12:41:28 -08:00
Daniel Temme
75d72df881 separate server binding to port from other app config
this seems a bit crude but allows running the tests and having them take
care of setting up the port to use
2017-12-14 11:34:15 -08:00
Daniel Temme
ff6d059921 change tests to not always pass 2017-12-14 11:33:28 -08:00
Alan Agius
4d2b9148cf feat(*): update several dependencies 2017-12-14 11:33:28 -08:00
Alan Agius
feac6cccf7 feat(*): update several dependencies 2017-10-29 14:01:58 +01:00
Daniel Temme
4eb0962a7b separate server binding to port from other app config
this seems a bit crude but allows running the tests and having them take
care of setting up the port to use
2017-08-19 16:12:45 +02:00
Daniel Temme
7b1cae5725 change tests to not always pass 2017-08-09 13:27:36 +02:00
kevguy
82d9b2952c fix: fix lint warnings for test files 2017-07-23 16:51:57 +08:00
Bowden Kelly
6625b87b19 initial commit 2017-05-09 13:28:09 -07:00