mirror of https://github.com/nodejs/node.git
fixup! fixup! tools: update clang-format to v18
This commit is contained in:
parent
801587f51b
commit
5484ac9721
2
Makefile
2
Makefile
|
@ -1476,7 +1476,7 @@ CLANG_FORMAT_START ?= HEAD
|
|||
format-cpp: ## Format C++ diff from $CLANG_FORMAT_START to current changes.
|
||||
ifneq ("","$(wildcard tools/clang-format/node_modules/)")
|
||||
$(info Formatting C++ diff from $(CLANG_FORMAT_START)..)
|
||||
@$(PYTHON) tools/clang-format/node_modules/.bin/git-clang-format \
|
||||
@$(NODE) tools/clang-format/node_modules/.bin/git-clang-format \
|
||||
--binary=tools/clang-format/node_modules/.bin/clang-format \
|
||||
--style=file \
|
||||
$(CLANG_FORMAT_START) -- \
|
||||
|
|
|
@ -6,25 +6,54 @@
|
|||
"packages": {
|
||||
"": {
|
||||
"dependencies": {
|
||||
"node-core-clang-format": "^19.1.1"
|
||||
"clang-format-git-python": "^1.2.0-canary.0"
|
||||
}
|
||||
},
|
||||
"node_modules/node-core-clang-format": {
|
||||
"version": "19.1.1",
|
||||
"resolved": "https://registry.npmjs.org/node-core-clang-format/-/node-core-clang-format-19.1.1.tgz",
|
||||
"integrity": "sha512-gMCCUo6VA7AQ50hBjJZAL5DCbAQOZST96y/GCMbOltGBZreNOAkhiY49Urcc2bylyRvSosJ4jOg/NEAZh7km1Q==",
|
||||
"node_modules/clang-format-git-python": {
|
||||
"version": "1.2.0-canary.0",
|
||||
"resolved": "https://registry.npmjs.org/clang-format-git-python/-/clang-format-git-python-1.2.0-canary.0.tgz",
|
||||
"integrity": "sha512-O6fJqpjZT2cbUiGoTLxfj686203WEm+upI241cbFUwD8GwV1yZ3U4GxPaLdsL1eb6QyQGq7pamaxjSczSrk4Xw==",
|
||||
"hasInstallScript": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"clang-format-node": "^1.2.0-canary.0"
|
||||
},
|
||||
"bin": {
|
||||
"clang-format-git-python": "build/cli.js",
|
||||
"git-clang-format": "build/cli.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16"
|
||||
}
|
||||
},
|
||||
"node_modules/clang-format-node": {
|
||||
"version": "1.2.0-canary.0",
|
||||
"resolved": "https://registry.npmjs.org/clang-format-node/-/clang-format-node-1.2.0-canary.0.tgz",
|
||||
"integrity": "sha512-3PMPDmu8TcuR4aanbT3cs2JWoRFd49D8xpufg3Wek6BagbQaqe3aitBAh9MuY1TKtGwgC2gcpknqQgFAq4Zg5A==",
|
||||
"hasInstallScript": true,
|
||||
"license": "MIT",
|
||||
"bin": {
|
||||
"clang-format": "src/executable.js",
|
||||
"git-clang-format": "binaries/git-clang-format"
|
||||
"clang-format": "build/cli.js",
|
||||
"clang-format-node": "build/cli.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16"
|
||||
}
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"node-core-clang-format": {
|
||||
"version": "19.1.1",
|
||||
"resolved": "https://registry.npmjs.org/node-core-clang-format/-/node-core-clang-format-19.1.1.tgz",
|
||||
"integrity": "sha512-gMCCUo6VA7AQ50hBjJZAL5DCbAQOZST96y/GCMbOltGBZreNOAkhiY49Urcc2bylyRvSosJ4jOg/NEAZh7km1Q=="
|
||||
"clang-format-git-python": {
|
||||
"version": "1.2.0-canary.0",
|
||||
"resolved": "https://registry.npmjs.org/clang-format-git-python/-/clang-format-git-python-1.2.0-canary.0.tgz",
|
||||
"integrity": "sha512-O6fJqpjZT2cbUiGoTLxfj686203WEm+upI241cbFUwD8GwV1yZ3U4GxPaLdsL1eb6QyQGq7pamaxjSczSrk4Xw==",
|
||||
"requires": {
|
||||
"clang-format-node": "^1.2.0-canary.0"
|
||||
}
|
||||
},
|
||||
"clang-format-node": {
|
||||
"version": "1.2.0-canary.0",
|
||||
"resolved": "https://registry.npmjs.org/clang-format-node/-/clang-format-node-1.2.0-canary.0.tgz",
|
||||
"integrity": "sha512-3PMPDmu8TcuR4aanbT3cs2JWoRFd49D8xpufg3Wek6BagbQaqe3aitBAh9MuY1TKtGwgC2gcpknqQgFAq4Zg5A=="
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"dependencies": {
|
||||
"node-core-clang-format": "^19.1.1"
|
||||
"clang-format-git-python": "^1.2.0-canary.0"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue