Skip to content

Commit

Permalink
Upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
hagopj13 committed Mar 1, 2021
1 parent 7c1f57f commit 9ba9f1b
Show file tree
Hide file tree
Showing 8 changed files with 568 additions and 547 deletions.
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/post-checkout
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

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

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

yarn lint-staged
7 changes: 0 additions & 7 deletions .huskyrc.json

This file was deleted.

6 changes: 3 additions & 3 deletions bin/createNodejsApp.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
const util = require('util');
const path = require('path');
const fs = require('fs');
const { execSync } = require('child_process')
const { execSync } = require('child_process');

// Utility functions
const exec = util.promisify(require("child_process").exec);
const exec = util.promisify(require('child_process').exec);
async function runCmd(command) {
try {
const { stdout, stderr } = await exec(command);
Expand Down Expand Up @@ -78,7 +78,7 @@ async function setup() {
console.log();

// Copy envornment variables
fs.copyFileSync(path.join(appPath, '.env.example'), path.join(appPath, '.env'))
fs.copyFileSync(path.join(appPath, '.env.example'), path.join(appPath, '.env'));
console.log('Environment files copied.');

// Delete .git folder
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"prettier:fix": "prettier --write **/*.js",
"docker:prod": "docker-compose -f docker-compose.yml -f docker-compose.prod.yml up",
"docker:dev": "docker-compose -f docker-compose.yml -f docker-compose.dev.yml up",
"docker:test": "docker-compose -f docker-compose.yml -f docker-compose.test.yml up"
"docker:test": "docker-compose -f docker-compose.yml -f docker-compose.test.yml up",
"prepare": "husky install"
},
"keywords": [
"node",
Expand Down Expand Up @@ -77,13 +78,13 @@
"coveralls": "^3.0.7",
"eslint": "^7.0.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-prettier": "^7.1.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jest": "^24.0.1",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-security": "^1.4.0",
"faker": "^5.1.0",
"husky": "^4.2.3",
"husky": "^5.1.2",
"jest": "^26.0.1",
"lint-staged": "^10.0.7",
"node-mocks-http": "^1.8.0",
Expand Down
1,082 changes: 548 additions & 534 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 9ba9f1b

Please sign in to comment.