@tmlmobilidade/repo-rinse 20251006.1031.29 → 20251229.1441.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +6 -6
  2. package/src/repo-rinse.sh +17 -0
package/package.json CHANGED
@@ -1,8 +1,11 @@
1
1
  {
2
2
  "name": "@tmlmobilidade/repo-rinse",
3
3
  "description": "A CLI tool to clean up and maintain a NodeJS repository.",
4
- "version": "20251006.1031.29",
5
- "author": "João de Vasconcelos & Jusi Monteiro",
4
+ "version": "20251229.1441.35",
5
+ "author": {
6
+ "email": "iso@tmlmobilidade.pt",
7
+ "name": "TML-ISO"
8
+ },
6
9
  "license": "AGPL-3.0-or-later",
7
10
  "type": "module",
8
11
  "files": [
@@ -13,8 +16,5 @@
13
16
  },
14
17
  "scripts": {
15
18
  "start": "sh ./src/repo-rinse.sh"
16
- },
17
- "devDependencies": {
18
- "@carrismetropolitana/eslint": "20250622.1204.50"
19
19
  }
20
- }
20
+ }
package/src/repo-rinse.sh CHANGED
@@ -57,6 +57,23 @@ find . -type f -name "yalc.lock" | xargs rm -f
57
57
  echo "✓ Done"
58
58
  echo ""
59
59
 
60
+ echo "→ Removing '.tsbuildinfo' files..."
61
+ find . -type f -name ".tsbuildinfo" | xargs rm -f
62
+ echo "✓ Done"
63
+ echo ""
64
+
65
+ echo "→ Removing '.DS_Store' files..."
66
+ find . -type f -name ".DS_Store" | xargs rm -f
67
+ echo "✓ Done"
68
+ echo ""
69
+
70
+ # # #
71
+
72
+ echo "→ Removing empty directories..."
73
+ find . -type d -empty -delete
74
+ echo "✓ Done"
75
+ echo ""
76
+
60
77
  # # #
61
78
 
62
79
  echo "✓ Cleanup complete!"