chore(deps): update dependencies
This commit is contained in:
parent
e5f45c374d
commit
e4e55af22f
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"reporter": ["text", "lcov"]
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
.nyc_output
|
||||
coverage
|
||||
public
|
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
"arrowParens": "avoid",
|
||||
"semi": false,
|
||||
"singleQuote": true,
|
||||
"trailingComma": "all"
|
||||
"singleQuote": true
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
18
package.json
18
package.json
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Vitest Snapshot v1
|
||||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
||||
|
||||
exports[`renders a resume 1`] = `
|
||||
"<!DOCTYPE html>
|
||||
|
|
|
@ -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()
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue