@yoshinani/style-guide 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
extends: ['@commitlint/config-conventional'],
|
|
3
|
+
rules: {
|
|
4
|
+
'type-enum': [
|
|
5
|
+
2,
|
|
6
|
+
'always',
|
|
7
|
+
[
|
|
8
|
+
// ビルドシステムや依存関係のみの変更
|
|
9
|
+
'build',
|
|
10
|
+
// CIワークフローの変更
|
|
11
|
+
'ci',
|
|
12
|
+
// ドキュメントのみの変更
|
|
13
|
+
'docs',
|
|
14
|
+
// 新機能
|
|
15
|
+
'feat',
|
|
16
|
+
// バグ修正
|
|
17
|
+
'fix',
|
|
18
|
+
// パフォーマンス向上のためのコード変更
|
|
19
|
+
'perf',
|
|
20
|
+
// バグ修正や新機能追加以外のコード変更
|
|
21
|
+
'refactor',
|
|
22
|
+
// 以前のコミットの取り消し
|
|
23
|
+
'revert',
|
|
24
|
+
// コードの意味に影響しない変更
|
|
25
|
+
'style',
|
|
26
|
+
// テストの追加や既存テストの修正
|
|
27
|
+
'test',
|
|
28
|
+
// 自動リリース専用
|
|
29
|
+
'release',
|
|
30
|
+
],
|
|
31
|
+
],
|
|
32
|
+
},
|
|
33
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yoshinani/style-guide",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Yoshinani's Style Guide",
|
|
5
5
|
"homepage": "https://github.com/yoshinani-dev/style-guide#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -14,11 +14,13 @@
|
|
|
14
14
|
"./typescript": "./typescript/base.json",
|
|
15
15
|
"./typescript/nextjs": "./typescript/nextjs.json",
|
|
16
16
|
"./typescript/react-library": "./typescript/react-library.json",
|
|
17
|
-
"./eslint/*": "./eslint/*.mjs"
|
|
17
|
+
"./eslint/*": "./eslint/*.mjs",
|
|
18
|
+
"./commitlint": "./commitlint/commitlint.config.mjs"
|
|
18
19
|
},
|
|
19
20
|
"files": [
|
|
20
21
|
"typescript",
|
|
21
|
-
"eslint"
|
|
22
|
+
"eslint",
|
|
23
|
+
"commitlint"
|
|
22
24
|
],
|
|
23
25
|
"dependencies": {
|
|
24
26
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
|
|
@@ -32,11 +34,11 @@
|
|
|
32
34
|
"eslint-plugin-tailwindcss": "^3.18.0",
|
|
33
35
|
"globals": "^16.0.0",
|
|
34
36
|
"typescript": "^5.8.3",
|
|
35
|
-
"typescript-eslint": "^8.31.0"
|
|
37
|
+
"typescript-eslint": "^8.31.0",
|
|
38
|
+
"@commitlint/config-conventional": "^19.8.0"
|
|
36
39
|
},
|
|
37
40
|
"devDependencies": {
|
|
38
41
|
"@commitlint/cli": "^19.8.0",
|
|
39
|
-
"@commitlint/config-conventional": "^19.8.0",
|
|
40
42
|
"husky": "^9.1.7"
|
|
41
43
|
},
|
|
42
44
|
"peerDependencies": {
|