Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
name: Bug report
about: File a bug report to help us improve
title: "[Bug] "
labels: ["needs-triage"]
assignees: []
---

**DevMap version**

- Run: `devmap --version`

**Command run**

```
<command you ran, e.g. devmap analyze>
```

**Expected behavior**

<What you expected to happen>

**Actual behavior**

<What actually happened>

**Devmap doctor output**

```
<Run: devmap doctor>
```

**Sample project / fixture**

- Repository URL (jika private: `git remote -v`)
- Atau path lokal: `~/projects/some-app`

**Steps to reproduce**

1. ...
2. ...
3. ...

**Additional context**

- OS: ...
- Node version: ...
- AI provider: Groq / OpenRouter / custom
27 changes: 27 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: Pull Request Template
about: Template untuk kontribusi ke DevMap
title: ""
labels: ["needs-review"]
---

**Summary perbaikan**

<Singkat jelaskan perubahan apa>

**Issue terkait**

<Link ke issue ini, misal: fixes #123>

**Checklist sebelum submit**

- [ ] `devmap doctor` lolos (tanpa error)
- [ ] Test `pnpm test:cli` lolos (251 pass)
- [ ] New commands diupdate di `docs/commands.md`
- [ ] Tidak ada `console.log` di command files
- [ ] Registry terms sesuai standar (baca `docs/guide/05-signal-registry.md`)
- [ ] Code style match dengan `CONTRIBUTING.md`

**Catatan tambahan**

<Bisa menambahkan catatan untuk reviewer>
46 changes: 46 additions & 0 deletions .github/workflows/pr-welcome.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: PR Welcome

on:
pull_request:
types: [opened]

jobs:
welcome:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: Add welcome comment
uses: actions/github-script@v7
with:
script: |
const checklist = [
'## ✅ Welcome ke DevMap!',
'',
'Terima kasih sudah buat PR. Pastikan checklist ini terpenuhi sebelum review:',
'',
'- [ ] `devmap doctor` lolos (tanpa error)',
'- [ ] Test `pnpm test:cli` lolos (251 pass)',
'- [ ] New commands diupdate di `docs/commands.md`',
'- [ ] Tidak ada `console.log` di command files',
'- [ ] Registry terms sesuai standar (baca `docs/guide/05-signal-registry.md`)',
'- [ ] Code style match dengan `CONTRIBUTING.md`',
'',
'**CI akan jalan otomatis** pada setiap update. Kalau gagal, akan muncul link run di komentar ini.',
'',
'Kalau DevMap membantu, tolong star ya: <https://github.com/itsflaid/devmap>',
'',
'Terima kasih kontribusinya! 🙏'
].join('\n');
await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
body: checklist
});
await github.rest.issues.addLabels({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
labels: ['needs-review']
});
3 changes: 0 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ jobs:
- name: Smoke test CLI
run: node packages/cli/dist/index.js --version

- name: Upgrade npm for OIDC trusted publishing
run: npm install -g npm@latest

- name: Publish
run: npm publish --access public
working-directory: packages/cli
Expand Down
37 changes: 36 additions & 1 deletion docs/for-me-personal/PROGRESS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,41 @@
# Progress DevMap

Terakhir diperbarui: 2026-08-30
Terakhir diperbarui: 2026-09-04

## Update 2026-09-04

### Contributor-Friendly Infrastructure — branch `feat/contributor-friendly-infra`

Menambahkan template, workflow, dan konfigurasi agar kontributor baru lebih
mudah mulai berkontribusi ke DevMap.

1. `opencode.json` — model config untuk opencode: plan mode pakai
`9router/planner` (edit: deny, bash: ask), build mode pakai
`9router/executor`. MCP servers: Context7, Firecrawl, Exa.
2. `.github/ISSUE_TEMPLATE/bug_report.md` — template bug report dengan
fields: version, command run, expected/actual, doctor output, sample
project, steps, context. Label `needs-triage`.
3. `.github/pull_request_template.md` — PR template dengan summary, issue
link, checklist (doctor, test, docs, console.log, registry, code style).
Label `needs-review`.
4. `.github/workflows/pr-welcome.yml` — auto-comment checklist + label
`needs-review` saat PR dibuka.
5. 20 GitHub issues (#80–#99) untuk registry provider: Clerk, Auth0,
Passport, Lucia, Redis, Upstash, Memcached, LemonSqueezy, SendGrid,
Nodemailer, Mailgun, Postmark, Pusher, Ably, OneSignal, Novu, Algolia,
Meilisearch, Typesense, TogetherAI. Label `good first issue` +
`enhancement`.
6. Label `good first issue` ditambahkan ke issues #76–#79 (database
extractors: NoSQL, Drizzle, TypeORM, Mongoose).

**Dihapus**: `.github/ISSUE_TEMPLATE/star_request.md` (jelek) +
`.github/workflows/star-nudge.yml` (dead code).

**Files**: opencode.json, .github/ISSUE_TEMPLATE/bug_report.md,
.github/pull_request_template.md, .github/workflows/pr-welcome.yml,
docs/for-me-personal/PROGRESS.md.

---

## Update 2026-08-30

Expand Down
12 changes: 12 additions & 0 deletions opencode.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
{
"$schema": "https://opencode.ai/config.json",
"agent": {
"plan": {
"model": "9router/planner",
"permission": {
"edit": "deny",
"bash": "ask"
}
},
"build": {
"model": "9router/executor"
}
},
"mcp": {
"context7": {
"type": "remote",
Expand Down
Loading