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
17 changes: 8 additions & 9 deletions .gemini/commands/start-implementation.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
# .gemini/commands/start-implementation.toml

description="Issueの内容に従って実装を開始するタスク"
description="Task to start implementation based on issue content"
prompt = """
{{args}} の GitHub Issueの内容を理解して実装します。
Understand and implement the GitHub Issue provided in {{args}}.

https://github.com/smalruby/smalruby3-editor/issues/1 のように末尾がIssueのIDの場合はIssueの説明を元に実装します。
If the URL ends with an Issue ID (e.g., .../issues/1), implement based on the issue description.

また、 https://github.com/smalruby/smalruby3-editor/issues/20#issuecomment-3753821153 のように末尾にコメントへのハッシュを含む場合は、Issueの説明と当該コメントを読み込んで実装します。
コメントを読み込んだ際、すべてのコメントを読み込むことになるため、その中から指定されたコメントを見つけて、その内容だけを実装します。他の部分を実装しないようにし、できるだけ、なにを実装してほしいのか、実装する予定なのかをインタビューします。
If the URL includes a comment hash (e.g., .../issues/20#issuecomment-...), implement based on the issue description and the specified comment. Since all comments are retrieved, identify the target comment and implement only its content. Avoid implementing other parts. Interview the user to confirm the implementation requirements and plan.

Please use gh command to fetch the issue contents and operation GitHub.
Use the `gh` command to fetch issue content and interact with GitHub.

TDDで実装します。
実装後は、lint, commit, push, make PR.
"""
Follow TDD.
After implementation: lint, commit, push, and create a PR.
"""
36 changes: 32 additions & 4 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,38 @@
name: CI/CD

on:
pull_request: # Runs whenever a pull request is created or updated (including from another fork)
push: # Runs whenever a commit is pushed to the repository...
branches: [main, master, develop, hotfix/*] # ...on any of these branches
workflow_dispatch: # Allows you to run this workflow manually from the Actions tab
pull_request:
paths-ignore:
- '.claude/**'
- '.gemini/**'
- 'Dockerfile'
- 'docker-compose.yml'
- 'GEMINI.md'
- '.editorconfig'
- '.env.example'
- '.gitignore'
- '.mcp.json'
- 'entrypoint.sh'
- 'README.md'
- 'Release.md'
- 'TRADEMARK'
push:
branches: [main, master, develop, hotfix/*]
paths-ignore:
- '.claude/**'
- '.gemini/**'
- 'Dockerfile'
- 'docker-compose.yml'
- 'GEMINI.md'
- '.editorconfig'
- '.env.example'
- '.gitignore'
- '.mcp.json'
- 'entrypoint.sh'
- 'README.md'
- 'Release.md'
- 'TRADEMARK'
workflow_dispatch:

concurrency:
group: "${{ github.workflow }} @ ${{ github.head_ref || github.ref }}"
Expand Down
83 changes: 0 additions & 83 deletions .github/workflows/gha-debug.yml

This file was deleted.

10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM node:20-bookworm-slim
LABEL maintaner "Kouji Takao"
LABEL maintainer="Kouji Takao"

ENV LANG C.UTF-8
ENV DEBIAN_FRONTEND noninteractive
ENV LANG=C.UTF-8
ENV DEBIAN_FRONTEND=noninteractive

RUN \
set -eux \
Expand All @@ -28,11 +28,11 @@ RUN npx playwright install chromium --with-deps
# Link chromium to google-chrome just in case
RUN ln -s /usr/bin/chromium /usr/bin/google-chrome

ENV NODE_OPTIONS --max-old-space-size=4000
ENV NODE_OPTIONS="--max-old-space-size=4000"

EXPOSE 8601

COPY entrypoint.sh /app/entrypoint.sh
RUN chmod +x /app/entrypoint.sh
ENTRYPOINT ["/app/entrypoint.sh"]
CMD npm start
CMD ["npm", "start"]
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"test:integration": "npm run --workspaces test:integration",
"refresh-gh-workflow": "ts-node scripts/build-gha-workflows.ts",
"update-legal": "npm --workspaces exec -c 'rm -f ./{LICENSE,TRADEMARK} && cp -f ../../{LICENSE,TRADEMARK} .'",
"version": "cross-env-shell ./scripts/npm-version.sh"
"version": "cross-env-shell ./scripts/npm-version.sh",
"start": "npm run --workspace=packages/scratch-gui start"
},
"config": {
"commitizen": {
Expand Down
Loading