mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-26 16:28:28 -04:00
add empty manifest.json so Hugo doesn't fail when it isn't populated yet
This commit is contained in:
parent
2e5405b9ac
commit
b61ffd3629
3
data/manifest.json
Normal file
3
data/manifest.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"//": "This file will be overwritten by Webpack, but Hugo will fail to wait for that to happen if it doesn't exist at first."
|
||||
}
|
@ -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,
|
||||
|
@ -61,7 +61,7 @@
|
||||
"@types/numeral": "^2.0.1",
|
||||
"@types/pluralize": "^0.0.29",
|
||||
"@types/twemoji": "^12.1.1",
|
||||
"@types/xml2js": "^0.4.8",
|
||||
"@types/xml2js": "^0.4.9",
|
||||
"@typescript-eslint/eslint-plugin": "^4.28.1",
|
||||
"@typescript-eslint/parser": "^4.28.1",
|
||||
"@vercel/node": "^1.11.1",
|
||||
|
@ -1268,7 +1268,7 @@
|
||||
resolved "https://registry.yarnpkg.com/@types/unist/-/unist-2.0.4.tgz#453e27c6930d66380b4c121e7d5e361c5c2d921b"
|
||||
integrity sha512-zfyYsDTK1HTGYXU3fTiM76+om93HcFtsZd2M0bO/CL4DiETV7mSa/pIVN/6+G3esOqEMdg2An5cHHbK5t+9w+A==
|
||||
|
||||
"@types/xml2js@^0.4.8":
|
||||
"@types/xml2js@^0.4.9":
|
||||
version "0.4.9"
|
||||
resolved "https://registry.yarnpkg.com/@types/xml2js/-/xml2js-0.4.9.tgz#a38267d8c2fe121c96922b12ee3bd89a58a6e20e"
|
||||
integrity sha512-CHiCKIihl1pychwR2RNX5mAYmJDACgFVCMT5OArMaO3erzwXVcBqPcusr+Vl8yeeXukxZqtF8mZioqX+mpjjdw==
|
||||
|
Loading…
x
Reference in New Issue
Block a user