- JournalPostCard: the title link is the card's only anchor; the image is no longer a link and the separate read-more link is gone; the whole card stays clickable through a CSS stretched link with the focus ring on the card; prop headingLevel (2 | 3, default 2) - related posts keep their h2 and render their cards at h3; JournalPostList passes headingLevel through - smoke checks headings=strict (one h1, no skipped level) and cardlinks=N on every fixture page; expectation files for postTitleTag forced to h1 and p (the documented two-h1 and no-h1 consequences) BREAKING CHANGE: .journal-post-card__more and the image link (.journal-post-card__image is now a div) are removed from post cards.
34 lines
1.4 KiB
JSON
34 lines
1.4 KiB
JSON
{
|
|
"name": "vue-journal-layer",
|
|
"version": "0.7.1",
|
|
"private": true,
|
|
"type": "module",
|
|
"main": "./nuxt.config.ts",
|
|
"scripts": {
|
|
"dev": "nuxi dev .playground",
|
|
"build:playground": "nuxt build .playground",
|
|
"test": "node --test --test-reporter=tap tests/*.test.ts",
|
|
"smoke:ssr": "node testing/smoke-ssr.mjs --output .playground/.output --fixtures testing/fixtures/acme --expect testing/expect-acme.txt && node testing/smoke-ssr.mjs --output .playground/.output --fixtures testing/fixtures/acme --expect testing/expect-acme-title-h1.txt --env NUXT_PUBLIC_JOURNAL_POST_TITLE_TAG=h1 && node testing/smoke-ssr.mjs --output .playground/.output --fixtures testing/fixtures/acme --expect testing/expect-acme-title-p.txt --env NUXT_PUBLIC_JOURNAL_POST_TITLE_TAG=p && node testing/smoke-ssr.mjs --output .playground/.output --fixtures testing/fixtures/acme --expect testing/expect-acme-hint-off.txt --env NUXT_PUBLIC_SEO_LINKS_NEW_TAB_HINT=false",
|
|
"dev:prepare": "nuxt prepare .playground",
|
|
"check:git-install": "bash scripts/check-git-install.sh"
|
|
},
|
|
"engines": {
|
|
"node": ">=22.18"
|
|
},
|
|
"dependencies": {
|
|
"@nuxt/fonts": "0.14.0",
|
|
"@nuxtjs/i18n": "10.4.0",
|
|
"sanitize-html": "2.18.0",
|
|
"vue-seo-layer": "link:../vue-seo-layer"
|
|
},
|
|
"peerDependencies": {
|
|
"nuxt": "4.4.8"
|
|
},
|
|
"devDependencies": {
|
|
"@types/sanitize-html": "2.16.2",
|
|
"nuxt": "4.4.8",
|
|
"typescript": "5.9.3",
|
|
"vue": "3.5.35"
|
|
}
|
|
}
|