chore(deps): update dependencies

This commit is contained in:
Rafael Bardini 2023-07-22 02:35:49 +02:00
parent e5f45c374d
commit e4e55af22f
7 changed files with 1151 additions and 774 deletions

View File

@ -1,3 +0,0 @@
{
"reporter": ["text", "lcov"]
}

View File

@ -1,3 +0,0 @@
.nyc_output
coverage
public

View File

@ -1,6 +1,5 @@
{ {
"arrowParens": "avoid", "arrowParens": "avoid",
"semi": false, "semi": false,
"singleQuote": true, "singleQuote": true
"trailingComma": "all"
} }

1892
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -40,7 +40,7 @@
"build": "vite build", "build": "vite build",
"prebuild:demo": "npm run build", "prebuild:demo": "npm run build",
"build:demo": "mkdir -p public && ./bin/cli.js < node_modules/resume-schema/sample.resume.json > public/index.html", "build:demo": "mkdir -p public && ./bin/cli.js < node_modules/resume-schema/sample.resume.json > public/index.html",
"format": "prettier --ignore-path .gitignore .", "format": "prettier .",
"lint": "eslint --ignore-path .gitignore .", "lint": "eslint --ignore-path .gitignore .",
"prepare": "husky install", "prepare": "husky install",
"prepublishOnly": "npm run build", "prepublishOnly": "npm run build",
@ -52,15 +52,15 @@
"striptags": "^3.2.0" "striptags": "^3.2.0"
}, },
"devDependencies": { "devDependencies": {
"@vitest/coverage-c8": "0.28.3", "@vitest/coverage-v8": "0.33.0",
"eslint": "8.33.0", "eslint": "8.45.0",
"html-validate": "7.13.1", "html-validate": "8.0.5",
"husky": "8.0.3", "husky": "8.0.3",
"lint-staged": "13.1.0", "lint-staged": "13.2.3",
"prettier": "2.8.3", "prettier": "3.0.0",
"prettier-plugin-packagejson": "2.4.2", "prettier-plugin-packagejson": "2.4.5",
"resume-schema": "1.0.0", "resume-schema": "1.0.0",
"vite": "4.0.4", "vite": "4.4.6",
"vitest": "0.28.3" "vitest": "0.33.0"
} }
} }

View File

@ -1,4 +1,4 @@
// Vitest Snapshot v1 // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
exports[`renders a resume 1`] = ` exports[`renders a resume 1`] = `
"<!DOCTYPE html> "<!DOCTYPE html>

View File

@ -11,7 +11,7 @@ it('renders a resume', () => {
expect(render(resume)).toMatchSnapshot() expect(render(resume)).toMatchSnapshot()
}) })
it('renders valid HTML', () => { it('renders valid HTML', async () => {
const htmlvalidate = new HtmlValidate({ const htmlvalidate = new HtmlValidate({
extends: ['html-validate:recommended'], extends: ['html-validate:recommended'],
rules: { rules: {
@ -22,7 +22,7 @@ it('renders valid HTML', () => {
const { const {
results: [{ messages } = {}], results: [{ messages } = {}],
} = htmlvalidate.validateString(render(resume)) } = await htmlvalidate.validateString(render(resume))
expect(messages).toBeUndefined() expect(messages).toBeUndefined()
}) })