mirror of
https://github.com/hestiacp/hestiacp.git
synced 2025-02-06 10:24:04 +00:00
Update stylelint and vitepress (#3256)
This commit is contained in:
parent
c24f06efa3
commit
cd30ed38bd
@ -1,9 +1,11 @@
|
||||
module.exports = {
|
||||
extends: ['stylelint-config-standard', 'stylelint-config-prettier'],
|
||||
extends: ['stylelint-config-standard'],
|
||||
rules: {
|
||||
'selector-class-pattern': null,
|
||||
'no-descending-specificity': null,
|
||||
'block-no-empty': null,
|
||||
'declaration-block-no-shorthand-property-overrides': null,
|
||||
// Seems to be broken a bit, but would be nice to have
|
||||
// 'declaration-property-value-no-unknown': true,
|
||||
},
|
||||
};
|
||||
|
@ -7,7 +7,7 @@ export default defineConfig({
|
||||
description: "Open-source web server control panel.",
|
||||
|
||||
lastUpdated: true,
|
||||
cleanUrls: "disabled",
|
||||
cleanUrls: false,
|
||||
|
||||
head: [
|
||||
["link", { rel: "icon", sizes: "any", href: "/favicon.ico" }],
|
||||
@ -79,11 +79,11 @@ function nav(): DefaultTheme.NavItem[] {
|
||||
];
|
||||
}
|
||||
|
||||
function sidebarDocs(): DefaultTheme.SidebarGroup[] {
|
||||
function sidebarDocs(): DefaultTheme.SidebarItem[] {
|
||||
return [
|
||||
{
|
||||
text: "Introduction",
|
||||
collapsible: true,
|
||||
collapsed: false,
|
||||
items: [
|
||||
{ text: "Getting started", link: "/docs/introduction/getting-started.md" },
|
||||
{ text: "Best practices", link: "/docs/introduction/best-practices.md" },
|
||||
@ -91,7 +91,7 @@ function sidebarDocs(): DefaultTheme.SidebarGroup[] {
|
||||
},
|
||||
{
|
||||
text: "User guide",
|
||||
collapsible: true,
|
||||
collapsed: false,
|
||||
items: [
|
||||
{ text: "Account", link: "/docs/user-guide/account.md" },
|
||||
{ text: "Backups", link: "/docs/user-guide/backups.md" },
|
||||
@ -109,7 +109,7 @@ function sidebarDocs(): DefaultTheme.SidebarGroup[] {
|
||||
},
|
||||
{
|
||||
text: "Server administration",
|
||||
collapsible: true,
|
||||
collapsed: false,
|
||||
items: [
|
||||
{ text: "Backup & restore", link: "/docs/server-administration/backup-restore.md" },
|
||||
{ text: "Configuration", link: "/docs/server-administration/configuration.md" },
|
||||
@ -128,7 +128,7 @@ function sidebarDocs(): DefaultTheme.SidebarGroup[] {
|
||||
},
|
||||
{
|
||||
text: "Contributing",
|
||||
collapsible: true,
|
||||
collapsed: false,
|
||||
items: [
|
||||
{ text: "Development", link: "/docs/contributing/development.md" },
|
||||
{ text: "Documentation", link: "/docs/contributing/documentation.md" },
|
||||
@ -139,7 +139,7 @@ function sidebarDocs(): DefaultTheme.SidebarGroup[] {
|
||||
},
|
||||
{
|
||||
text: "Community",
|
||||
collapsible: true,
|
||||
collapsed: false,
|
||||
items: [
|
||||
{ text: "Hestia Nginx Cache", link: "/docs/community/hestia-nginx-cache.md" },
|
||||
{
|
||||
@ -151,7 +151,7 @@ function sidebarDocs(): DefaultTheme.SidebarGroup[] {
|
||||
},
|
||||
{
|
||||
text: "Reference",
|
||||
collapsible: true,
|
||||
collapsed: false,
|
||||
items: [
|
||||
{ text: "API", link: "/docs/reference/api.md" },
|
||||
{ text: "CLI", link: "/docs/reference/cli.md" },
|
||||
|
17
package.json
17
package.json
@ -16,21 +16,21 @@
|
||||
"preinstall": "npx only-allow yarn",
|
||||
"postinstall": "husky install"
|
||||
},
|
||||
"packageManager": "yarn@3.3.0",
|
||||
"packageManager": "yarn@3.4.1",
|
||||
"dependencies": {
|
||||
"@fortawesome/fontawesome-free": "^6.2.1",
|
||||
"@fortawesome/fontawesome-free": "^6.3.0",
|
||||
"normalize.css": "^8.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@prettier/plugin-php": "^0.19.3",
|
||||
"@typescript-eslint/eslint-plugin": "^5.50.0",
|
||||
"@typescript-eslint/parser": "^5.50.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.51.0",
|
||||
"@typescript-eslint/parser": "^5.51.0",
|
||||
"cssnano": "^5.1.14",
|
||||
"eslint": "^8.33.0",
|
||||
"eslint-config-prettier": "^8.6.0",
|
||||
"eslint-plugin-editorconfig": "^4.0.2",
|
||||
"husky": "^8.0.3",
|
||||
"lint-staged": "^13.1.0",
|
||||
"lint-staged": "^13.1.1",
|
||||
"markdownlint-cli2": "^0.6.0",
|
||||
"postcss": "^8.4.21",
|
||||
"postcss-cli": "^10.1.0",
|
||||
@ -38,13 +38,12 @@
|
||||
"postcss-path-replace": "^1.0.4",
|
||||
"postcss-preset-env": "^8.0.1",
|
||||
"postcss-size": "^4.0.1",
|
||||
"prettier": "^2.8.3",
|
||||
"prettier": "^2.8.4",
|
||||
"prettier-plugin-nginx": "^1.0.2",
|
||||
"prettier-plugin-sh": "^0.12.8",
|
||||
"prettier-plugin-sql": "^0.12.1",
|
||||
"stylelint": "^14.16.1",
|
||||
"stylelint-config-prettier": "^9.0.4",
|
||||
"stylelint-config-standard": "^29.0.0",
|
||||
"stylelint": "^15.0.0",
|
||||
"stylelint-config-standard": "^30.0.1",
|
||||
"typescript": "^4.9.5",
|
||||
"vitepress": "1.0.0-alpha.45",
|
||||
"vue": "^3.2.47"
|
||||
|
Loading…
x
Reference in New Issue
Block a user