Skip to content

feat: Star command, prompt system + dependency security fixes (v3.2.0)#13

Merged
night-slayer18 merged 6 commits into
mainfrom
dev
Jun 28, 2026
Merged

feat: Star command, prompt system + dependency security fixes (v3.2.0)#13
night-slayer18 merged 6 commits into
mainfrom
dev

Conversation

@night-slayer18

@night-slayer18 night-slayer18 commented Jun 28, 2026

Copy link
Copy Markdown
Owner

Summary

This PR merges the dev branch into main for the v3.2.0 release.

What's Included

⭐ Star Prompt & Command

  • New leetcode star command to open the GitHub repo directly.
  • Non-intrusive star prompt after accepted submissions:
    • Milestones: Shows at 10th, 20th, and 30th accepted submission (one-time each).
    • Recurring: After all milestones, shows every 40 accepted submissions.
    • 30-day reset: Recurring counter resets if 30 days pass without reaching the threshold.
    • Dismissible: Choose "Don't ask again" to permanently disable.
    • Falls back to a passive one-liner in non-TTY environments.

🔒 Security

🧹 Code Quality & Config

  • Explicitly added "node" types to tsconfig.json to resolve editor type-check errors for the process global.
  • Applied consistent formatting across the entire codebase.

Nmagic144 and others added 6 commits May 20, 2026 05:03
fix: high security vulnerabilities in dependencies
Show star prompt at 10/20/30 accepted submissions (one-time milestones),
then every 40 submissions after milestones exhausted. Recurring counter
resets if 30 days pass without reaching the interval threshold.

Signed-off-by: night-slayer18 <samanuaia257@gmail.com>
Add a dedicated 'star' command that opens the GitHub repo directly.
Integrate maybeShowStarPrompt into the submit flow — prompts after
accepted submissions based on the milestone/interval schedule.

Signed-off-by: night-slayer18 <samanuaia257@gmail.com>
Reformat long lines, argument lists, and ternary expressions for
improved readability. No logic changes — formatting only.

Signed-off-by: night-slayer18 <samanuaia257@gmail.com>
Signed-off-by: night-slayer18 <samanuaia257@gmail.com>
@night-slayer18 night-slayer18 merged commit 85f4605 into main Jun 28, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants