e33547fe5d
## [7.0.0](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v6.5.5...v7.0.0) (2024-05-11) ### ⚠ BREAKING CHANGES * optimize the resource hints (#1717) * rename media-url file and related parameters (#1651) * rename comment setting parameter (#1563) * **analytics:** add post pageviews for GoatCounter (#1543) ### Features * add cloudflare web analytics ([#1723](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1723)) ([c17fba4
](c17fba44f5
)) * add support for embed video files ([#1558](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1558)) ([9592146
](9592146ca3
)) * add support for giscus strict title matching ([#1614](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1614)) ([700fd5b
](700fd5bad7
)) * **analytics:** add post pageviews for GoatCounter ([#1543](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1543)) ([b641b3f
](b641b3f1f2
)) * **analytics:** add Umami and Matomo tracking codes ([#1658](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1658)) ([61bdca2
](61bdca2db4
)) * change site verification settings ([#1561](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1561)) ([e436387
](e4363871b5
)) * **deps:** move `MathJax` configuration to a separate file ([#1670](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1670)) ([44f552c
](44f552cbce
)) * display theme version in footer ([#1611](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1611)) ([8349314
](834931486d
)) * **i18n:** allow `page.lang` to override `site.lang` ([#1586](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1586)) ([547b95c
](547b95cc7a
)) * make post description customizable ([#1602](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1602)) ([f865336
](f865336c89
)) * **media:** support audio and video tag with multi sources ([#1618](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1618)) ([23be416
](23be4162b3
)) ### Bug Fixes * make TOC title and entries visible at the same time ([#1711](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1711)) ([e0950fc
](e0950fc973
)) * mode toggle not outlined when receiving keyboard focus ([#1690](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1690)) ([cd37f63
](cd37f63a01
)) * prevent footnote back arrow from becoming an emoji ([#1716](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1716)) ([8608147
](8608147fb5
)) * **pwa:** skip range requests in service worker ([#1672](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1672)) ([76d58fe
](76d58fe0ff
)) * search result prompt is empty ([#1583](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1583)) ([8a2afae
](8a2afae6ca
)) * use `https` for Weibo sharing URL ([#1612](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1612)) ([8e5fbb7
](8e5fbb7a74
)) ### Improvements * improve <hr> visibility in dark mode ([#1565](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1565)) ([4ddd5c4
](4ddd5c4370
)) * lean bootstrap javascript ([#1734](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1734)) ([ddb48ed
](ddb48eda52
)) * rename comment setting parameter ([#1563](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1563)) ([f8390d4
](f8390d4384
)) * replace jQuery with Vanilla JS ([#1681](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1681)) ([fe7afa3
](fe7afa379f
)) * simplify mode toggle script ([#1692](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1692)) ([d4a6d64
](d4a6d640bd
)) * tree shaking Bootstrap CSS ([#1736](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1736)) ([363a3d9
](363a3d936b
)) ### Changes * optimize the resource hints ([#1717](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1717)) ([dcb0add
](dcb0add47b
)) * rename media-url file and related parameters ([#1651](https://github.com/cotes2020/jekyll-theme-chirpy/issues/1651)) ([9f8aeaa
](9f8aeaadbf
))
177 lines
4.5 KiB
JSON
177 lines
4.5 KiB
JSON
{
|
|
"name": "jekyll-theme-chirpy",
|
|
"version": "7.0.0",
|
|
"description": "A minimal, responsive, and feature-rich Jekyll theme for technical writing.",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/cotes2020/jekyll-theme-chirpy.git"
|
|
},
|
|
"author": "Cotes Chung",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/cotes2020/jekyll-theme-chirpy/issues"
|
|
},
|
|
"homepage": "https://github.com/cotes2020/jekyll-theme-chirpy/",
|
|
"scripts": {
|
|
"build": "concurrently npm:build:*",
|
|
"build:css": "purgecss -c purgecss.config.js",
|
|
"build:js": "rollup -c --bundleConfigAsCjs --environment BUILD:production",
|
|
"watch:js": "rollup -c --bundleConfigAsCjs -w",
|
|
"lint:scss": "stylelint _sass/**/*.scss",
|
|
"lint:fix:scss": "npm run lint:scss -- --fix",
|
|
"test": "npm run lint:scss"
|
|
},
|
|
"dependencies": {
|
|
"@popperjs/core": "^2.11.8",
|
|
"bootstrap": "^5.3.3"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.24.5",
|
|
"@babel/plugin-transform-class-properties": "^7.24.1",
|
|
"@babel/preset-env": "^7.24.5",
|
|
"@commitlint/cli": "^19.3.0",
|
|
"@commitlint/config-conventional": "^19.2.2",
|
|
"@rollup/plugin-babel": "^6.0.4",
|
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
"@rollup/plugin-terser": "^0.4.4",
|
|
"@rollup/plugin-yaml": "^4.1.2",
|
|
"@semantic-release/changelog": "^6.0.3",
|
|
"@semantic-release/exec": "^6.0.3",
|
|
"@semantic-release/git": "^10.0.1",
|
|
"concurrently": "^8.2.2",
|
|
"conventional-changelog-conventionalcommits": "^7.0.2",
|
|
"husky": "^9.0.11",
|
|
"purgecss": "^6.0.0",
|
|
"rollup": "^4.17.2",
|
|
"rollup-plugin-license": "^3.3.1",
|
|
"semantic-release": "^23.1.1",
|
|
"stylelint": "^16.5.0",
|
|
"stylelint-config-standard-scss": "^13.1.0"
|
|
},
|
|
"prettier": {
|
|
"trailingComma": "none"
|
|
},
|
|
"browserslist": [
|
|
"last 2 versions",
|
|
"> 0.2%",
|
|
"not dead"
|
|
],
|
|
"commitlint": {
|
|
"extends": [
|
|
"@commitlint/config-conventional"
|
|
],
|
|
"rules": {
|
|
"body-max-line-length": [
|
|
0,
|
|
"always"
|
|
]
|
|
}
|
|
},
|
|
"stylelint": {
|
|
"extends": "stylelint-config-standard-scss",
|
|
"rules": {
|
|
"no-descending-specificity": null,
|
|
"shorthand-property-no-redundant-values": null,
|
|
"at-rule-no-vendor-prefix": null,
|
|
"property-no-vendor-prefix": null,
|
|
"selector-no-vendor-prefix": null,
|
|
"value-no-vendor-prefix": null,
|
|
"color-function-notation": "legacy",
|
|
"alpha-value-notation": "number",
|
|
"selector-not-notation": "simple",
|
|
"color-hex-length": "long",
|
|
"declaration-block-single-line-max-declarations": 3,
|
|
"scss/operator-no-newline-after": null,
|
|
"rule-empty-line-before": [
|
|
"always",
|
|
{
|
|
"ignore": [
|
|
"after-comment",
|
|
"first-nested"
|
|
]
|
|
}
|
|
],
|
|
"value-keyword-case": [
|
|
"lower",
|
|
{
|
|
"ignoreProperties": [
|
|
"/^\\$/"
|
|
]
|
|
}
|
|
],
|
|
"media-feature-range-notation": "prefix"
|
|
}
|
|
},
|
|
"release": {
|
|
"branches": [
|
|
"production"
|
|
],
|
|
"plugins": [
|
|
[
|
|
"@semantic-release/commit-analyzer",
|
|
{
|
|
"preset": "conventionalcommits"
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/release-notes-generator",
|
|
{
|
|
"preset": "conventionalcommits",
|
|
"presetConfig": {
|
|
"types": [
|
|
{
|
|
"type": "feat",
|
|
"section": "Features"
|
|
},
|
|
{
|
|
"type": "fix",
|
|
"section": "Bug Fixes"
|
|
},
|
|
{
|
|
"type": "perf",
|
|
"section": "Improvements"
|
|
},
|
|
{
|
|
"type": "refactor",
|
|
"section": "Changes",
|
|
"hidden": true
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/changelog",
|
|
{
|
|
"changelogFile": "docs/CHANGELOG.md",
|
|
"changelogTitle": "# Changelog"
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/npm",
|
|
{
|
|
"npmPublish": false
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/exec",
|
|
{
|
|
"prepareCmd": "bash tools/release --prepare",
|
|
"publishCmd": "bash tools/release"
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/git",
|
|
{
|
|
"assets": [
|
|
"docs",
|
|
"package.json",
|
|
"*.gemspec"
|
|
],
|
|
"message": "chore(release): ${nextRelease.version}\n\n${nextRelease.notes}"
|
|
}
|
|
],
|
|
"@semantic-release/github"
|
|
]
|
|
}
|
|
}
|