From 462e5311f817f8b79359f9162f4ff62a4e0866ef Mon Sep 17 00:00:00 2001 From: Matheus Baldi Date: Fri, 7 Feb 2025 18:53:14 -0300 Subject: [PATCH 1/2] fix: change commitlint reference to last badly formed commit --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 12b4449..a2b16ef 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "prepare": "grunt build", "test": "TS_NODE_PROJECT='tests/tsconfig.json' TS_NODE_FILES=true nyc mocha", "check-node-version": "check-node-version --npm 10.5.0", - "commitlint": "commitlint --from 86324da", + "commitlint": "commitlint --from 47a4aea", "eslint": "eslint '{,!(node_modules|dist)/**/}*.{js,ts}'", "markdownlint": "markdownlint -c .markdownlint.json -i CHANGELOG.md '{,!(node_modules)/**/}*.md'", "standards": "tsc -p tsconfig.json --pretty && npm run markdownlint && npm run eslint", From 6b15b11cc0b5337b8df9744e774cdfd5a53a0555 Mon Sep 17 00:00:00 2001 From: Matheus Baldi Date: Fri, 7 Feb 2025 18:40:52 -0300 Subject: [PATCH 2/2] ci: add npm run commitlint to standards script --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a2b16ef..5d215b1 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "commitlint": "commitlint --from 47a4aea", "eslint": "eslint '{,!(node_modules|dist)/**/}*.{js,ts}'", "markdownlint": "markdownlint -c .markdownlint.json -i CHANGELOG.md '{,!(node_modules)/**/}*.md'", - "standards": "tsc -p tsconfig.json --pretty && npm run markdownlint && npm run eslint", + "standards": "tsc -p tsconfig.json --pretty && npm run commitlint && npm run markdownlint && npm run eslint", "release:preview": "node ./node_modules/@silvermine/standardization/scripts/release.js preview", "release:prep-changelog": "node ./node_modules/@silvermine/standardization/scripts/release.js prep-changelog", "release:finalize": "node ./node_modules/@silvermine/standardization/scripts/release.js finalize"