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 .nyc_output
coverage coverage
node_modules 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"
}
}

1551
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", "build:demo": "./bin/build-demo",
"format": "prettier --write .", "format": "prettier --write .",
"lint": "eslint .", "lint": "eslint .",
"postinstall": "husky install",
"postpublish": "pinst --enable",
"prepublishOnly": "pinst --disable",
"test": "tap" "test": "tap"
}, },
"dependencies": { "dependencies": {
"handlebars": "^4.7.6", "handlebars": "^4.7.6",
"micromark": "^2.10.1" "micromark": "^2.11.4"
}, },
"devDependencies": { "devDependencies": {
"eslint": "7.12.1", "eslint": "7.20.0",
"html-validate": "3.5.0", "html-validate": "4.6.0",
"husky": "4.3.0", "husky": "5.0.9",
"lint-staged": "10.5.1", "lint-staged": "10.5.4",
"prettier": "2.1.2", "pinst": "2.1.4",
"prettier": "2.2.1",
"resume-schema": "1.0.0", "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"> <html lang="en">
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8">
<title>{{resume.basics.name}}</title> <title>{{resume.basics.name}}</title>
<meta name="description" content="{{resume.basics.summary}}" /> <meta name="description" content="{{resume.basics.summary}}">
<meta name="viewport" content="width=device-width, initial-scale=1" /> <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" /> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:400,700&display=swap">
<style>{{{css}}}</style> <style>{{{css}}}</style>
</head> </head>
<body> <body>

View File

@ -6,14 +6,14 @@
*/ */
'use strict' 'use strict'
exports[`test/render.js TAP renders a resume > must match snapshot 1`] = ` exports[`test/render.js TAP renders a resume > must match snapshot 1`] = `
<!doctype html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8">
<title>Richard Hendriks</title> <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="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" /> <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" /> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:400,700&display=swap">
<style>:root { <style>:root {
/* Colors */ /* Colors */
--primaryColor: #212529; --primaryColor: #212529;

View File

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