feat: upgrade yarn, add linting packages
This commit is contained in:
parent
139a4a6766
commit
a738e8c415
3
.commitlintrc
Normal file
3
.commitlintrc
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"extends": ["@commitlint/config-conventional"]
|
||||
}
|
||||
10
.editorconfig
Normal file
10
.editorconfig
Normal file
@ -0,0 +1,10 @@
|
||||
root = true
|
||||
|
||||
[*]
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
|
||||
[*.{js,json,yml}]
|
||||
charset = utf-8
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
1
.husky/commit-msg
Normal file
1
.husky/commit-msg
Normal file
@ -0,0 +1 @@
|
||||
npx --no -- commitlint --edit $1
|
||||
8
.versionrc
Normal file
8
.versionrc
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"header": "# ksv741 Eslint Config",
|
||||
"releaseCommitMessageFormat": "build: v{{currentTag}}",
|
||||
"types": [
|
||||
{"type": "feat", "section": "🚀 New Features"},
|
||||
{"type": "fix", "section": "\uD83D\uDEE0\uFE0F Bug Fixes"}
|
||||
]
|
||||
}
|
||||
BIN
.yarn/install-state.gz
Normal file
BIN
.yarn/install-state.gz
Normal file
Binary file not shown.
893
.yarn/releases/yarn-4.1.1.cjs
vendored
Executable file
893
.yarn/releases/yarn-4.1.1.cjs
vendored
Executable file
File diff suppressed because one or more lines are too long
7
.yarnrc.yml
Normal file
7
.yarnrc.yml
Normal file
@ -0,0 +1,7 @@
|
||||
nodeLinker: node-modules
|
||||
|
||||
npmAuthToken: "${NODE_AUTH_TOKEN-fallback}"
|
||||
|
||||
npmPublishRegistry: "https://registry.npmjs.org"
|
||||
|
||||
yarnPath: .yarn/releases/yarn-4.1.1.cjs
|
||||
@ -24,7 +24,11 @@
|
||||
},
|
||||
"version": "0.0.1",
|
||||
"devDependencies": {
|
||||
"eslint": "8.56.0"
|
||||
"@commitlint/cli": "19.2.1",
|
||||
"@commitlint/config-conventional": "19.1.0",
|
||||
"eslint": "8.56.0",
|
||||
"husky": "9.0.11",
|
||||
"standard-version": "9.5.0"
|
||||
},
|
||||
"main": "index.js",
|
||||
"engines": {
|
||||
@ -62,6 +66,8 @@
|
||||
"./jest": "./js-ts-jest.js"
|
||||
},
|
||||
"scripts": {
|
||||
"release": "standard-version",
|
||||
"release:rc": "standard-version --prerelease rc",
|
||||
"prepare": "husky"
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user