1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-17 08:05:31 -04:00

add empty manifest.json so Hugo doesn't fail when it isn't populated yet

This commit is contained in:
2021-07-03 11:02:50 -04:00
parent 2e5405b9ac
commit b61ffd3629
4 changed files with 7 additions and 6 deletions

View File

@@ -76,15 +76,13 @@ function clean() {
"builds/",
"_vendor/",
"static/assets/",
"data/manifest.json",
"api/**/*.js*",
]);
}
// run a locally installed (i.e. ./node_modules/.bin/foo) binary, similar to a package.json script
function npx(bin, options) {
function npx(bin, args) {
// WARNING: MAJOR HACKS AHEAD:
const cmd = `${bin} ${options ? options.join(" ") : ""}`.trim();
const cmd = `${bin} ${args ? args.join(" ") : ""}`.trim();
return execa(cmd, {
preferLocal: true,
shell: true,