-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
126 lines (126 loc) · 3.36 KB
/
Copy pathpackage.json
File metadata and controls
126 lines (126 loc) · 3.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"scripts": {
"lint": "npx --yes lint-staged -p false",
"update": "npm-check-updates -i -u",
"update-all": "npm run update -w --root"
},
"config": {
"commitizen": {
"path": "@commitlint/cz-commitlint"
}
},
"devDependencies": {
"npm-check-updates": "*"
},
"private": true,
"prettier": {
"insertPragma": true,
"overrides": [
{
"files": "*.yml",
"options": {
"useTabs": false,
"tabWidth": 2
}
},
{
"files": "*.json",
"options": {
"useTabs": false,
"tabWidth": 4
}
}
],
"plugins": [
"prettier-plugin-sh"
],
"semi": false,
"singleQuote": true,
"tabWidth": 4,
"trailingComma": "es5"
},
"bump-changelog": {
"types": [
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "feat",
"section": "Features"
}
]
},
"bump-version": {
"files": [
{
"filename": "VERSION",
"type": "plain-text"
},
{
"filename": "composer.json",
"type": "json"
},
{
"filename": "devcontainer-feature.json",
"type": "json@ws"
},
{
"filename": "package.json",
"type": "json"
},
{
"filename": "package.json",
"type": "json@ws"
}
]
},
"commit-and-tag-version": {
"scripts": {
"prebump": "gitversion -config .gitversion -showvariable SemVer"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional",
"@commitlint/config-workspace-scopes"
],
"rules": {
"subject-case": [
2,
"never",
[
"start-case",
"pascal-case",
"upper-case"
]
]
}
},
"git-precommit-checks": {
"rules": [
{
"message": "You've got leftover conflict markers",
"regex": "/^[<>|=]{4,}/m"
},
{
"filter": "(^package\\.json|\\.git-precommit-checks.json)$",
"message": "You have unfinished devs",
"nonBlocking": "true",
"regex": "(?:FIXME|TODO)"
}
]
},
"lint-staged": {
"!(*schema).json": [
"normalize-json -c -w -a -i -t 4 -f local -l true"
],
"!(templates/**/*).{js,jsx,ts,tsx,md,html,css,vue,yaml,yml,json}": [
"npx --yes prettier --write"
]
},
"validate-branch-name": {
"errorMsg": "Please use a branch name that follows the pattern: (master|main|develop) or (copilot|feature|fix|hotfix|release)/<description>.\nUse git push --no-verify to bypass this check if necessary.",
"pattern": "^(master|main|develop){1}$|^(copilot|feature|fix|hotfix|release)/.+$"
}
}