File tree Expand file tree Collapse file tree 2 files changed +14
-3
lines changed
boiler-plate/node-express-server Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 2525 echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
2626 sudo apt-get install yarn -y
2727 yarn --version
28- yarn install && npx eslint webserver.js
28+ yarn install && yarn audit && npx eslint webserver.js
2929 printf "\n[INFO] - Done running eslint checks but with "new-cap" rule disabled, exiting ..."
30- # TODO: Chore: Add a stage to run yarn audit before installing packages.
31- # TODO: Chore: Add Snyk dependency scanning locally + repo.
30+ # TODO: Chore: Add a step to use the $SNYK_TOKEN env var for the GitHub workflow.
31+ # TODO: Chore: Snyk allows for installation via the yarn.lock and then auth via the env var.
32+ # TODO: Feature: Consider having a separate step to scan with Snyk, and display an updated summary of security etc.
33+ # TODO: Feature: Add support for FOSSA scanning and displaying the data on README.md
Original file line number Diff line number Diff line change 1+ # node-express-server
2+ A simple node.js webserver with basic API functionality, written in pure JavaScript.
3+ Dependencies:
4+ - yarn version: 1.22.19
5+ - npm version: 8.15.0
6+ - node.js version: v16.17.0 LTS
7+ - ECMA version: ` latest ` , other information present in ` .eslintrc.json `
8+
9+ Makes use of Snyk for IaC and Security scanning.
You can’t perform that action at this time.
0 commit comments