Skip to content

Commit

Permalink
chore(deps): updated all dev dependencies and reduced vulnerabilities (
Browse files Browse the repository at this point in the history
…#128)

* chore(deps): npm audit for 0 vulnerabilities
* chore(deps): updated all dev dependencies
* chore: added conventional commit support
* ci: updated test docker image to cimg/node:14.21
  • Loading branch information
bnormington authored Apr 28, 2023
1 parent bd69f5d commit a500666
Show file tree
Hide file tree
Showing 8 changed files with 4,268 additions and 1,911 deletions.
21 changes: 5 additions & 16 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ orbs:
defaults: &defaults
working_directory: ~/repo
docker:
-
image: circleci/node:14
- image: cimg/node:14.21

jobs:
test:
Expand All @@ -15,41 +14,31 @@ jobs:
- checkout

# Download and cache dependencies
-
restore_cache:
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package-lock.json" }}

-
run:
- run:
name: Dependency Install
command: npm install

-
save_cache:
- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package-lock.json" }}

# Run Tests!
- run: npm test

# Upload to CodeCov
# - run:
# name: 'Upload to codecov.io'
# command: bash <(curl -s https://codecov.io/bash) -t <>

- coveralls/upload

- store_artifacts:
path: ./coverage

workflows:
version: 2
build_workflow:
jobs:
-
test:
- test:
filters:
tags:
only: /.*/
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,6 @@ dist/

.vscode/

test.js
.DS_Store

test.js
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install commitlint --edit "$1"
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
package-lock=true
message="chore(release): v%s"
save-exact=true
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14.18.3
14.21.3
1 change: 1 addition & 0 deletions commitlint.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = { extends: ['@commitlint/config-conventional'], rules: { 'subject-case': [1, 'always', 'sentence-case'], }, };
Loading

0 comments on commit a500666

Please sign in to comment.