mirror of https://gitlab.com/gitlab-org/cli.git
Merge branch 'jmc-commitlint-update-deps' into 'main'
chore(docs): update dependencies for commit-lint script See merge request https://gitlab.com/gitlab-org/cli/-/merge_requests/1439 Merged-by: Oscar Tovar <otovar@gitlab.com> Approved-by: Ezekiel Kigbo <3397881-ekigbo@users.noreply.gitlab.com> Approved-by: Oscar Tovar <otovar@gitlab.com> Reviewed-by: Ezekiel Kigbo <3397881-ekigbo@users.noreply.gitlab.com> Co-authored-by: Jay McCure <jmccure@gitlab.com>
This commit is contained in:
commit
b160a47b70
|
@ -60,3 +60,6 @@ log.txt.glab-cli
|
|||
|
||||
# gotestsum test log
|
||||
test-output.log
|
||||
|
||||
# commitlint node_modules
|
||||
scripts/commit-lint/node_modules/
|
||||
|
|
|
@ -73,7 +73,7 @@ check_docs_markdown:
|
|||
|
||||
lint_commit:
|
||||
stage: test
|
||||
image: node:16-slim
|
||||
image: node:18-slim
|
||||
script:
|
||||
- apt-get update && apt-get install -y git
|
||||
- git fetch origin $CI_MERGE_REQUEST_TARGET_BRANCH_NAME && git checkout $CI_MERGE_REQUEST_TARGET_BRANCH_NAME && git checkout $CI_COMMIT_SHA
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
const axios = require('axios').default;
|
||||
const read = require('@commitlint/read').default;
|
||||
const lint = require('@commitlint/lint').default;
|
||||
const format = require('@commitlint/format').default;
|
||||
const config = require('@commitlint/config-conventional');
|
||||
import axios from "axios";
|
||||
import read from "@commitlint/read";
|
||||
import lint from "@commitlint/lint";
|
||||
import format from "@commitlint/format";
|
||||
import config from "@commitlint/config-conventional";
|
||||
|
||||
const maximumLineLength = 72;
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -4,11 +4,12 @@
|
|||
"main": "lint.js",
|
||||
"author": "",
|
||||
"license": "MIT",
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"@commitlint/config-conventional": "^9.1.1",
|
||||
"@commitlint/format": "^9.1.1",
|
||||
"@commitlint/lint": "^9.1.1",
|
||||
"@commitlint/read": "^9.1.1",
|
||||
"axios": "^0.19.2"
|
||||
"@commitlint/config-conventional": "^19.2.2",
|
||||
"@commitlint/format": "^19.0.3",
|
||||
"@commitlint/lint": "^19.2.2",
|
||||
"@commitlint/read": "^19.2.1",
|
||||
"axios": "^1.6.8"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue