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

294 Commits

Author SHA1 Message Date
Bharat Middha
2f0b2a149f updated eslint vscode settings 2020-01-03 17:00:29 -06:00
Bharat Middha
afa9401ef1 Added GitHub Actions Node.js CI Workflow 2020-01-03 15:45:09 -06:00
Bharat Middha
c76137838b Added SendGrid Username, Password, Port to .env.example and updated documentation in README.md 2020-01-03 15:16:58 -06:00
Piotr Błażejewicz (Peter Blazejewicz)
0179afee0e ⬆️ upgrade Jest version (#246)
This updates Jest and its dependencies, removing the warning about the left-pad module deprecation.

Thanks!
2019-12-15 21:27:51 +01:00
CarlosKlapp
1a84836fbd ⬆️ update node-sass (#254)
Update node-sass to enable it to compile on the Mac when using Node v13.2.0

Thanks to @CarlosKlapp
2019-12-12 20:59:09 +01:00
Piotr Błażejewicz (Peter Blazejewicz)
fd2d048ee2 ⬆️ Update dependencies (#248)
- remove @types/dotenv
- dotenv 8.1.0 > 8.2.0
- @types/connect-mongo 0.0.43 > 3.0.0
- concurrently 4.1.2 > 5.0.0

Thanks!
2019-12-12 20:57:16 +01:00
Joseph Wynn
d9889cac09 Update source code to work with express-validator 6.*. Fixes #231
Thanks to @wildlyinaccurate!
2019-11-01 20:24:41 +01:00
Memas Deligeorgakis
d07240fbac 📚 Updated readme me to instruct to create Mongo db directory under the Mac OS
Document use of the home directory on macOS 10.15 and above
Thanks to @memasdeligeorgakis
2019-10-18 23:15:54 +02:00
GrayStrider
69124f2765 🎉 ESLint refinements (#235)
ESLint, no any, no inferrable types, unused vars - warning

thx to @GrayStrider
2019-10-09 22:47:08 +02:00
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
Orta
53ccb59f93 Merge pull request #226 from peterblazejewicz/fix/225
Use update indexes access in Mongoose configuration. Fixes #225
2019-09-07 09:07:04 +02:00
Peter Blazejewicz
b36a4c0fff Use update indexes access in Mongoose configuration. Fixes #225
See: https://mongoosejs.com/docs/deprecations.html#ensureindex

Thanks!
2019-09-03 21:06:53 +02:00
Orta
f01569a301 Merge pull request #224 from microsoft/dependabot/npm_and_yarn/eslint-utils-1.4.2
Bump eslint-utils from 1.4.0 to 1.4.2
2019-08-27 10:56:17 -03:00
Orta
122ee0a357 Merge pull request #223 from cbenz/patch-1
Fix typo
2019-08-27 10:55:14 -03:00
dependabot[bot]
f611f34c9e Bump eslint-utils from 1.4.0 to 1.4.2
Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.4.0 to 1.4.2.
- [Release notes](https://github.com/mysticatea/eslint-utils/releases)
- [Commits](https://github.com/mysticatea/eslint-utils/compare/v1.4.0...v1.4.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-08-27 07:29:14 +00:00
Christophe Benz
09c8ad5019 Fix typo 2019-08-26 10:38:20 +02:00
Orta
24b8364504 Merge pull request #214 from mathiasvr/lint-fix
Fix lint warnings
2019-07-31 12:41:50 -04:00
Mathias Rasmussen
3e2f6c0c51 Fix lint warnings 2019-07-31 12:34:57 +02:00
Orta
352fb08c85 Merge pull request #212 from JipingWang/patch-2
fix lint error
2019-07-18 11:55:15 -04:00
Jay
1827128540 fix lint error
fix lint error
```
PS> npm run lint                                                                                                        
> express-typescript-starter@0.1.0 lint C:\Users\JipingWang\source\repos\api
> tsc --noEmit && eslint '*/**/*.{js,ts}' --quiet --fix


Oops! Something went wrong! :(

ESLint: 5.16.0.
No files matching the pattern "'*/**/*.{js,ts}'" were found.
Please check for typing mistakes in the pattern.

npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! express-typescript-starter@0.1.0 lint: `tsc --noEmit && eslint '*/**/*.{js,ts}' --quiet --fix`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the express-typescript-starter@0.1.0 lint script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\JipingWang\AppData\Roaming\npm-cache\_logs\2019-07-18T15_26_05_580Z-debug.log
```
2019-07-18 11:33:31 -04:00
Piotr Błażejewicz (Peter Blazejewicz)
f0e7cfbad5 Merge pull request #211 from peterblazejewicz/feat/209
 Migrate TSLint to ESLint. Closes #209
2019-07-16 21:54:01 +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
Orta
f90451ac0e Merge pull request #205 from peterblazejewicz/fix/190
📝 remove reference to legacy file. Closes #190
2019-07-15 17:09:35 -04:00
Orta
093e059c3f Merge pull request #204 from peterblazejewicz/fix/travis-yml-nodejs-versions
Specify NodeJS version as strings in Travis configuration
2019-07-15 17:09:19 -04:00
Orta
ae93767698 Merge pull request #206 from peterblazejewicz/feat/express-flash-types
Simplify augmented module for express-flash
2019-07-15 17:08:47 -04:00
Piotr Błażejewicz (Peter Blazejewicz)
d66765cb67 Merge pull request #210 from peterblazejewicz/update-lock-file
Update NPM lock down file.
2019-07-15 20:16:26 +02:00
Peter Blazejewicz
0825551316 Update NPM lock down file.
This removes NPM audit warnings which seems to be raised by the older
version of the lock file.
This one was regenerated with NPM v6.9.0 (Node v10.*)

Thanks!
2019-07-14 21:55:27 +02:00
Piotr Błażejewicz (Peter Blazejewicz)
78ab72f52a Merge pull request #208 from microsoft/dependabot/npm_and_yarn/lodash-4.17.13
Bump lodash from 4.17.11 to 4.17.13

#dependabot
2019-07-11 08:25:34 +02:00
dependabot[bot]
120d79f4ee Bump lodash from 4.17.11 to 4.17.13
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.13.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.13)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-10 22:59:20 +00:00
Peter Blazejewicz
4b0df406a4 Simplify augmented module for express-flash
There is existing @types definition for express-flash. Let's use it and
just augment a method required by the existing code to please compiler.

Thanks!
2019-07-05 23:29:10 +02:00
Peter Blazejewicz
b06d11e379 📝 remove reference to legacy file. Closes #190
The configuration for Jest tests with support fo the TypeScript files
are now handled by Jest configuration file.

Thanks!
2019-07-05 22:50:01 +02:00
Peter Blazejewicz
1b1fa93cb3 Specify NodeJS version as strings in Travis configuration
This fixes the YAML related extensions errors in VSCode, as the
schema for .travis.yml requires a quoted strings here:
https://docs.travis-ci.com/user/languages/javascript-with-nodejs/#specifying-nodejs-versions

Thanks!
2019-07-05 22:27:00 +02:00
Piotr Błażejewicz (Peter Blazejewicz)
0a30661223 Merge pull request #202 from x4m3/patch-1
Added link to vscode TSLint extention in readme

Thanks to @x4m3
2019-06-30 09:34:35 +02:00
Philippe Loctaux
828ee59519 added link to vscode TSLint extention in readme 2019-06-29 17:00:50 +02:00
Bowden Kelly
ccedf0558f remove unneccesary env load 2019-06-26 16:47:15 -07:00
Orta
7a381348e3 Merge pull request #200 from peterblazejewicz/update/deps
Update project dependencies
2019-06-22 19:16:29 -07:00
Peter Blazejewicz
4cbd65c13f Update .env template to use database name 2019-06-22 22:38:59 +02:00
Peter Blazejewicz
573cc3b756 Allow to use default ES6 imports 2019-06-22 22:25:12 +02:00
Peter Blazejewicz
01454454c7 Change Winston logger creation 2019-06-22 22:24:50 +02:00
Peter Blazejewicz
5a11f7e381 Fix TS compiler error 2019-06-22 22:24:50 +02:00
Peter Blazejewicz
284a8ddddf Update Mongoose initialization 2019-06-22 22:24:50 +02:00
Peter Blazejewicz
b69a12c969 Update express-validator usage to new version 2019-06-22 22:24:50 +02:00
Peter Blazejewicz
d9f173eb66 Update project dependencies 2019-06-22 22:23:04 +02:00
Orta
fb64f483c5 Merge pull request #127 from amodolo/bootstrap4
Upgrade to Bootstrap 4
2019-06-19 16:17:37 -07:00
Orta
7f12e601bf Merge pull request #198 from microsoft/readme_fix
Improvements to the README from PR #145
2019-06-19 15:38:44 -07:00
Orta Therox
3504e8a6a5 Improvements to the README from PR #145 2019-06-19 15:27:20 -07:00
Orta
4fbdcd053a Merge pull request #197 from microsoft/npm_audit_fix
Run npm audit fix
2019-06-19 15:21:25 -07:00
Orta Therox
b05ce00822 Run npm audit fix 2019-06-19 15:10:38 -07:00
Orta
4765dcc715 Merge pull request #166 from sangheestyle/master
stick to ES6 import instead of CommonJS require
2019-06-19 14:59:51 -07:00
Orta
37df3a7454 Merge pull request #151 from jarifibrahim/patch-2
fix typo: Interesting should be Interested.
2019-06-19 14:57:02 -07:00