From 473aa62f0899bcad6eb1ac508f16747dc02cdd9b Mon Sep 17 00:00:00 2001 From: Matteo Pace Date: Wed, 16 Oct 2024 15:23:11 +0200 Subject: [PATCH 1/2] fix: updates stylelint-config-standard to fix deps conflict (#302) * fix: updates stylelint-config-standard to fix deps conflict * fix: flexSearch --- layouts/partials/footer/script-footer.html | 2 +- package-lock.json | 81 ++++++++++++++-------- package.json | 2 +- 3 files changed, 56 insertions(+), 29 deletions(-) diff --git a/layouts/partials/footer/script-footer.html b/layouts/partials/footer/script-footer.html index 87997308..130c88b7 100644 --- a/layouts/partials/footer/script-footer.html +++ b/layouts/partials/footer/script-footer.html @@ -37,7 +37,7 @@ {{ $showFlexSearch := .Site.Params.options.flexSearch }} {{ if $showFlexSearch -}} - {{ $flexSearch := resources.Get "js/vendor/flexsearch/dist/flexsearch.bundle.js" -}} + {{ $flexSearch := resources.Get "js/vendor/flexsearch/dist/flexsearch.bundle.min.js" -}} {{ $slice = $slice | append $flexSearch -}} {{ if and (isset .Site.Params.options "searchsectionsshow") (not (eq .Site.Params.options.searchSectionsShow "ALL")) -}} {{ $showFlexSearch = or (eq (len .Site.Params.options.searchSectionsShow) 0) (in .Site.Params.options.searchSectionsShow .Section) (and .IsHome (in .Site.Params.options.searchSectionsShow "HomePage")) -}} diff --git a/package-lock.json b/package-lock.json index 3d3a8b3e..29b12a1c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -33,7 +33,7 @@ "purgecss-whitelister": "2.4.0", "shx": "0.3.4", "stylelint": "16.10.0", - "stylelint-config-standard": "33.0.0" + "stylelint-config-standard": "36.0.1" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -4383,7 +4383,8 @@ "version": "0.7.43", "resolved": "https://registry.npmjs.org/flexsearch/-/flexsearch-0.7.43.tgz", "integrity": "sha512-c5o/+Um8aqCSOXGcZoqZOm+NqtVwNsvVpWv6lfmSclU954O3wvQKxxK8zj74fPaSJbXpSLTs4PRhh+wnoCXnKg==", - "dev": true + "dev": true, + "license": "Apache-2.0" }, "node_modules/foreground-child": { "version": "3.1.1", @@ -7308,25 +7309,53 @@ "node": ">=18.12.0" } }, - "node_modules/stylelint-config-standard": { - "version": "33.0.0", - "resolved": "https://registry.npmjs.org/stylelint-config-standard/-/stylelint-config-standard-33.0.0.tgz", - "integrity": "sha512-eyxnLWoXImUn77+ODIuW9qXBDNM+ALN68L3wT1lN2oNspZ7D9NVGlNHb2QCUn4xDug6VZLsh0tF8NyoYzkgTzg==", + "node_modules/stylelint-config-recommended": { + "version": "14.0.1", + "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-14.0.1.tgz", + "integrity": "sha512-bLvc1WOz/14aPImu/cufKAZYfXs/A/owZfSMZ4N+16WGXLoX5lOir53M6odBxvhgmgdxCVnNySJmZKx73T93cg==", "dev": true, - "dependencies": { - "stylelint-config-recommended": "^12.0.0" + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/stylelint" + }, + { + "type": "github", + "url": "https://github.com/sponsors/stylelint" + } + ], + "license": "MIT", + "engines": { + "node": ">=18.12.0" }, "peerDependencies": { - "stylelint": "^15.5.0" + "stylelint": "^16.1.0" } }, - "node_modules/stylelint-config-standard/node_modules/stylelint-config-recommended": { - "version": "12.0.0", - "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-12.0.0.tgz", - "integrity": "sha512-x6x8QNARrGO2sG6iURkzqL+Dp+4bJorPMMRNPScdvaUK8PsynriOcMW7AFDKqkWAS5wbue/u8fUT/4ynzcmqdQ==", + "node_modules/stylelint-config-standard": { + "version": "36.0.1", + "resolved": "https://registry.npmjs.org/stylelint-config-standard/-/stylelint-config-standard-36.0.1.tgz", + "integrity": "sha512-8aX8mTzJ6cuO8mmD5yon61CWuIM4UD8Q5aBcWKGSf6kg+EC3uhB+iOywpTK4ca6ZL7B49en8yanOFtUW0qNzyw==", "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/stylelint" + }, + { + "type": "github", + "url": "https://github.com/sponsors/stylelint" + } + ], + "license": "MIT", + "dependencies": { + "stylelint-config-recommended": "^14.0.1" + }, + "engines": { + "node": ">=18.12.0" + }, "peerDependencies": { - "stylelint": "^15.5.0" + "stylelint": "^16.1.0" } }, "node_modules/stylelint/node_modules/balanced-match": { @@ -13247,22 +13276,20 @@ } } }, + "stylelint-config-recommended": { + "version": "14.0.1", + "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-14.0.1.tgz", + "integrity": "sha512-bLvc1WOz/14aPImu/cufKAZYfXs/A/owZfSMZ4N+16WGXLoX5lOir53M6odBxvhgmgdxCVnNySJmZKx73T93cg==", + "dev": true, + "requires": {} + }, "stylelint-config-standard": { - "version": "33.0.0", - "resolved": "https://registry.npmjs.org/stylelint-config-standard/-/stylelint-config-standard-33.0.0.tgz", - "integrity": "sha512-eyxnLWoXImUn77+ODIuW9qXBDNM+ALN68L3wT1lN2oNspZ7D9NVGlNHb2QCUn4xDug6VZLsh0tF8NyoYzkgTzg==", + "version": "36.0.1", + "resolved": "https://registry.npmjs.org/stylelint-config-standard/-/stylelint-config-standard-36.0.1.tgz", + "integrity": "sha512-8aX8mTzJ6cuO8mmD5yon61CWuIM4UD8Q5aBcWKGSf6kg+EC3uhB+iOywpTK4ca6ZL7B49en8yanOFtUW0qNzyw==", "dev": true, "requires": { - "stylelint-config-recommended": "^12.0.0" - }, - "dependencies": { - "stylelint-config-recommended": { - "version": "12.0.0", - "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-12.0.0.tgz", - "integrity": "sha512-x6x8QNARrGO2sG6iURkzqL+Dp+4bJorPMMRNPScdvaUK8PsynriOcMW7AFDKqkWAS5wbue/u8fUT/4ynzcmqdQ==", - "dev": true, - "requires": {} - } + "stylelint-config-recommended": "^14.0.1" } }, "stylis": { diff --git a/package.json b/package.json index 0d46aa7e..68c87f98 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,7 @@ "purgecss-whitelister": "2.4.0", "shx": "0.3.4", "stylelint": "16.10.0", - "stylelint-config-standard": "33.0.0" + "stylelint-config-standard": "36.0.1" }, "otherDependencies": { "hugo": "0.87.0" From ca87e373f60d32531eca844234b29b0f43975104 Mon Sep 17 00:00:00 2001 From: May Date: Wed, 16 Oct 2024 15:24:22 +0200 Subject: [PATCH 2/2] =?UTF-8?q?Fix=20broken=20link=20(index=20=E2=86=92=20?= =?UTF-8?q?docs/quick-start)=20(#301)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Felipe Zipitría <3012076+fzipi@users.noreply.github.com> --- layouts/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/index.html b/layouts/index.html index e378a280..a61b9a4d 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -6,7 +6,7 @@

{{ .Title }}

{{ .Params.lead | safeHTML }}

- Get + Get started

Open-source Apache 2 Licensed. GitHub