cloudcannon-hugo
Advanced tools
Comparing version 1.0.5 to 1.0.6
{ | ||
"name": "cloudcannon-hugo", | ||
"type": "module", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Generates the files necessary for a hugo site to integrate with CloudCannon CMS", | ||
@@ -14,5 +14,8 @@ "main": "src/index.js", | ||
"report-coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov", | ||
"release:latest": "npx np", | ||
"release:next": "npx np prerelease --tag=next" | ||
"release:latest": "np", | ||
"release:next": "np prerelease --tag=next" | ||
}, | ||
"engines": { | ||
"node": ">=16" | ||
}, | ||
"bin": { | ||
@@ -48,2 +51,3 @@ "cloudcannon-hugo": "src/index.js" | ||
"mock-fs": "^5.2.0", | ||
"np": "^8.0.4", | ||
"nyc": "^15.1.0" | ||
@@ -50,0 +54,0 @@ }, |
@@ -145,6 +145,6 @@ import { basename, join } from 'path'; | ||
const item = { | ||
url: hugoUrls[path] || getPageUrlFromPath(path, paths.content, multilingual) || '', | ||
path, | ||
collection: collectionKey, | ||
...parsed | ||
...parsed, | ||
url: parsed.url || hugoUrls[path] || getPageUrlFromPath(path, paths.content, multilingual) || '', | ||
}; | ||
@@ -151,0 +151,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
41775
1
8