summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md4
-rw-r--r--package.json2
2 files changed, 5 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4e9207d..5e64464 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -15,6 +15,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
repository path is now specified under the `imports` section in the `module`
block. This change improves clarity and aligns with Hugo's recommended practices
for managing theme dependencies.
+- Replaced the deprecated `--verbose` flag with `--logLevel info` in the npm
+ script for `server` in `package.json`. This change addresses a deprecation
+ warning introduced in Hugo v0.114.0, ensuring compatibility with future versions
+ of Hugo.
## [v0.7.0](https://github.com/sergeyklay/gohugo-theme-ed/compare/v0.6.0...v0.7.0)
diff --git a/package.json b/package.json
index 065f418..2677da3 100644
--- a/package.json
+++ b/package.json
@@ -20,7 +20,7 @@
"author": "Serghei Iakovlev <egrep@protonmail.ch>",
"main": "index.js",
"scripts": {
- "server": "HUGO_RESOURCEDIR='../resources' HUGO_ENV=development hugo server --verbose --source=exampleSite --buildDrafts --buildFuture --ignoreCache --disableFastRender",
+ "server": "HUGO_RESOURCEDIR='../resources' HUGO_ENV=development hugo server --logLevel info --source=exampleSite --buildDrafts --buildFuture --ignoreCache --disableFastRender",
"test": "playwright test",
"lint": "npm run lint:js && npm run lint:editorconfig",
"lint:editorconfig": "editorconfig-checker",