From 052ec1ca26d4997c5373fdb0abc685e20ecb8071 Mon Sep 17 00:00:00 2001 From: Karsten Hassel Date: Sat, 7 Jun 2025 13:20:01 +0200 Subject: [PATCH] remove existing folders fonts and vendor from local installations (#3805) see discussions [here](https://github.com/MagicMirrorOrg/MagicMirror/pull/3795#issuecomment-2927804743). The used command should work under windows too. I'm open to better solutions. Co-authored-by: Veeck --- CHANGELOG.md | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a44c8b2e..e7a75093 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,7 +32,7 @@ planned for 2025-07-01 - [workflow] Replace Node.js version v23 with v24 (#3770) - [refactor] Replace deprecated constants `fs.F_OK` and `fs.R_OK` (#3789) - [refactor] Replace `ansis` with built-in function `util.styleText` (#3793) -- [core] Integrate stuff from `vendor` and `fonts` folders into main `package.json`, simplifies install and maintaining dependencies (#3795) +- [core] Integrate stuff from `vendor` and `fonts` folders into main `package.json`, simplifies install and maintaining dependencies (#3795, #3805) - [l10n] Complete translations (with the help of translation tools) (#3794) ### Fixed diff --git a/package.json b/package.json index 4bbe43ac..269ac5be 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,7 @@ "lint:js": "eslint --fix", "lint:markdown": "markdownlint-cli2 . --fix", "lint:prettier": "prettier . --write", + "postinstall": "git clean -df fonts vendor", "prepare": "[ -f node_modules/.bin/husky ] && husky || echo no husky installed.", "server": "node ./serveronly", "start": "node --run start:x11",