Skip to content
This repository was archived by the owner on Apr 22, 2024. It is now read-only.

Commit 778f9a5

Browse files
committed
refactor: added commitlint
1 parent 029f4de commit 778f9a5

File tree

4 files changed

+1447
-2
lines changed

4 files changed

+1447
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,4 @@ dist
102102

103103
# TernJS port file
104104
.tern-port
105+
.idea

commitlint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = {extends: ['@commitlint/config-conventional']}

package.json

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,23 @@
44
"description": "Redis driver for the SSR cache in Vue Storefront 2",
55
"license": "MIT",
66
"main": "index.js",
7+
"scripts": {
8+
"publish:driver": "node ./scripts/publishDriver.js"
9+
},
710
"dependencies": {
811
"redis-tag-cache": "^1.2.1"
912
},
13+
"devDependencies": {
14+
"@commitlint/cli": "^16.1.0",
15+
"@commitlint/config-conventional": "^16.0.0",
16+
"@commitlint/config-lerna-scopes": "^16.0.0"
17+
},
1018
"files": [
11-
"index.js"
12-
]
19+
"src/index.js"
20+
],
21+
"engines": {
22+
"node": ">=12.x.x",
23+
"yarn": "1.x.x||>=3.x.x"
24+
},
25+
"packageManager": "yarn@1.22.15"
1326
}

0 commit comments

Comments
 (0)