Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Jest upgrade #335

Open
wants to merge 287 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
287 commits
Select commit Hold shift + click to select a range
08e570e
add attach debug configuration
Jul 27, 2017
d559bac
fix: word
Jul 27, 2017
49bb4c1
.
Jul 27, 2017
f9eae65
Merge pull request #34 from thanhtdt/master
Jul 31, 2017
c8dbb29
Update build task
lostintangent Jul 31, 2017
5cd9602
Merge pull request #35 from lostintangent/master
Jul 31, 2017
ed149eb
Merge pull request #31 from kevguy/test-fix
Aug 1, 2017
0acc845
change tests to not always pass
dmt Aug 9, 2017
8946ae7
separate server binding to port from other app config
dmt Aug 19, 2017
9d8741e
might as well also add the change for issue #41
dmt Aug 19, 2017
534cd4a
Update README.md
nmchaves Oct 8, 2017
d151ad7
feat(*): update several dependencies
alan-agius4 Oct 29, 2017
4066839
Removed extra "s" in sourceMap compilerOptions
sebastianseilund Nov 18, 2017
0dddad0
Merge pull request #56 from sebastianseilund/sourcemaps-typo
Dec 11, 2017
9c8f67f
Merge pull request #50 from nmchaves/patch-1
Dec 11, 2017
aa75060
Merge pull request #53 from alan-agius4/feature/bump=deps
Dec 12, 2017
7631ad5
Update README.md
nmchaves Oct 8, 2017
f80b88c
feat(*): update several dependencies
alan-agius4 Oct 29, 2017
365b4b7
Removed extra "s" in sourceMap compilerOptions
sebastianseilund Nov 18, 2017
58eb768
change tests to not always pass
dmt Aug 9, 2017
b3eddf3
separate server binding to port from other app config
dmt Aug 19, 2017
3f1c47e
fix conflicts
Dec 14, 2017
98d1641
fix up tests
Dec 14, 2017
ca7c9e5
Merge pull request #38 from dmt/master
Dec 14, 2017
a040f51
update repo field
Dec 14, 2017
7d8b4d1
feat: move jest config to external file
alan-agius4 Dec 15, 2017
5fbf79d
docs: update `jest` section
alan-agius4 Dec 16, 2017
41b9d2d
Support all-typescript tooling with ts-node
peterblazejewicz Dec 16, 2017
67baced
Add VSCode CosmosDB extension recommendation
peterblazejewicz Dec 16, 2017
e8ecc30
made some changes to mongo connection
Dec 19, 2017
40bdb4e
Merge pull request #63 from Microsoft/connectionRework
Dec 19, 2017
fb9a740
add the line to compile dist folder
thatkookooguy Jan 2, 2018
960bacc
Merge pull request #58 from alan-agius4/feature/jest-conf
Jan 3, 2018
3daedf5
Merge pull request #66 from Thatkookooguy/patch-1
Jan 3, 2018
7642c20
update year in footer
Jan 3, 2018
840936a
Merge pull request #61 from peterblazejewicz/feat/cosmodb
Jan 3, 2018
0e36d83
Merge branch 'master' into feat/ts-node
Jan 3, 2018
d56722c
Merge branch 'master' into feat/ts-node
Jan 3, 2018
1436c8f
Merge pull request #60 from peterblazejewicz/feat/ts-node
Jan 3, 2018
f7211d8
updated debug instructions to use only attach config
Jan 3, 2018
0e3e30e
feat: update several dependencies and devDependencies (#59)
alan-agius4 Jan 3, 2018
d1a2c95
changed description of npm start
Jan 3, 2018
0513c92
coverage/chai support and some unit tests
irenexychen Jan 3, 2018
f52c194
Merge pull request #68 from dorongrinstein/master
Jan 3, 2018
f2fdabf
Update view markups for HTML5
peterblazejewicz Jan 4, 2018
1a362f0
Add memo about VSCode suggested extensions to README
peterblazejewicz Jan 4, 2018
5be3f07
Replace Lusca definition file with @types/lusca
peterblazejewicz Jan 4, 2018
3a4f043
Replace passport-local definition file with @types/passport-local
peterblazejewicz Jan 5, 2018
2e54055
Update Bootstrap from 3.3.6 to 3.3.7
peterblazejewicz Jan 5, 2018
d412ef7
Add missing alt attr to non-decorative images
peterblazejewicz Jan 5, 2018
cf83a75
Merge pull request #69 from peterblazejewicz/update/layout
Jan 9, 2018
9e73c01
Merge pull request #70 from peterblazejewicz/update/readme
Jan 9, 2018
545e048
Merge pull request #71 from peterblazejewicz/types/lusca
Jan 9, 2018
0081ef4
Merge pull request #73 from peterblazejewicz/types/passport-local
Jan 9, 2018
5d5c947
Merge pull request #74 from peterblazejewicz/update/bootstrap
Jan 9, 2018
6ebb38a
Merge pull request #75 from peterblazejewicz/fix/alts-attr
Jan 9, 2018
5240093
Update README.md
Jan 9, 2018
b08cec2
Update README.md with MongoDB config
tioback Feb 1, 2018
17980b2
Merge pull request #79 from tioback/tioback-monbodb-config
Feb 10, 2018
b1aefbb
Update source and dependency to work with TypeScript 2.7. Closes #81
peterblazejewicz Feb 20, 2018
dc5a23f
Merge pull request #85 from peterblazejewicz/feat/81
Feb 21, 2018
3680618
Do not store output from coverage tests in repo
peterblazejewicz Feb 21, 2018
d5d41cd
ignoring coverage reports
Feb 21, 2018
d0403de
Update ShellJS version
peterblazejewicz Feb 22, 2018
d15b403
Merge pull request #86 from peterblazejewicz/feat/gitignore
Feb 27, 2018
fc4c2b2
Merge pull request #88 from peterblazejewicz/feat/update-shelljs
Feb 27, 2018
c31ac30
ignoring coverage reports
Feb 21, 2018
3a76607
WIP - add azure instructions
Feb 27, 2018
50a966d
found a better config setup I like
Jan 5, 2018
e3acde1
replaced logging with Winston
Jan 5, 2018
31818ba
fixed github button
Feb 27, 2018
39e6d09
finished README updates for zip deploying to azure app service
Feb 28, 2018
7aad826
removed white space
Feb 28, 2018
0a5b1ba
updated dependency table in README
Feb 28, 2018
6c27740
added image
Feb 28, 2018
101235a
additional README updates
Feb 28, 2018
3b76dc4
more readme updates
Feb 28, 2018
56993dd
fixed some imports
Mar 12, 2018
4d90599
Merge pull request #92 from Microsoft/addAzure
Mar 12, 2018
476b74f
Typo in ts-jest name
davojan Mar 14, 2018
31e140e
Merge pull request #95 from davojan/patch-1
Mar 16, 2018
7ef664c
Merge branch 'master' of https://github.com/Microsoft/TypeScript-Node…
Mar 19, 2018
d6e5409
add google analytics to example site
Mar 19, 2018
e2a7afa
update comment
Mar 19, 2018
52a4f6a
use import instead of require in ts file
Meir017 Mar 21, 2018
431f276
Merge pull request #99 from Meir017/patch-1
Mar 22, 2018
dcc5965
use same signature for model function & ts type
Meir017 Mar 22, 2018
25efc37
Update jQuery content version. Fixes #103
peterblazejewicz Mar 27, 2018
370fbf6
Add missing BS3 glyphicon fonts. Fixes #98
peterblazejewicz Mar 27, 2018
8009911
Merge pull request #104 from peterblazejewicz/fix/103
Apr 4, 2018
685cad2
Merge pull request #105 from peterblazejewicz/fix/98
Apr 4, 2018
6b97068
Merge pull request #100 from Meir017/patch-2
Apr 4, 2018
8b7097d
Add `watch-test` Script
swseverance Apr 11, 2018
a7c66cf
Merge pull request #109 from swseverance/watch-test-command
Apr 17, 2018
72aebf4
Syntax highlighting
theel0ja Apr 19, 2018
6700280
Merge pull request #111 from theel0ja/patch-1
May 2, 2018
5fa12eb
Fix Error: Unknown authentication strategy "local"
ToryTran May 30, 2018
91725ad
Remove duplicate entry in .gitignore
antamb Jul 6, 2018
6206f64
Merge pull request #120 from ToryTran/master
Jul 16, 2018
25ef6a0
Merge pull request #123 from antamb/master
Jul 16, 2018
cb5dbb8
prototype pollution
rap2hpoutre Jul 17, 2018
98d22ef
- packages updated
amodolo Jul 19, 2018
a454fe5
- packages updated
amodolo Jul 19, 2018
640b179
porting bootstrap 4
amodolo Jul 19, 2018
c8a2c2d
Fix typo in README.md
sajadtorkamani Jul 20, 2018
4ea67b5
Merge pull request #128 from sajadtorkamani/doc-fix/typo
DanielRosenwasser Aug 10, 2018
6cbec8a
Change size existence check to default value
KonradLinkowski Aug 20, 2018
a38fbe1
Update README.md
atefBB Aug 26, 2018
dee3398
Changed function expressions declarations from let to const
KonradLinkowski Sep 24, 2018
007f977
Fix typo in README
juliawong Oct 1, 2018
336049b
Improve travis.yml and run on more subsets of node.js versions
pgilad Oct 2, 2018
c6956e4
Fix informal title
jadsonluan Oct 4, 2018
e429f98
Fix typo in readme.md
varundey Oct 5, 2018
4779cb7
Merge pull request #126 from rap2hpoutre/patch-1
Oct 9, 2018
241d9f2
fix typo: Interesting should be Interested.
jarifibrahim Oct 15, 2018
07db822
removed commit not related with porting
amodolo Oct 15, 2018
39fb9f9
fixed content padding on small and medium size
amodolo Oct 15, 2018
9334289
added horizontal line between nav-header and nav items.
amodolo Oct 15, 2018
4858dd6
Merge branch 'master' into bootstrap4
amodolo Oct 15, 2018
18e5916
Add license section to Readme.md
NMVikings Oct 22, 2018
e5d0661
Try fixing ci issue.
seanhealy Oct 30, 2018
1426639
Some grammatical changes to README.md
rhyuen Oct 30, 2018
99c606c
stick to ES6 import instead of CommonJS require
sangheestyle Nov 21, 2018
6bfb859
refactor: remove unused imports
t49tran Dec 3, 2018
44bf255
Add better logging when setting custom env var using .env
Jareechang Mar 16, 2019
46971a8
Merge pull request #162 from seanhealy/ci-fix-perhaps
Mar 25, 2019
af764ec
updated a bunch of dependencies with non-breaking changes
Mar 25, 2019
1a04ebb
update jest
Mar 25, 2019
398d16f
update mongoose to v5
Mar 25, 2019
c5ea744
update typescript
May 10, 2019
09ba471
fix conflicts
May 10, 2019
ed91756
Merge branch 'updateDependencies'
May 10, 2019
9eb90ef
eg2.tslint has been deprecated
tylerbutler May 11, 2019
455ef56
update demo page
May 15, 2019
382fd51
update extensions
May 16, 2019
3916ec5
Update README.md
May 16, 2019
b98a9a6
docs: fix typo
Jason-Cooke Jun 9, 2019
b1aec66
fix(jest): Update deprecated ts-jest config option.
jessestuart Jun 14, 2019
2010e00
Merge pull request #195 from jessestuart/jesse/fix_jest_tsconfig_warning
Jun 19, 2019
fce7d7b
Merge pull request #192 from Jason-Cooke/patch-1
Jun 19, 2019
17ed73b
Merge pull request #188 from tylerbutler/tslint-extension
Jun 19, 2019
705868b
Merge pull request #182 from Jareechang/f-update-local-mongo-env-logging
Jun 19, 2019
168ba52
Merge branch 'master' into refactor-remove-unused-imports
Jun 19, 2019
1ac4ee9
Merge pull request #143 from jadsonluan/minor-grammar-fixes
Jun 19, 2019
77b6dd6
Merge pull request #144 from varundey/patch-1
Jun 19, 2019
f9bf389
Merge pull request #137 from atefBB/patch-1
Jun 19, 2019
e5b7d55
Merge pull request #169 from t49tran/refactor-remove-unused-imports
Jun 19, 2019
3ab858e
Merge pull request #157 from NMVikings/license_in_readme
Jun 19, 2019
51f4d04
Merge pull request #141 from pgilad/master
Jun 19, 2019
ba12be4
Merge pull request #164 from rhyuen/patch-1
Jun 19, 2019
5a405fb
Merge pull request #140 from juliawong/patch-1
Jun 19, 2019
11aadd3
Merge pull request #138 from KonradLinkowski/master
Jun 19, 2019
d8c7727
Merge pull request #135 from KonradLinkowski/patch-1
Jun 19, 2019
393a9db
Merge branch 'master' into master
Jun 19, 2019
6859b03
Merge pull request #151 from jarifibrahim/patch-2
Jun 19, 2019
7f4fa4a
Merge pull request #166 from sangheestyle/master
Jun 19, 2019
79f907e
Run npm audit fix
Jun 19, 2019
36e9e0e
Merge pull request #197 from microsoft/npm_audit_fix
Jun 19, 2019
a1a63ea
Improvements to the README from PR #145
Jun 19, 2019
107db4b
Merge pull request #198 from microsoft/readme_fix
Jun 19, 2019
c37be99
Merge pull request #127 from amodolo/bootstrap4
Jun 19, 2019
04a0baa
Update project dependencies
peterblazejewicz Jun 22, 2019
7d6f781
Update express-validator usage to new version
peterblazejewicz Jun 22, 2019
41be0e5
Update Mongoose initialization
peterblazejewicz Jun 22, 2019
3fe1c0a
Fix TS compiler error
peterblazejewicz Jun 22, 2019
277e9dd
Change Winston logger creation
peterblazejewicz Jun 22, 2019
f9d59b2
Allow to use default ES6 imports
peterblazejewicz Jun 22, 2019
ccf6ad8
Update .env template to use database name
peterblazejewicz Jun 22, 2019
018200a
Merge pull request #200 from peterblazejewicz/update/deps
Jun 23, 2019
f14407d
remove unneccesary env load
Jun 26, 2019
8a37e9a
added link to vscode TSLint extention in readme
deadbaed Jun 29, 2019
99ed257
Merge pull request #202 from x4m3/patch-1
peterblazejewicz Jun 30, 2019
3943aff
Specify NodeJS version as strings in Travis configuration
peterblazejewicz Jul 5, 2019
9ee5600
:memo: remove reference to legacy file. Closes #190
peterblazejewicz Jul 5, 2019
b1dd0f5
Simplify augmented module for express-flash
peterblazejewicz Jul 5, 2019
788ae24
Bump lodash from 4.17.11 to 4.17.13
dependabot[bot] Jul 10, 2019
cceb743
Merge pull request #208 from microsoft/dependabot/npm_and_yarn/lodash…
peterblazejewicz Jul 11, 2019
93d3997
Update NPM lock down file.
peterblazejewicz Jul 14, 2019
98c5b0e
Merge pull request #210 from peterblazejewicz/update-lock-file
peterblazejewicz Jul 15, 2019
a2e090f
Merge pull request #206 from peterblazejewicz/feat/express-flash-types
Jul 15, 2019
db9e1ba
Merge pull request #204 from peterblazejewicz/fix/travis-yml-nodejs-v…
Jul 15, 2019
4a287b6
Merge pull request #205 from peterblazejewicz/fix/190
Jul 15, 2019
af2c813
Migrate TSLint to ESLint. Closes #209
peterblazejewicz Jul 14, 2019
9817bef
Merge pull request #211 from peterblazejewicz/feat/209
peterblazejewicz Jul 16, 2019
a63906c
fix lint error
JipingWang Jul 18, 2019
606ccf0
Merge pull request #212 from JipingWang/patch-2
Jul 18, 2019
c489bde
Fix lint warnings
mathiasvr Jul 31, 2019
1bf5836
Merge pull request #214 from mathiasvr/lint-fix
Jul 31, 2019
4479a64
Fix typo
cbenz Aug 26, 2019
0c8ba2e
Bump eslint-utils from 1.4.0 to 1.4.2
dependabot[bot] Aug 27, 2019
40e7ba9
Merge pull request #223 from cbenz/patch-1
Aug 27, 2019
722ebf8
Merge pull request #224 from microsoft/dependabot/npm_and_yarn/eslint…
Aug 27, 2019
8592e13
Use update indexes access in Mongoose configuration. Fixes #225
peterblazejewicz Sep 3, 2019
ca14e7c
Merge pull request #226 from peterblazejewicz/fix/225
Sep 7, 2019
1409fd7
Update packages, add tests, add type casts (#229)
CarlosSolrac Sep 29, 2019
1e54c07
🎉 ESLint refinements (#235)
GrayStrider Oct 9, 2019
e00a8a5
:books: Updated readme me to instruct to create Mongo db directory un…
memasdeligeorgakis Oct 18, 2019
f052852
:sparkles: Update source code to work with express-validator 6.*. Fix…
wildlyinaccurate Nov 1, 2019
d681211
:arrow_up: Update dependencies (#248)
peterblazejewicz Dec 12, 2019
7ae93c7
:arrow_up: update node-sass (#254)
CarlosKlapp Dec 12, 2019
cb56e37
:arrow_up: upgrade Jest version (#246)
peterblazejewicz Dec 15, 2019
9eaca52
Added SendGrid Username, Password, Port to .env.example and updated d…
bmiddha Jan 3, 2020
6fed24b
Added GitHub Actions Node.js CI Workflow
bmiddha Jan 3, 2020
ac3588f
updated eslint vscode settings
bmiddha Jan 3, 2020
a765176
updated project structure docs
bmiddha Jan 3, 2020
830e71f
addressed PR comments: README heading level
bmiddha Jan 4, 2020
71919c9
addressed PR comments: drop node v8 from ci
bmiddha Jan 4, 2020
003f86e
Merge pull request #262 from bmiddha/eslint_autoFixOnSave_deprecated
Jan 15, 2020
3e423f5
Merge pull request #260 from bmiddha/dotenv_sendgrid_port
Jan 20, 2020
562f13e
dropped macos, windows, and node 10
bmiddha Jan 28, 2020
68d6cf5
Merge pull request #261 from bmiddha/github_actions
Jan 29, 2020
8eac7e9
:heavy_minus_sign: remove unused dependencies. Closes #272
peterblazejewicz Mar 1, 2020
6746fec
Merge pull request #273 from peterblazejewicz/fix/272
Mar 3, 2020
9303f3a
Bump mongoose from 5.7.1 to 5.7.5 (#274)
dependabot[bot] Mar 3, 2020
ddfb7a1
fixing typo. "diretory" -> "directory" (#281)
edjw May 7, 2020
9cbb2da
Update README.md
May 11, 2020
8062cdd
Update README.md
May 11, 2020
97f9daf
Merge pull request #286 from microsoft/orta-patch-1
May 11, 2020
98b5a77
Update README.md (#289)
ReeceLangerock Jun 6, 2020
fee78a9
Sort package.json scripts (#290)
samal-rasmussen Jun 12, 2020
eb028be
Add ability to debug Jest test from VSCode (#291)
diberry Jun 14, 2020
9438503
Fix readme for launch file changes (#292)
diberry Jun 15, 2020
ebb79c0
test
sana-ajani Jun 17, 2020
03becb6
test merge
sana-ajani Jun 17, 2020
197e817
Merge pull request #293 from microsoft:sana-test
sana-ajani Jun 17, 2020
8335d46
Fixed typo in SendGrid comment (#295)
gnurag Jun 30, 2020
dc0aeb2
Feature minor updates (#296)
shanelanan Jul 10, 2020
9acedb5
Using template literals for mongodb error message (#298)
NyashaNziramasanga Jul 13, 2020
5eb4d22
Feature minor updates (#297)
shanelanan Jul 13, 2020
ab7967c
Bump lodash from 4.17.15 to 4.17.19 (#300)
dependabot[bot] Jul 15, 2020
079788a
:art: added JSdocs comment labels for improved code documentation (#301)
NyashaNziramasanga Jul 20, 2020
c2c924d
Bump handlebars from 4.3.4 to 4.7.6 (#308)
dependabot[bot] Sep 4, 2020
02d77b1
Bump tree-kill from 1.2.1 to 1.2.2 (#310)
dependabot[bot] Sep 5, 2020
8c9593c
fix(node-sass): bump version (#309)
peterblazejewicz Sep 7, 2020
f9408d0
Update deps: concurrently (#311) [edited]
ofirgeller Sep 21, 2020
36bf363
feat: use errorHandler middleware only in development env (#313)
pavanjadhaw Dec 8, 2020
66942a8
Bump ini from 1.3.5 to 1.3.7 (#314)
dependabot[bot] Dec 10, 2020
39a8f20
Cleaned up README.md (#315)
wmundev Dec 22, 2020
f5cb2fe
update(ts-jest): update `ts-config` configuratin for 6.27 (#318)
peterblazejewicz Feb 5, 2021
5024163
[ci] update Node version for Travis build (#319)
peterblazejewicz Feb 5, 2021
3acbef7
Fix #305 Update packages to latest (#317)
samal-rasmussen Feb 8, 2021
ef4a264
Update section about hosted MongoDB instance #207 (#326)
klemensz Mar 19, 2021
7c0304b
Upgrade the connect-mongo package to v4 #324 (#325)
klemensz Apr 25, 2021
a1b1e0b
fix(323): wrong reference used (#329)
peterblazejewicz Apr 25, 2021
fdd543a
update(deps): update dependencies (#330)
peterblazejewicz Apr 25, 2021
23c2782
Add .whitesource configuration file
mend-for-github-com[bot] Jun 29, 2021
52c8980
Merge pull request #1 from snowdensb/whitesource/configure
snowdensb Jun 29, 2021
e1be7ba
chore(deps): update dependency lodash to v4.17.21
Jun 29, 2021
8cff115
Merge pull request #13 from snowdensb/whitesource-remediate/lodash-4.x
snowdensb Jun 29, 2021
7aa8bff
Update package.json
snowdensb Jun 29, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@

# Note we depend on NODE_ENV being set to dictate which of the env variables below get loaded at runtime.
# See README for more details.

# Get this from https://mlab.com/home after you've logged in and created a database
MONGODB_URI=mongodb://<mlab_user>:<mlab_password>@<mlab_connection_url>

# This is standard running mongodb locally
MONGODB_URI_LOCAL=mongodb://localhost:27017/<database>

# Put lots of randomness in these
SESSION_SECRET=ashdfjhasdlkjfhalksdjhflak

# Facebook keys - register your app and get yours here: https://developers.facebook.com/
FACEBOOK_ID=754220301289665
FACEBOOK_SECRET=41860e58c256a3d7ad8267d3c1939a4a

# SendGrid Login - create an account with SendGrid here: https://signup.sendgrid.com/
SENDGRID_USER=myusername
SENDGRID_PASSWORD=mysecurepassword

# Application Port - express server listens on this port (default 3000).
PORT=3000
10 changes: 10 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# /node_modules/* in the project root is ignored by default
# build artefacts
dist/*
coverage/*
# data definition files
**/*.d.ts
# 3rd party libs
/src/public/
# custom definition files
/src/types/
20 changes: 20 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"parser": "@typescript-eslint/parser",
"extends": ["plugin:@typescript-eslint/recommended"],
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"rules": {
"semi": ["error", "always"],
"quotes": ["error", "double"],
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-explicit-any": 1,
"@typescript-eslint/no-inferrable-types": [
"warn", {
"ignoreParameters": true
}
],
"@typescript-eslint/no-unused-vars": "warn"
}
}
30 changes: 30 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Node CI

on: [push, pull_request]

jobs:
build-node:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Use Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: Get npm cache directory
id: npm-cache
run: |
echo "::set-output name=dir::$(npm config get cache)"
- uses: actions/cache@v1
with:
path: ${{ steps.npm-cache.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: npm install, build, and test
run: |
npm ci
npm run build --if-present
env:
CI: true
273 changes: 31 additions & 242 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,252 +1,41 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# User-specific files
*.suo
*.user
*.userosscache
*.sln.docstates

# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs

# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
bld/
[Bb]in/
[Oo]bj/
[Ll]og/

# Visual Studio 2015 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/

# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*

# NUNIT
*.VisualState.xml
TestResult.xml

# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c

# DNX
project.lock.json
artifacts/

*_i.c
*_p.c
*_i.h
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
lib-cov
*.seed
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc

# Chutzpah Test files
_Chutzpah*

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opendb
*.opensdf
*.sdf
*.cachefile
*.VC.db
*.VC.VC.opendb

# Visual Studio profiler
*.psess
*.vsp
*.vspx
*.sap

# TFS 2012 Local Workspace
$tf/

# Guidance Automation Toolkit
*.gpState

# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user

# JustCode is a .NET coding add-in
.JustCode

# TeamCity is a build add-in
_TeamCity*

# DotCover is a Code Coverage Tool
*.dotCover

# NCrunch
_NCrunch_*
.*crunch*.local.xml
nCrunchTemp_*

# MightyMoose
*.mm.*
AutoTest.Net/

# Web workbench (sass)
.sass-cache/

# Installshield output folder
[Ee]xpress/

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish/

# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# TODO: Comment the next line if you want to checkin your web deploy settings
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj

# Microsoft Azure Web App publish settings. Comment the next line if you want to
# checkin your Azure Web App publish settings, but sensitive information contained
# in these scripts will be unencrypted
PublishScripts/

# NuGet Packages
*.nupkg
# The packages folder can be ignored because of Package Restore
**/packages/*
# except build/, which is used as an MSBuild target.
!**/packages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/packages/repositories.config
# NuGet v3's project.json files produces more ignoreable files
*.nuget.props
*.nuget.targets

# Microsoft Azure Build Output
csx/
*.build.csdef

# Microsoft Azure Emulator
ecf/
rcf/

# Windows Store app package directories and files
AppPackages/
BundleArtifacts/
Package.StoreAssociation.xml
_pkginfo.txt

# Visual Studio cache files
# files ending in .cache can be ignored
*.[Cc]ache
# but keep track of directories ending in .cache
!*.[Cc]ache/

# Others
ClientBin/
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.pfx
*.publishsettings
node_modules/
orleans.codegen.cs

# Since there are multiple workflows, uncomment next line to ignore bower_components
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
#bower_components/

# RIA/Silverlight projects
Generated_Code/

# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm

# SQL Server files
*.mdf
*.ldf

# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings
*.csv
*.dat
*.out
*.pid
*.gz
*.swp

# Microsoft Fakes
FakesAssemblies/
pids
logs
results
tmp

# GhostDoc plugin setting file
*.GhostDoc.xml
# Build
public/css/main.css

# Node.js Tools for Visual Studio
.ntvs_analysis.dat
# Coverage reports
coverage

# Visual Studio 6 build log
*.plg
# API keys and secrets
.env

# Visual Studio 6 workspace options file
*.opt
# Dependency directory
node_modules
bower_components

# Visual Studio LightSwitch build output
**/*.HTMLClient/GeneratedArtifacts
**/*.DesktopClient/GeneratedArtifacts
**/*.DesktopClient/ModelManifest.xml
**/*.Server/GeneratedArtifacts
**/*.Server/ModelManifest.xml
_Pvt_Extensions
# Editors
.idea
*.iml

# Paket dependency manager
.paket/paket.exe
paket-files/
# OS metadata
.DS_Store
Thumbs.db

# FAKE - F# Make
.fake/
# Ignore built ts files
dist/**/*

# JetBrains Rider
.idea/
*.sln.iml
# ignore yarn.lock
yarn.lock
13 changes: 13 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
sudo: false
language: node_js
node_js:
- 12
- 14
services:
- mongodb
cache:
directories:
- node_modules
script:
- npm run build
- npm run test
3 changes: 3 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["dbaeumer.vscode-eslint", "ms-azuretools.vscode-cosmosdb"]
}
Loading