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
31 changes: 15 additions & 16 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,35 @@
---
name: Bug report
about: Create a report to help us improve
title: '[BUG] '
labels: bug
name: Bug Report
about: Report a bug to help us improve
title: "[Bug] "
labels: [bug]
assignees: ''
---

## Describe the bug

A clear and concise description of what the bug is.

## To Reproduce
## Steps to reproduce

Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. See error
2. Click on '...'
3. Enter value '...'
4. See error

## Expected behavior

A clear and concise description of what you expected to happen.

## Screenshots
## Actual behavior

If applicable, add screenshots to help explain your problem.
A clear and concise description of what actually happened.

## Environment
## Browser / OS

- OS: [e.g. macOS 14, Ubuntu 22.04]
- Node version: [e.g. 20.x]
- Version: [e.g. 1.0.0]
- Browser: [e.g. Chrome 124, Firefox 125, Safari 17]
- OS: [e.g. macOS 14, Windows 11, Ubuntu 22.04]

## Additional context
## Screenshots (optional)

Add any other context about the problem here.
If applicable, add screenshots to help explain your problem.
12 changes: 6 additions & 6 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
name: Feature request
about: Suggest an idea for this project
title: '[FEAT] '
labels: enhancement
name: Feature Request
about: Suggest an idea or improvement
title: "[Feature] "
labels: [enhancement]
assignees: ''
---

## Is your feature request related to a problem?

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
A clear and concise description of what the problem is. Example: I'm always frustrated when [...]

## Describe the solution you'd like

Expand All @@ -20,4 +20,4 @@ A clear and concise description of any alternative solutions or features you've

## Additional context

Add any other context or screenshots about the feature request here.
Add any other context, mockups, or screenshots about the feature request here.
23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/new_tool.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: New Tool Request
about: Suggest a new developer tool to add to devutils
title: "[New Tool] "
labels: [new-tool, enhancement]
assignees: ''
---

## Tool name

What should this tool be called?

## What does it do?

A clear and concise description of what the tool does and how it works.

## Why is it useful for developers?

Explain the use case and why developers would benefit from having this tool in devutils.

## Any existing online version of this tool?

Link to any existing online implementations of this tool (e.g. on other sites) so we can understand the expected behavior and UX.
22 changes: 10 additions & 12 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
## Description

Please include a summary of the changes and the related issue.

Fixes # (issue)
<!-- A clear and concise description of what this PR does. -->

## Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Bug fix
- [ ] New feature
- [ ] New tool
- [ ] Documentation update
- [ ] Other (describe):

## Checklist

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] All tests pass (`npm test` or equivalent)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WARNING: Package manager mismatch — uses npm test instead of pnpm test

The project standard is pnpm (see pnpm-lock.yaml, README.md, and ci.yml), but this checklist still references npm test.

Suggested change
- [ ] All tests pass (`npm test` or equivalent)
- [ ] All tests pass (`pnpm test` or equivalent)

Reply with @kilocode-bot fix it to have Kilo Code address this issue.

- [ ] Lint passes with no new errors (`npm run lint` or equivalent)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WARNING: Package manager mismatch — uses npm run lint instead of pnpm lint

The project standard is pnpm (see pnpm-lock.yaml, README.md, and ci.yml), but this checklist still references npm run lint.

Suggested change
- [ ] Lint passes with no new errors (`npm run lint` or equivalent)
- [ ] Lint passes with no new errors (`pnpm lint` or equivalent)

Reply with @kilocode-bot fix it to have Kilo Code address this issue.

- [ ] Screenshots included for any UI changes
- [ ] No `console.log` statements left in production code
- [ ] Tool (if applicable) works fully offline without external network requests
82 changes: 53 additions & 29 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,44 +2,68 @@ name: CI

on:
push:
branches: [main, master]
branches: [main]
pull_request:
branches: [main, master]
branches: [main]

jobs:
lint-and-test:
name: Lint & Test
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: latest

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Lint
run: pnpm lint

- name: Test
run: pnpm test -- --watchAll=false --passWithNoTests

build:
name: Build
runs-on: ubuntu-latest
needs: lint-and-test

steps:
- uses: actions/checkout@v4
- name: Checkout
uses: actions/checkout@v4

- name: Set up Node.js
if: ${{ hashFiles('package.json') != '' }}
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: latest

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
node-version: 22
cache: pnpm

- name: Install dependencies
if: ${{ hashFiles('package.json') != '' }}
run: npm ci || npm install

- name: Run lint
if: ${{ hashFiles('package.json') != '' }}
run: |
if npm run lint --if-present 2>/dev/null; then
echo "Lint passed"
else
echo "No lint script or lint skipped"
fi
continue-on-error: true

- name: Run tests
if: ${{ hashFiles('package.json') != '' }}
run: |
if npm test --if-present 2>/dev/null; then
echo "Tests passed"
else
echo "No test script or tests skipped"
fi
continue-on-error: true
run: pnpm install --frozen-lockfile

- name: Build
run: pnpm build

- name: Upload dist artifact
uses: actions/upload-artifact@v4
with:
name: dist
path: dist/
retention-days: 7
Loading
Loading