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",
"semi": false,
"singleQuote": true,
"trailingComma": "all"
"singleQuote": true
}

1892
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -40,7 +40,7 @@
"build": "vite build",
"prebuild:demo": "npm run build",
"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 .",
"prepare": "husky install",
"prepublishOnly": "npm run build",
@ -52,15 +52,15 @@
"striptags": "^3.2.0"
},
"devDependencies": {
"@vitest/coverage-c8": "0.28.3",
"eslint": "8.33.0",
"html-validate": "7.13.1",
"@vitest/coverage-v8": "0.33.0",
"eslint": "8.45.0",
"html-validate": "8.0.5",
"husky": "8.0.3",
"lint-staged": "13.1.0",
"prettier": "2.8.3",
"prettier-plugin-packagejson": "2.4.2",
"lint-staged": "13.2.3",
"prettier": "3.0.0",
"prettier-plugin-packagejson": "2.4.5",
"resume-schema": "1.0.0",
"vite": "4.0.4",
"vitest": "0.28.3"
"vite": "4.4.6",
"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`] = `
"<!DOCTYPE html>

View File

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