fix(deps): update dependencies

This commit is contained in:
Rafael Bardini 2021-02-14 15:18:58 +01:00
parent 30e1bbf61b
commit d30dd196f0
10 changed files with 715 additions and 902 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
.DS_Store
.nyc_output
coverage
node_modules

1
.husky/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
_

4
.husky/pre-commit Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npx --no lint-staged

4
.husky/pre-push Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npx --no tap

View File

@ -1,6 +0,0 @@
{
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "tap"
}
}

1559
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -22,19 +22,23 @@
"build:demo": "./bin/build-demo",
"format": "prettier --write .",
"lint": "eslint .",
"postinstall": "husky install",
"postpublish": "pinst --enable",
"prepublishOnly": "pinst --disable",
"test": "tap"
},
"dependencies": {
"handlebars": "^4.7.6",
"micromark": "^2.10.1"
"micromark": "^2.11.4"
},
"devDependencies": {
"eslint": "7.12.1",
"html-validate": "3.5.0",
"husky": "4.3.0",
"lint-staged": "10.5.1",
"prettier": "2.1.2",
"eslint": "7.20.0",
"html-validate": "4.6.0",
"husky": "5.0.9",
"lint-staged": "10.5.4",
"pinst": "2.1.4",
"prettier": "2.2.1",
"resume-schema": "1.0.0",
"tap": "14.10.8"
"tap": "14.11.0"
}
}

View File

@ -1,11 +1,11 @@
<!doctype html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta charset="utf-8">
<title>{{resume.basics.name}}</title>
<meta name="description" content="{{resume.basics.summary}}" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:400,700&display=swap" />
<meta name="description" content="{{resume.basics.summary}}">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:400,700&display=swap">
<style>{{{css}}}</style>
</head>
<body>

View File

@ -6,14 +6,14 @@
*/
'use strict'
exports[`test/render.js TAP renders a resume > must match snapshot 1`] = `
<!doctype html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta charset="utf-8">
<title>Richard Hendriks</title>
<meta name="description" content="Richard hails from Tulsa. He has earned degrees from the University of Oklahoma and Stanford. (Go Sooners and Cardinal!) Before starting Pied Piper, he worked for Hooli as a part time software developer. While his work focuses on applied information theory, mostly optimizing lossless compression schema of both the length-limited and adaptive variants, his non-work interests range widely, everything from quantum computing to chaos theory. He could tell you about it, but THAT would NOT be a “length-limited” conversation!" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:400,700&display=swap" />
<meta name="description" content="Richard hails from Tulsa. He has earned degrees from the University of Oklahoma and Stanford. (Go Sooners and Cardinal!) Before starting Pied Piper, he worked for Hooli as a part time software developer. While his work focuses on applied information theory, mostly optimizing lossless compression schema of both the length-limited and adaptive variants, his non-work interests range widely, everything from quantum computing to chaos theory. He could tell you about it, but THAT would NOT be a “length-limited” conversation!">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:400,700&display=swap">
<style>:root {
/* Colors */
--primaryColor: #212529;

View File

@ -11,9 +11,7 @@ test('renders a resume', t => {
test('renders valid HTML', t => {
const htmlvalidate = new HtmlValidate({
rules: {
'void-style': ['error', { style: 'selfclosing' }],
},
extends: ['html-validate:recommended'],
})
const {