From 152fcb3ab61acbe6a41e345b0ec865d4c46e9319 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9=20Viricel?= Date: Tue, 16 Jan 2024 16:35:53 +0100 Subject: [PATCH] fix: create empty vidos-config.json file when postinstall --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 071adff4d..172134c7e 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "test:histoire:report": "yarn build:histoire && npx --yes -- reg-cli __screenshots__/current __screenshots__/actual __screenshots__/diff -R __screenshots__/diff/index.html -J __screenshots__/diff/index.json --thresholdPixel 5 --matchingThreshold 0.3 --extendedErrors || exit 0", "test:histoire:check-report": "cat __screenshots__/diff/index.json | jq --exit-status '.failedItems + .newItems + .deletedItems | length == 0'", "test:histoire": "yarn test:histoire:report && yarn test:histoire:check-report", - "postinstall": "nuxt prepare" + "postinstall": "echo '{}' > vidos-config.json && nuxt prepare" }, "dependencies": { "@fortawesome/vue-fontawesome": "^3.0.3",