Skip to content

Commit

Permalink
Merge branch 'di-sukharev/master' into release
Browse files Browse the repository at this point in the history
Upgrade 3.2.5 from upstream. https://github.com/di-sukharev/opencommit
  • Loading branch information
takuya-o committed Jan 4, 2025
2 parents 2c6f5ec + 9d80991 commit 96c6b3b
Show file tree
Hide file tree
Showing 84 changed files with 113,579 additions and 36,997 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@
// # Devコンテナでgit commitするときに必要な設定
// scp -p user@example.com:.ssh/config ~/.ssh/
// sudo sh -c "apt update && apt install git-secrets connect-proxy"
// # OpenCommitの設定は、.opencommetではなく環境変数で行う
// # OpenCommitの設定は、.opencommitではなく環境変数で行う

1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.env
4 changes: 2 additions & 2 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ To get started, follow these steps:
1. Clone the project repository locally.
2. Install dependencies with `npm install`.
3. Run the project with `npm run dev`.
4. See [issues](https://github.com/di-sukharev/open-commit/issues) or [TODO.md](../TODO.md) to help the project.
4. See [issues](https://github.com/di-sukharev/opencommit/issues) or [TODO.md](TODO.md) to help the project.

## Commit message guidelines

Expand All @@ -30,7 +30,7 @@ If you encounter any issues while using the project, please report them on the G

## Contacts

If you have any questions about contributing to the project, please contact by [creating an issue](https://github.com/di-sukharev/open-commit/issues) on the GitHub issue tracker.
If you have any questions about contributing to the project, please contact by [creating an issue](https://github.com/di-sukharev/opencommit/issues) on the GitHub issue tracker.

## License

Expand Down
28 changes: 0 additions & 28 deletions .github/workflows/stale.yml

This file was deleted.

46 changes: 46 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Testing

on: [pull_request]

jobs:
unit-test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Run Unit Tests
run: npm run test:unit
e2e-test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install git
run: |
sudo apt-get update
sudo apt-get install -y git
git --version
- name: Setup git
run: |
git config --global user.email "test@example.com"
git config --global user.name "Test User"
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Run E2E Tests
run: npm run test:e2e
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ src/*.json
.idea
test.ts
/.npm/
notes.md

# Created by https://www.toptal.com/developers/gitignore/api/node,emacs,Windows,MacOS
# Edit at https://www.toptal.com/developers/gitignore?templates=node,emacs,Windows,MacOS
Expand Down Expand Up @@ -73,7 +74,8 @@ flycheck_*.el
.LSOverride

# Icon must end with two \r
Icon
Icon


# Thumbnails
._*
Expand Down Expand Up @@ -265,3 +267,4 @@ $RECYCLE.BIN/
*.lnk

# End of https://www.toptal.com/developers/gitignore/api/node,emacs,Windows,MacOS

1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
out/github-action.cjs
1 change: 1 addition & 0 deletions .opencommitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
out
2 changes: 1 addition & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"semi": false,
"singleQuote": true,
"trailingComma": "all",
"printWidth": 120,
"printWidth": 80,
"arrowParens": "avoid"
}
Loading

0 comments on commit 96c6b3b

Please sign in to comment.