Skip to content

Commit 96c6b3b

Browse files
committed
Merge branch 'di-sukharev/master' into release
Upgrade 3.2.5 from upstream. https://github.com/di-sukharev/opencommit
2 parents 2c6f5ec + 9d80991 commit 96c6b3b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+113579
-36997
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@
3636
// # Devコンテナでgit commitするときに必要な設定
3737
// scp -p user@example.com:.ssh/config ~/.ssh/
3838
// sudo sh -c "apt update && apt install git-secrets connect-proxy"
39-
// # OpenCommitの設定は、.opencommetではなく環境変数で行う
39+
// # OpenCommitの設定は、.opencommitではなく環境変数で行う
4040

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.env

.github/CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ To get started, follow these steps:
1818
1. Clone the project repository locally.
1919
2. Install dependencies with `npm install`.
2020
3. Run the project with `npm run dev`.
21-
4. See [issues](https://github.com/di-sukharev/open-commit/issues) or [TODO.md](../TODO.md) to help the project.
21+
4. See [issues](https://github.com/di-sukharev/opencommit/issues) or [TODO.md](TODO.md) to help the project.
2222

2323
## Commit message guidelines
2424

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

3131
## Contacts
3232

33-
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.
33+
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.
3434

3535
## License
3636

.github/workflows/stale.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Testing
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
unit-test:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
node-version: [20.x]
11+
steps:
12+
- uses: actions/checkout@v2
13+
- name: Use Node.js ${{ matrix.node-version }}
14+
uses: actions/setup-node@v2
15+
with:
16+
node-version: ${{ matrix.node-version }}
17+
- name: Install dependencies
18+
run: npm install
19+
- name: Run Unit Tests
20+
run: npm run test:unit
21+
e2e-test:
22+
runs-on: ubuntu-latest
23+
strategy:
24+
matrix:
25+
node-version: [20.x]
26+
steps:
27+
- uses: actions/checkout@v2
28+
- name: Use Node.js ${{ matrix.node-version }}
29+
uses: actions/setup-node@v2
30+
with:
31+
node-version: ${{ matrix.node-version }}
32+
- name: Install git
33+
run: |
34+
sudo apt-get update
35+
sudo apt-get install -y git
36+
git --version
37+
- name: Setup git
38+
run: |
39+
git config --global user.email "test@example.com"
40+
git config --global user.name "Test User"
41+
- name: Install dependencies
42+
run: npm install
43+
- name: Build
44+
run: npm run build
45+
- name: Run E2E Tests
46+
run: npm run test:e2e

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ src/*.json
1111
.idea
1212
test.ts
1313
/.npm/
14+
notes.md
1415

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

7576
# Icon must end with two \r
76-
Icon
77+
Icon
78+
7779

7880
# Thumbnails
7981
._*
@@ -265,3 +267,4 @@ $RECYCLE.BIN/
265267
*.lnk
266268

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

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
out/github-action.cjs

.opencommitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
out

.prettierrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"semi": false,
33
"singleQuote": true,
44
"trailingComma": "all",
5-
"printWidth": 120,
5+
"printWidth": 80,
66
"arrowParens": "avoid"
77
}

0 commit comments

Comments
 (0)