forked from StarShopCr/StarShop-Backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommit_files.sh
More file actions
executable file
·62 lines (46 loc) · 2.18 KB
/
commit_files.sh
File metadata and controls
executable file
·62 lines (46 loc) · 2.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#!/bin/bash
# Script to commit each modified file individually with descriptive commit messages
# This will create multiple git contributions
echo "Starting individual file commits..."
# Add and commit package.json
git add package.json
git commit -m "feat: add schedule package dependency for cron jobs"
# Add and commit package-lock.json
git add package-lock.json
git commit -m "feat: update package-lock with nestjs schedule deps"
# Add and commit app.module.ts
git add src/app.module.ts
git commit -m "feat: configure ScheduleModule for cron tasks"
# Add and commit main.ts
git add src/main.ts
git commit -m "feat: add startup hook for expired requests cleanup"
# Add and commit buyer-requests module
git add src/modules/buyer-requests/buyer-requests.module.ts
git commit -m "feat: integrate scheduler service in buyer requests module"
# Add and commit buyer-requests controller
git add src/modules/buyer-requests/controllers/buyer-requests.controller.ts
git commit -m "feat: add close endpoint for buyer requests"
# Add and commit buyer-requests service
git add src/modules/buyer-requests/services/buyer-requests.service.ts
git commit -m "feat: implement manual close request functionality"
# Add and commit scheduler service (new file)
git add src/modules/buyer-requests/services/buyer-request-scheduler.service.ts
git commit -m "feat: create auto-expire scheduler for buyer requests"
# Add and commit controller tests
git add src/modules/buyer-requests/tests/buyer-requests.controller.spec.ts
git commit -m "test: add tests for close request endpoint"
# Add and commit service tests
git add src/modules/buyer-requests/tests/buyer-requests.service.spec.ts
git commit -m "test: add comprehensive tests for close request method"
# Add and commit scheduler service tests (new file)
git add src/modules/buyer-requests/tests/buyer-request-scheduler.service.spec.ts
git commit -m "test: add scheduler service tests with error handling"
# Add and commit the script itself
git add commit_files.sh
git commit -m "feat: add script for individual file commits"
echo "All files committed individually!"
echo "Total commits created: 12"
# Show recent commit history
echo ""
echo "Recent commit history:"
git log --oneline -15