Skip to content

Commit 3058c85

Browse files
committed
feat: v3.6.0 — scaffold in-place, --force, --here, 42 courses, flag-skip fix
New features: - grit new . / grit new ./ — scaffold into current directory - --force flag for non-empty directories - --here flag for explicit in-place scaffolding - Auto-detect when cwd matches project name - 42 total courses (8 new standalone courses) Bug fixes: - Flags (--triple --vite) now properly skip interactive prompt - Module path upgraded from /v2 to /v3 (go install gets latest)
1 parent b7f9fac commit 3058c85

5 files changed

Lines changed: 57 additions & 6 deletions

File tree

GRIT_KNOWLEDGE_BASE.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ Project Management:
409409
grit upgrade -f Force upgrade (no confirmation)
410410
grit update Self-update CLI to latest version
411411
grit compile Build desktop app executable (wails build)
412-
grit version Print current version (v3.5.1)
412+
grit version Print current version (v3.6.0)
413413

414414

415415
DEPLOYMENT
@@ -865,7 +865,7 @@ When users ask about learning Grit:
865865
VERSION HISTORY HIGHLIGHTS
866866
===========================
867867

868-
v3.5.1 (Current):
868+
v3.6.0 (Current):
869869
- Interactive CLI with architecture and frontend selection
870870
- 5 architecture modes (single, double, triple, API, mobile)
871871
- 2 frontend options (Next.js, TanStack Router)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ grit up # Back online
145145
grit deploy --host user@server.com --domain myapp.com
146146

147147
# Meta
148-
grit version # v3.5.0
148+
grit version # v3.6.0
149149
grit update # Self-update to latest
150150
grit upgrade # Upgrade project templates
151151
```

cmd/grit/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
"github.com/MUKE-coder/grit/v3/internal/scaffold"
2121
)
2222

23-
var version = "3.5.1"
23+
var version = "3.6.0"
2424

2525
func main() {
2626
rootCmd := &cobra.Command{

docs/app/docs/changelog/page.tsx

Lines changed: 52 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,61 @@ export default function ChangelogPage() {
2828
</p>
2929
</div>
3030

31-
{/* v3.5.0 */}
31+
{/* v3.6.0 */}
3232
<div className="mb-12">
3333
<div className="flex items-center gap-3 mb-4">
3434
<span className="inline-flex items-center rounded-lg bg-accent/15 px-3 py-1 text-sm font-semibold text-primary">
35+
v3.6.0
36+
</span>
37+
<span className="text-sm text-muted-foreground">March 27, 2026</span>
38+
</div>
39+
40+
<div className="prose-grit">
41+
<h3>Features</h3>
42+
<ul>
43+
<li>
44+
<strong>Scaffold into current directory</strong> &mdash; <code>grit new .</code> and{' '}
45+
<code>grit new ./</code> now scaffold into the current directory instead of creating a
46+
subfolder. Infers the project name from the folder name. Also auto-detects when the
47+
current directory name matches the project name.
48+
</li>
49+
<li>
50+
<strong><code>--force</code> flag</strong> &mdash; Allows scaffolding into non-empty
51+
directories. Useful when a repo was cloned first (with README, .git, LICENSE) before
52+
scaffolding: <code>grit new . --triple --vite --force</code>.
53+
</li>
54+
<li>
55+
<strong><code>--here</code> flag</strong> &mdash; Explicit alternative to{' '}
56+
<code>grit new .</code> for in-place scaffolding.
57+
</li>
58+
<li>
59+
<strong>30 standalone courses</strong> &mdash; Added 20 new courses to the learning
60+
platform (42 total across 3 tracks + 20 standalone). Topics include testing, GORM
61+
mastery, WebSockets, Stripe payments, blog/CMS, CI/CD, middleware, and the 100-component
62+
UI registry.
63+
</li>
64+
</ul>
65+
66+
<h3>Bug Fixes</h3>
67+
<ul>
68+
<li>
69+
<strong>Flags now skip interactive prompt</strong> &mdash; Running{' '}
70+
<code>grit new myapp --triple --vite</code> no longer shows the architecture/frontend
71+
selection prompt. Flags act as true shortcuts for non-interactive setup.
72+
</li>
73+
<li>
74+
<strong>Module path upgrade to /v3</strong> &mdash; Fixed{' '}
75+
<code>go install ...@latest</code> downloading v2.9.0 instead of v3.x.{' '}
76+
All import paths updated from <code>grit/v2</code> to <code>grit/v3</code>.
77+
</li>
78+
</ul>
79+
</div>
80+
</div>
81+
82+
{/* v3.5.0 */}
83+
<div className="mb-12">
84+
<div className="flex items-center gap-3 mb-4">
85+
<span className="inline-flex items-center rounded-lg bg-muted/50 px-3 py-1 text-sm font-semibold text-muted-foreground">
3586
v3.5.0
3687
</span>
3788
<span className="text-sm text-muted-foreground">March 26, 2026</span>

docs/components/site-header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export function SiteHeader() {
3030
Grit
3131
</span>
3232
<span className="hidden sm:inline-flex items-center rounded-full bg-primary/10 border border-primary/20 px-2 py-0.5 text-[10px] font-mono font-medium text-primary/80">
33-
v3.5.1
33+
v3.6.0
3434
</span>
3535
</Link>
3636
</div>

0 commit comments

Comments
 (0)