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

257 Commits

Author SHA1 Message Date
Orta
8d286b0ecc Update README.md 2020-05-10 21:56:49 -04:00
Orta
d52eb16908 Update README.md 2020-05-10 21:53:51 -04:00
Ed Johnson-Williams
0cd802de3b fixing typo. "diretory" -> "directory" (#281)
Thx to @edjw
2020-05-07 08:35:09 +02:00
dependabot[bot]
ca61fc92e0 Bump mongoose from 5.7.1 to 5.7.5 (#274)
Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.7.1 to 5.7.5.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md)
- [Commits](https://github.com/Automattic/mongoose/compare/5.7.1...5.7.5)

Signed-off-by: dependabot[bot] <support@github.com>
2020-03-03 21:11:22 +01:00
Orta
9a3c836652 Merge pull request #273 from peterblazejewicz/fix/272
 remove unused dependencies. Closes #272
2020-03-03 08:40:16 -05:00
Piotr Błażejewicz (Peter Blazejewicz)
1a668a896a remove unused dependencies. Closes #272
- `request`
- `request-promise`

`request` first appeared as part of initial commit but it seems to be
left-over from non commited implementation:
https://git.io/JvgNV
`request-promise` was added in different PR but it seems without related
code:
https://git.io/JvgN6

/cc @naknode

Thanks!
2020-03-01 09:23:13 +01:00
Orta
f909366cf7 Merge pull request #261 from bmiddha/github_actions
Added GitHub Actions CI Workflow
2020-01-29 13:46:33 -05:00
Bharat Middha
c1c30ff9d4 dropped macos, windows, and node 10 2020-01-28 10:47:15 -06:00
Orta
23a445448e Merge pull request #260 from bmiddha/dotenv_sendgrid_port
Added SendGrid Username, Password, Port to .env.example
2020-01-20 09:17:49 -05:00
Orta
f20fe0c8c9 Merge pull request #262 from bmiddha/eslint_autoFixOnSave_deprecated
vscode-eslint v2 settings patch
2020-01-15 09:23:41 -05:00
Bharat Middha
7c3fed293a addressed PR comments: drop node v8 from ci 2020-01-04 11:15:45 -06:00
Bharat Middha
cd66623f8c addressed PR comments: README heading level 2020-01-04 11:12:48 -06:00
Bharat Middha
4824e08b54 updated project structure docs 2020-01-03 22:16:49 -06:00
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