Skip to content

Commit 889b52b

Browse files
Merge pull request #9 from emulsify-ds/emulsify-548
fix: replace commitizen with lint-staged and husky
2 parents 7cfe425 + dddd1b4 commit 889b52b

15 files changed

Lines changed: 8448 additions & 5730 deletions

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
**This PR does the following:**
2+
- Adds functionality bullet item
3+
- Fixes this or that bullet item
4+
5+
### Related Issue(s)
6+
- [Title of the issue](https://github.com/emulsify-ds/emulsify_tools_/issues/1)
7+
8+
### Notes:
9+
- (optional) Document any intentionally unfinished parts or known issues within this PR
10+
11+
### Functional Testing:
12+
- [ ] Document steps that allow someone to fully test your code changes. Include screenshot and links when appropriate.
13+
14+
### Security
15+
_Security checks that should be reviewed_
16+
17+
### Accessibility
18+
_Should this be checked for this feature?_
19+
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
### Describe the bug
2+
_A clear and concise description of what the bug is._
3+
4+
### Steps to reproduce the bug
5+
Steps to reproduce the behavior:
6+
1. Go to '...'
7+
2. Click on '....'
8+
3. Scroll down to '....'
9+
4. See error
10+
11+
### Expected behavior
12+
A clear and concise description of what you expected to happen.
13+
14+
### Suggested solution or approach:
15+
_(optional) Describe a solution or approach to your request that may help with implementation._
16+
17+
### Additional context
18+
_(optional) Add any other context or screenshots about the feature request here._
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
### Emulsify Tools Version:
2+
- [1.0.0](https://github.com/emulsify-ds/emulsify_tools_/releases)):
3+
4+
### Description of the feature request:
5+
_Please give as much information as possible_
6+
7+
### Suggested solution or approach:
8+
_(optional) Describe a solution or approach to your request that may help with implementation._
9+
10+
### Additional context:
11+
_(optional) Add any other context or screenshots about the feature request here._

.github/workflows/semantic-release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
name: Semantic Release on Merge
22
on:
33
push:
4-
branches:
5-
- 'master'
4+
branches: [main]
65
jobs:
76
release:
87
name: Attempt Semantic Release
98
runs-on: ubuntu-latest
109
steps:
1110
- name: Checkout
12-
uses: actions/checkout@v3
11+
uses: actions/checkout@v4
12+
with:
13+
fetch-depth: 0
1314
- name: Semantic Release
1415
uses: cycjimmy/semantic-release-action@v3
1516
env:

.gitignore

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Ignore compiled files.
2+
dist
3+
4+
# npm
5+
node_modules
6+
7+
# System
8+
.DS_Store
9+
.history
10+
.idea
11+
.vscode
12+
13+
# Git deploy
14+
.publish
15+
16+
# Composer
17+
composer.lock
18+
vendor

.husky/.gitignore

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

.husky/commit-msg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/sh
2+
npm run husky:commit-msg

.husky/pre-commit

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/sh
2+
npm run husky:pre-commit

.nvmrc

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

commitlint.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
const Configuration = {
2+
extends: ["@commitlint/config-conventional"],
3+
};
4+
5+
export default Configuration;

0 commit comments

Comments
 (0)