Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn commitlint --edit "$1"
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn lint-staged
3 changes: 3 additions & 0 deletions .prettierrc.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
trailingComma: all
endOfLine: auto

plugins:
- prettier-plugin-packagejson
16 changes: 0 additions & 16 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
/*
* Copyright 2021 Byndyusoft
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

"use strict";

function getHelloWorldMessage() {
Expand Down
23 changes: 12 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"license": "Apache-2.0",
"author": "Byndyusoft",
"scripts": {
"postinstall": "husky install",
"postinstall": "husky",
"lint": "yarn run lint:markdown && yarn run lint:prettier",
"lint:fix": "yarn run lint:markdown:fix && yarn run lint:prettier:fix",
"lint:markdown": "markdownlint --ignore-path ./.gitignore \"./**/*.md\"",
Expand All @@ -24,19 +24,20 @@
"postpublish": "pinst --enable"
},
"devDependencies": {
"@commitlint/cli": "17.4.2",
"@commitlint/config-conventional": "17.4.2",
"husky": "8.0.3",
"lint-staged": "13.1.0",
"markdownlint-cli": "0.33.0",
"@commitlint/cli": "19.0.3",
"@commitlint/config-conventional": "19.0.3",
"@types/node": "20.11.24",
"husky": "9.0.11",
"lint-staged": "15.2.2",
"markdownlint-cli": "0.39.0",
"pinst": "3.0.0",
"prettier": "2.8.3",
"prettier-plugin-packagejson": "2.4.2",
"semantic-release": "20.1.0"
"prettier": "3.2.5",
"prettier-plugin-packagejson": "2.4.12",
"semantic-release": "23.0.2"
},
"packageManager": "yarn@4.0.0-rc.37",
"packageManager": "yarn@4.1.0",
"engines": {
"node": ">=14"
"node": ">=18"
},
"publishConfig": {
"access": "public"
Expand Down
Loading