mirror of
https://github.com/Fechin/reference.git
synced 2026-11-29 00:29:46 +03:00
feat: fix code highlighting and upgrade dependencies
- Fix markdown-it-highlightjs configuration for Hexo 7.0+ - Create custom highlight.js instance to handle unknown languages gracefully - Eliminate 'Could not find language' warning messages - Upgrade ESLint to v9 with flat config format - Update Fuse.js from 6.4.6 to 7.1.0 - Update multiple dependencies to latest versions Technical changes: - Set syntax_highlighter to empty in _config.yml - Add langPrefix: 'hljs language-' configuration - Migrate ESLint to eslint.config.js (flat config) - Update Service Worker for new Fuse.js version
This commit is contained in:
1 parent
3b60a4c9fa
commit
8fd81decca
18 files changed
+756
-769
No files matched your search
+32
-32
@@ -27,11 +27,11 @@
|
||||
"commit": "cz"
|
||||
},
|
||||
"hexo": {
|
||||
"version": "5.4.2"
|
||||
"version": "7.3.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"gulp": "^5.0.0",
|
||||
"gulp-cli": "^3.0.0",
|
||||
"gulp": "^5.0.1",
|
||||
"gulp-cli": "^3.1.0",
|
||||
"gulp-ext-replace": "^0.3.0",
|
||||
"gulp-htmlclean": "^2.7.22",
|
||||
"gulp-htmlmin": "^5.0.1",
|
||||
@@ -39,58 +39,58 @@
|
||||
"gulp-postcss": "^10.0.0",
|
||||
"gulp-uglify-es": "^3.0.0",
|
||||
"gulp-version-number": "^0.2.4",
|
||||
"hexo": "^5.4.0",
|
||||
"hexo": "^7.3.0",
|
||||
"hexo-browsersync": "^0.3.0",
|
||||
"hexo-excerpt": "^1.2.1",
|
||||
"hexo-excerpt": "^1.3.1",
|
||||
"hexo-filter-nofollow": "^2.0.2",
|
||||
"hexo-generator-index": "^2.0.0",
|
||||
"hexo-generator-sitemap": "^2.2.0",
|
||||
"hexo-log": "^3.0.0",
|
||||
"hexo-pagination": "^2.0.0",
|
||||
"hexo-generator-index": "^4.0.0",
|
||||
"hexo-generator-sitemap": "^3.0.1",
|
||||
"hexo-log": "^4.1.0",
|
||||
"hexo-pagination": "^4.0.0",
|
||||
"hexo-related-popular-posts": "^5.0.1",
|
||||
"hexo-renderer-ejs": "^2.0.0",
|
||||
"hexo-renderer-markdown-it": "^5.0.0",
|
||||
"hexo-renderer-stylus": "^2.0.1",
|
||||
"hexo-server": "^2.0.0",
|
||||
"markdown-it-abbr": "^1.0.4",
|
||||
"markdown-it-anchor": "^8.4.1",
|
||||
"hexo-renderer-stylus": "^3.0.1",
|
||||
"hexo-server": "^3.0.0",
|
||||
"markdown-it-abbr": "^2.0.0",
|
||||
"markdown-it-anchor": "^9.2.0",
|
||||
"markdown-it-attrs": "^4.3.1",
|
||||
"markdown-it-checkbox": "^1.1.0",
|
||||
"markdown-it-emoji": "^2.0.0",
|
||||
"markdown-it-footnote": "^3.0.3",
|
||||
"markdown-it-emoji": "^3.0.0",
|
||||
"markdown-it-footnote": "^4.0.0",
|
||||
"markdown-it-highlight-lines": "^1.0.2",
|
||||
"markdown-it-highlightjs": "^4.2.0",
|
||||
"markdown-it-ins": "^3.0.1",
|
||||
"markdown-it-ins": "^4.0.0",
|
||||
"markdown-it-shortcode-tag": "^1.1.0",
|
||||
"markdown-it-sub": "^1.0.0",
|
||||
"markdown-it-sup": "^1.0.0",
|
||||
"markdown-it-sub": "^2.0.0",
|
||||
"markdown-it-sup": "^2.0.0",
|
||||
"markdown-it-task-lists": "^2.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "^19.5.0",
|
||||
"@commitlint/config-conventional": "^19.5.0",
|
||||
"autoprefixer": "^10.4.20",
|
||||
"@commitlint/cli": "^19.8.1",
|
||||
"@commitlint/config-conventional": "^19.8.1",
|
||||
"autoprefixer": "^10.4.21",
|
||||
"commitizen": "^4.3.1",
|
||||
"cssnano": "^7.0.7",
|
||||
"cz-conventional-changelog": "^3.3.0",
|
||||
"eslint": "^8.57.1",
|
||||
"eslint": "^9.29.0",
|
||||
"eslint-config-prettier": "^10.1.5",
|
||||
"gulp-clean-css": "^4.3.0",
|
||||
"gulp-filesize": "^0.0.6",
|
||||
"gulp-javascript-obfuscator": "^1.1.6",
|
||||
"gulp-replace": "^1.1.4",
|
||||
"gulp-rev": "^10.0.0",
|
||||
"gulp-rev": "^11.0.0",
|
||||
"gulp-terser": "^2.1.0",
|
||||
"husky": "^9.1.6",
|
||||
"lint-staged": "^15.2.10",
|
||||
"npm-run-all2": "^6.2.6",
|
||||
"husky": "^9.1.7",
|
||||
"lint-staged": "^16.1.2",
|
||||
"npm-run-all2": "^8.0.4",
|
||||
"postcss": "^8.5.6",
|
||||
"postcss-cli": "^11.0.0",
|
||||
"postcss-import": "^16.1.0",
|
||||
"prettier": "^3.3.3",
|
||||
"prettier-plugin-tailwindcss": "^0.6.8",
|
||||
"stylelint": "^16.10.0",
|
||||
"stylelint-config-standard": "^36.0.1",
|
||||
"postcss-cli": "^11.0.1",
|
||||
"postcss-import": "^16.1.1",
|
||||
"prettier": "^3.5.3",
|
||||
"prettier-plugin-tailwindcss": "^0.6.12",
|
||||
"stylelint": "^16.20.0",
|
||||
"stylelint-config-standard": "^38.0.0",
|
||||
"tailwindcss": "^3.4.14",
|
||||
"tailwindcss-animate": "^1.0.7"
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user