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 <github@veeck.de>
This commit is contained in:
Karsten Hassel 2025-06-07 13:20:01 +02:00 committed by GitHub
parent 302b24c647
commit 052ec1ca26
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -32,7 +32,7 @@ planned for 2025-07-01
- [workflow] Replace Node.js version v23 with v24 (#3770) - [workflow] Replace Node.js version v23 with v24 (#3770)
- [refactor] Replace deprecated constants `fs.F_OK` and `fs.R_OK` (#3789) - [refactor] Replace deprecated constants `fs.F_OK` and `fs.R_OK` (#3789)
- [refactor] Replace `ansis` with built-in function `util.styleText` (#3793) - [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) - [l10n] Complete translations (with the help of translation tools) (#3794)
### Fixed ### Fixed

View File

@ -32,6 +32,7 @@
"lint:js": "eslint --fix", "lint:js": "eslint --fix",
"lint:markdown": "markdownlint-cli2 . --fix", "lint:markdown": "markdownlint-cli2 . --fix",
"lint:prettier": "prettier . --write", "lint:prettier": "prettier . --write",
"postinstall": "git clean -df fonts vendor",
"prepare": "[ -f node_modules/.bin/husky ] && husky || echo no husky installed.", "prepare": "[ -f node_modules/.bin/husky ] && husky || echo no husky installed.",
"server": "node ./serveronly", "server": "node ./serveronly",
"start": "node --run start:x11", "start": "node --run start:x11",