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

Fixes #360

Merged
merged 297 commits into from
Jun 17, 2022
Merged

Fixes #360

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
297 commits
Select commit Hold shift + click to select a range
29c7554
Update README.md
nmchaves Oct 8, 2017
5689081
feat(*): update several dependencies
alan-agius4 Oct 29, 2017
48e39f4
Removed extra "s" in sourceMap compilerOptions
sebastianseilund Nov 18, 2017
1e500bb
Merge pull request #56 from sebastianseilund/sourcemaps-typo
Dec 11, 2017
d10b2c6
Merge pull request #50 from nmchaves/patch-1
Dec 11, 2017
5f7452f
Merge pull request #53 from alan-agius4/feature/bump=deps
Dec 12, 2017
9142b53
Update README.md
nmchaves Oct 8, 2017
ee11ded
feat(*): update several dependencies
alan-agius4 Oct 29, 2017
10f87d2
Removed extra "s" in sourceMap compilerOptions
sebastianseilund Nov 18, 2017
0d5c08d
change tests to not always pass
dmt Aug 9, 2017
b230be7
separate server binding to port from other app config
dmt Aug 19, 2017
81fedb1
fix conflicts
Dec 14, 2017
3e6d413
fix up tests
Dec 14, 2017
0c624f2
Merge pull request #38 from dmt/master
Dec 14, 2017
b8b9638
update repo field
Dec 14, 2017
e83edfd
feat: move jest config to external file
alan-agius4 Dec 15, 2017
3063f44
docs: update `jest` section
alan-agius4 Dec 16, 2017
2724478
Support all-typescript tooling with ts-node
peterblazejewicz Dec 16, 2017
5667edd
Add VSCode CosmosDB extension recommendation
peterblazejewicz Dec 16, 2017
ffd44de
made some changes to mongo connection
Dec 19, 2017
06ea57c
Merge pull request #63 from Microsoft/connectionRework
Dec 19, 2017
be4ee46
add the line to compile dist folder
thatkookooguy Jan 2, 2018
84d365d
Merge pull request #58 from alan-agius4/feature/jest-conf
Jan 3, 2018
9bfa8d7
Merge pull request #66 from Thatkookooguy/patch-1
Jan 3, 2018
ca69bb8
update year in footer
Jan 3, 2018
9646bd1
Merge pull request #61 from peterblazejewicz/feat/cosmodb
Jan 3, 2018
fccb7a4
Merge branch 'master' into feat/ts-node
Jan 3, 2018
6d367e7
Merge branch 'master' into feat/ts-node
Jan 3, 2018
6d3b956
Merge pull request #60 from peterblazejewicz/feat/ts-node
Jan 3, 2018
20afa33
updated debug instructions to use only attach config
Jan 3, 2018
ebdb02a
feat: update several dependencies and devDependencies (#59)
alan-agius4 Jan 3, 2018
e1d5c66
changed description of npm start
Jan 3, 2018
a0efc23
coverage/chai support and some unit tests
irenexychen Jan 3, 2018
8ba2ccc
Merge pull request #68 from dorongrinstein/master
Jan 3, 2018
c38313d
Update view markups for HTML5
peterblazejewicz Jan 4, 2018
296cf01
Add memo about VSCode suggested extensions to README
peterblazejewicz Jan 4, 2018
a603e0e
Replace Lusca definition file with @types/lusca
peterblazejewicz Jan 4, 2018
5416e28
Replace passport-local definition file with @types/passport-local
peterblazejewicz Jan 5, 2018
06a35ef
Update Bootstrap from 3.3.6 to 3.3.7
peterblazejewicz Jan 5, 2018
7ac0db2
Add missing alt attr to non-decorative images
peterblazejewicz Jan 5, 2018
72bfafe
Merge pull request #69 from peterblazejewicz/update/layout
Jan 9, 2018
aba9e58
Merge pull request #70 from peterblazejewicz/update/readme
Jan 9, 2018
2f28bc4
Merge pull request #71 from peterblazejewicz/types/lusca
Jan 9, 2018
6cfe6b4
Merge pull request #73 from peterblazejewicz/types/passport-local
Jan 9, 2018
8c5c8ec
Merge pull request #74 from peterblazejewicz/update/bootstrap
Jan 9, 2018
1231364
Merge pull request #75 from peterblazejewicz/fix/alts-attr
Jan 9, 2018
463f54a
Update README.md
Jan 9, 2018
19d5e89
Update README.md with MongoDB config
tioback Feb 1, 2018
aaccd4a
Merge pull request #79 from tioback/tioback-monbodb-config
Feb 10, 2018
77bcb55
Update source and dependency to work with TypeScript 2.7. Closes #81
peterblazejewicz Feb 20, 2018
8bc23e8
Merge pull request #85 from peterblazejewicz/feat/81
Feb 21, 2018
a6d128f
Do not store output from coverage tests in repo
peterblazejewicz Feb 21, 2018
bab2af9
ignoring coverage reports
Feb 21, 2018
a599af2
Update ShellJS version
peterblazejewicz Feb 22, 2018
c08fe9d
Merge pull request #86 from peterblazejewicz/feat/gitignore
Feb 27, 2018
1ff2d99
Merge pull request #88 from peterblazejewicz/feat/update-shelljs
Feb 27, 2018
19c7d56
ignoring coverage reports
Feb 21, 2018
cbad9af
WIP - add azure instructions
Feb 27, 2018
7cca51d
found a better config setup I like
Jan 5, 2018
e2b4512
replaced logging with Winston
Jan 5, 2018
937d80d
fixed github button
Feb 27, 2018
49abd8c
finished README updates for zip deploying to azure app service
Feb 28, 2018
f0e624f
removed white space
Feb 28, 2018
b7ec87c
updated dependency table in README
Feb 28, 2018
565020d
added image
Feb 28, 2018
b2802f3
additional README updates
Feb 28, 2018
a5c34c3
more readme updates
Feb 28, 2018
a1830b2
fixed some imports
Mar 12, 2018
ce633d8
Merge pull request #92 from Microsoft/addAzure
Mar 12, 2018
ff5c63e
Typo in ts-jest name
davojan Mar 14, 2018
f76abb2
Merge pull request #95 from davojan/patch-1
Mar 16, 2018
197dc2e
Merge branch 'master' of https://github.com/Microsoft/TypeScript-Node…
Mar 19, 2018
a6a40be
add google analytics to example site
Mar 19, 2018
799daf1
update comment
Mar 19, 2018
3270650
use import instead of require in ts file
Meir017 Mar 21, 2018
19775e8
Merge pull request #99 from Meir017/patch-1
Mar 22, 2018
3a5a910
use same signature for model function & ts type
Meir017 Mar 22, 2018
23c019c
Update jQuery content version. Fixes #103
peterblazejewicz Mar 27, 2018
73cfa65
Add missing BS3 glyphicon fonts. Fixes #98
peterblazejewicz Mar 27, 2018
babc4b1
Merge pull request #104 from peterblazejewicz/fix/103
Apr 4, 2018
fb27dea
Merge pull request #105 from peterblazejewicz/fix/98
Apr 4, 2018
25f2c10
Merge pull request #100 from Meir017/patch-2
Apr 4, 2018
55245ed
Add `watch-test` Script
swseverance Apr 11, 2018
088ca60
Merge pull request #109 from swseverance/watch-test-command
Apr 17, 2018
5022bab
Syntax highlighting
theel0ja Apr 19, 2018
1ce4c4e
Merge pull request #111 from theel0ja/patch-1
May 2, 2018
394e8e3
Fix Error: Unknown authentication strategy "local"
ToryTran May 30, 2018
776577a
Remove duplicate entry in .gitignore
antamb Jul 6, 2018
ce5f575
Merge pull request #120 from ToryTran/master
Jul 16, 2018
f5ce3a7
Merge pull request #123 from antamb/master
Jul 16, 2018
2114005
prototype pollution
rap2hpoutre Jul 17, 2018
c67bac5
- packages updated
amodolo Jul 19, 2018
52da02a
- packages updated
amodolo Jul 19, 2018
ee0f39a
porting bootstrap 4
amodolo Jul 19, 2018
79d8969
Fix typo in README.md
sajadtorkamani Jul 20, 2018
201e3f3
Merge pull request #128 from sajadtorkamani/doc-fix/typo
DanielRosenwasser Aug 10, 2018
2ee8a9b
Change size existence check to default value
KonradLinkowski Aug 20, 2018
6138394
Update README.md
atefBB Aug 26, 2018
5581f3e
Changed function expressions declarations from let to const
KonradLinkowski Sep 24, 2018
e5b4d08
Fix typo in README
juliawong Oct 1, 2018
83f4890
Improve travis.yml and run on more subsets of node.js versions
pgilad Oct 2, 2018
c3930d7
Fix informal title
jadsonluan Oct 4, 2018
09f17f2
Fix typo in readme.md
varundey Oct 5, 2018
49d865b
Merge pull request #126 from rap2hpoutre/patch-1
Oct 9, 2018
2056a3d
fix typo: Interesting should be Interested.
jarifibrahim Oct 15, 2018
fc05a95
removed commit not related with porting
amodolo Oct 15, 2018
1c2fcf0
fixed content padding on small and medium size
amodolo Oct 15, 2018
b7b16a4
added horizontal line between nav-header and nav items.
amodolo Oct 15, 2018
96df559
Merge branch 'master' into bootstrap4
amodolo Oct 15, 2018
0ea58ac
Add license section to Readme.md
NMVikings Oct 22, 2018
8fef331
Try fixing ci issue.
seanhealy Oct 30, 2018
63423f2
Some grammatical changes to README.md
rhyuen Oct 30, 2018
bc69dfe
stick to ES6 import instead of CommonJS require
sangheestyle Nov 21, 2018
4f22eb1
refactor: remove unused imports
t49tran Dec 3, 2018
40d103e
Add better logging when setting custom env var using .env
Jareechang Mar 16, 2019
0e0f4fd
Merge pull request #162 from seanhealy/ci-fix-perhaps
Mar 25, 2019
12ad5fc
updated a bunch of dependencies with non-breaking changes
Mar 25, 2019
a678a51
update jest
Mar 25, 2019
2b00128
update mongoose to v5
Mar 25, 2019
55b604f
update typescript
May 10, 2019
3b87661
fix conflicts
May 10, 2019
5d3c999
Merge branch 'updateDependencies'
May 10, 2019
0c92ff5
eg2.tslint has been deprecated
tylerbutler May 11, 2019
1971a59
update demo page
May 15, 2019
3c937ec
update extensions
May 16, 2019
a154186
Update README.md
May 16, 2019
1fefaee
docs: fix typo
Jason-Cooke Jun 9, 2019
2705180
fix(jest): Update deprecated ts-jest config option.
jessestuart Jun 14, 2019
c1fe1fb
Merge pull request #195 from jessestuart/jesse/fix_jest_tsconfig_warning
Jun 19, 2019
7d98bbf
Merge pull request #192 from Jason-Cooke/patch-1
Jun 19, 2019
ec45fa5
Merge pull request #188 from tylerbutler/tslint-extension
Jun 19, 2019
88c90f1
Merge pull request #182 from Jareechang/f-update-local-mongo-env-logging
Jun 19, 2019
c41705f
Merge branch 'master' into refactor-remove-unused-imports
Jun 19, 2019
93f05d5
Merge pull request #143 from jadsonluan/minor-grammar-fixes
Jun 19, 2019
952191f
Merge pull request #144 from varundey/patch-1
Jun 19, 2019
bb5d0cc
Merge pull request #137 from atefBB/patch-1
Jun 19, 2019
93f81ba
Merge pull request #169 from t49tran/refactor-remove-unused-imports
Jun 19, 2019
82eaf98
Merge pull request #157 from NMVikings/license_in_readme
Jun 19, 2019
cf88267
Merge pull request #141 from pgilad/master
Jun 19, 2019
2fccb24
Merge pull request #164 from rhyuen/patch-1
Jun 19, 2019
de78a5f
Merge pull request #140 from juliawong/patch-1
Jun 19, 2019
c512f49
Merge pull request #138 from KonradLinkowski/master
Jun 19, 2019
501eaf3
Merge pull request #135 from KonradLinkowski/patch-1
Jun 19, 2019
e099aa7
Merge branch 'master' into master
Jun 19, 2019
46336f3
Merge pull request #151 from jarifibrahim/patch-2
Jun 19, 2019
7469d9c
Merge pull request #166 from sangheestyle/master
Jun 19, 2019
8550db7
Run npm audit fix
Jun 19, 2019
5af14be
Merge pull request #197 from microsoft/npm_audit_fix
Jun 19, 2019
8eabc4b
Improvements to the README from PR #145
Jun 19, 2019
f4753ab
Merge pull request #198 from microsoft/readme_fix
Jun 19, 2019
ecd0e6f
Merge pull request #127 from amodolo/bootstrap4
Jun 19, 2019
fa4c132
Update project dependencies
peterblazejewicz Jun 22, 2019
82b882f
Update express-validator usage to new version
peterblazejewicz Jun 22, 2019
d64e130
Update Mongoose initialization
peterblazejewicz Jun 22, 2019
ba0cf9a
Fix TS compiler error
peterblazejewicz Jun 22, 2019
b5d4a60
Change Winston logger creation
peterblazejewicz Jun 22, 2019
13044f6
Allow to use default ES6 imports
peterblazejewicz Jun 22, 2019
b0d26d2
Update .env template to use database name
peterblazejewicz Jun 22, 2019
9783aea
Merge pull request #200 from peterblazejewicz/update/deps
Jun 23, 2019
409be92
remove unneccesary env load
Jun 26, 2019
b36a819
added link to vscode TSLint extention in readme
deadbaed Jun 29, 2019
792c6cc
Merge pull request #202 from x4m3/patch-1
peterblazejewicz Jun 30, 2019
318d8ac
Specify NodeJS version as strings in Travis configuration
peterblazejewicz Jul 5, 2019
ea0f1f7
:memo: remove reference to legacy file. Closes #190
peterblazejewicz Jul 5, 2019
e43b243
Simplify augmented module for express-flash
peterblazejewicz Jul 5, 2019
868a30a
Bump lodash from 4.17.11 to 4.17.13
dependabot[bot] Jul 10, 2019
3a17037
Merge pull request #208 from microsoft/dependabot/npm_and_yarn/lodash…
peterblazejewicz Jul 11, 2019
19246df
Update NPM lock down file.
peterblazejewicz Jul 14, 2019
6b2b53c
Merge pull request #210 from peterblazejewicz/update-lock-file
peterblazejewicz Jul 15, 2019
7edeb75
Merge pull request #206 from peterblazejewicz/feat/express-flash-types
Jul 15, 2019
c24eea9
Merge pull request #204 from peterblazejewicz/fix/travis-yml-nodejs-v…
Jul 15, 2019
0262194
Merge pull request #205 from peterblazejewicz/fix/190
Jul 15, 2019
b78a0e0
Migrate TSLint to ESLint. Closes #209
peterblazejewicz Jul 14, 2019
98517eb
Merge pull request #211 from peterblazejewicz/feat/209
peterblazejewicz Jul 16, 2019
84cea05
fix lint error
JipingWang Jul 18, 2019
1f6e9b1
Merge pull request #212 from JipingWang/patch-2
Jul 18, 2019
7287e6c
Fix lint warnings
mathiasvr Jul 31, 2019
f1a5211
Merge pull request #214 from mathiasvr/lint-fix
Jul 31, 2019
d6f802e
Fix typo
cbenz Aug 26, 2019
2f3cb18
Bump eslint-utils from 1.4.0 to 1.4.2
dependabot[bot] Aug 27, 2019
7df87aa
Merge pull request #223 from cbenz/patch-1
Aug 27, 2019
9e526e2
Merge pull request #224 from microsoft/dependabot/npm_and_yarn/eslint…
Aug 27, 2019
71d7472
Use update indexes access in Mongoose configuration. Fixes #225
peterblazejewicz Sep 3, 2019
03e3b94
Merge pull request #226 from peterblazejewicz/fix/225
Sep 7, 2019
58d0dbe
Update packages, add tests, add type casts (#229)
CarlosSolrac Sep 29, 2019
08c309c
🎉 ESLint refinements (#235)
GrayStrider Oct 9, 2019
659258d
:books: Updated readme me to instruct to create Mongo db directory un…
memasdeligeorgakis Oct 18, 2019
c61ed6c
:sparkles: Update source code to work with express-validator 6.*. Fix…
wildlyinaccurate Nov 1, 2019
7b56097
:arrow_up: Update dependencies (#248)
peterblazejewicz Dec 12, 2019
afaee7a
:arrow_up: update node-sass (#254)
CarlosKlapp Dec 12, 2019
618c30f
:arrow_up: upgrade Jest version (#246)
peterblazejewicz Dec 15, 2019
5fc1a05
Added SendGrid Username, Password, Port to .env.example and updated d…
bmiddha Jan 3, 2020
26e0ab9
Added GitHub Actions Node.js CI Workflow
bmiddha Jan 3, 2020
2c1ea40
updated eslint vscode settings
bmiddha Jan 3, 2020
9e9f27d
updated project structure docs
bmiddha Jan 3, 2020
fb7f127
addressed PR comments: README heading level
bmiddha Jan 4, 2020
83a904a
addressed PR comments: drop node v8 from ci
bmiddha Jan 4, 2020
5cd07aa
Merge pull request #262 from bmiddha/eslint_autoFixOnSave_deprecated
Jan 15, 2020
be0024d
Merge pull request #260 from bmiddha/dotenv_sendgrid_port
Jan 20, 2020
3dbfe3e
dropped macos, windows, and node 10
bmiddha Jan 28, 2020
7048118
Merge pull request #261 from bmiddha/github_actions
Jan 29, 2020
27cdf43
:heavy_minus_sign: remove unused dependencies. Closes #272
peterblazejewicz Mar 1, 2020
846c598
Merge pull request #273 from peterblazejewicz/fix/272
Mar 3, 2020
50e621d
Bump mongoose from 5.7.1 to 5.7.5 (#274)
dependabot[bot] Mar 3, 2020
7051c48
fixing typo. "diretory" -> "directory" (#281)
edjw May 7, 2020
3caa1fc
Update README.md
May 11, 2020
a1c57d9
Update README.md
May 11, 2020
90f5ef1
Merge pull request #286 from microsoft/orta-patch-1
May 11, 2020
33e2a8d
Update README.md (#289)
ReeceLangerock Jun 6, 2020
e8a9e0b
Sort package.json scripts (#290)
samal-rasmussen Jun 12, 2020
725d51e
Add ability to debug Jest test from VSCode (#291)
diberry Jun 14, 2020
f848c83
Fix readme for launch file changes (#292)
diberry Jun 15, 2020
ef40a39
test
sana-ajani Jun 17, 2020
e29a777
test merge
sana-ajani Jun 17, 2020
8c6e1e7
Merge pull request #293 from microsoft:sana-test
sana-ajani Jun 17, 2020
e92a6e6
Fixed typo in SendGrid comment (#295)
gnurag Jun 30, 2020
2d777c6
Feature minor updates (#296)
shanelanan Jul 10, 2020
954a8cb
Using template literals for mongodb error message (#298)
NyashaNziramasanga Jul 13, 2020
0787e8b
Feature minor updates (#297)
shanelanan Jul 13, 2020
bccf919
Bump lodash from 4.17.15 to 4.17.19 (#300)
dependabot[bot] Jul 15, 2020
eecdba3
:art: added JSdocs comment labels for improved code documentation (#301)
NyashaNziramasanga Jul 20, 2020
810e35c
Bump handlebars from 4.3.4 to 4.7.6 (#308)
dependabot[bot] Sep 4, 2020
f64cb31
Bump tree-kill from 1.2.1 to 1.2.2 (#310)
dependabot[bot] Sep 5, 2020
27f1a17
fix(node-sass): bump version (#309)
peterblazejewicz Sep 7, 2020
bfcee0a
Update deps: concurrently (#311) [edited]
ofirgeller Sep 21, 2020
f4bda50
feat: use errorHandler middleware only in development env (#313)
pavanjadhaw Dec 8, 2020
e4df595
Bump ini from 1.3.5 to 1.3.7 (#314)
dependabot[bot] Dec 10, 2020
83a9dc1
Cleaned up README.md (#315)
wmundev Dec 22, 2020
774e19c
update(ts-jest): update `ts-config` configuratin for 6.27 (#318)
peterblazejewicz Feb 5, 2021
060ad96
[ci] update Node version for Travis build (#319)
peterblazejewicz Feb 5, 2021
5c97faa
Fix #305 Update packages to latest (#317)
samal-rasmussen Feb 8, 2021
79ac14c
Update section about hosted MongoDB instance #207 (#326)
klemensz Mar 19, 2021
1577826
Upgrade the connect-mongo package to v4 #324 (#325)
klemensz Apr 25, 2021
5ec8257
fix(323): wrong reference used (#329)
peterblazejewicz Apr 25, 2021
918f4ea
update(deps): update dependencies (#330)
peterblazejewicz Apr 25, 2021
7bb5c30
Fix outdated dependencies and NPM audit warnings (#334)
peterblazejewicz Aug 16, 2021
c3f2c51
Bump path-parse from 1.0.6 to 1.0.7 (#341)
dependabot[bot] Aug 16, 2021
0c29251
Bump color-string from 1.5.4 to 1.6.0 (#342)
dependabot[bot] Aug 16, 2021
a03933d
Update README.md
Sep 14, 2021
81b618a
Bump tmpl from 1.0.4 to 1.0.5 (#345)
dependabot[bot] Sep 20, 2021
08a3c15
Bump validator from 13.5.2 to 13.7.0 (#347)
dependabot[bot] Nov 3, 2021
c6ec846
Bump passport-oauth2 from 1.5.0 to 1.6.1 (#348)
dependabot[bot] Nov 3, 2021
c5caa1b
Moved @types/mongodb from dependencies to dev dependencies (#350)
SimonPerryman Jan 1, 2022
656babf
Bump nodemailer from 6.4.17 to 6.6.1 (#351)
dependabot[bot] Jan 1, 2022
17ebcea
Bump shelljs from 0.8.4 to 0.8.5 (#352)
dependabot[bot] Jan 15, 2022
54ec9fd
fix(deps): fix failing yarn builds (#355)
peterblazejewicz Feb 8, 2022
7da5bec
Bump ajv from 6.10.0 to 6.12.6 (#356)
dependabot[bot] Feb 11, 2022
348d1aa
Bump async from 3.2.0 to 3.2.2 (#358)
dependabot[bot] Apr 13, 2022
9d3351a
removing credentials
brittanyferderer Jun 13, 2022
1864869
Merge pull request #359 from microsoft/fb_branch
brittanyferderer Jun 13, 2022
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=sessionsecret

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

# 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