clang-format-node 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -10
- package/build/bin/darwin-arm64/clang-format +0 -0
- package/build/bin/darwin-x64/clang-format +0 -0
- package/build/bin/linux-arm/clang-format +0 -0
- package/build/bin/linux-arm64/clang-format +0 -0
- package/build/bin/linux-ppc64/clang-format +0 -0
- package/build/bin/linux-s390x/clang-format +0 -0
- package/build/bin/linux-x64/clang-format +0 -0
- package/build/bin/win32-x64/clang-format.exe +0 -0
- package/package.json +6 -3
package/README.md
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
[](https://github.com/lumirlumir/npm-clang-format-node/actions/workflows/test.yml)
|
|
5
5
|
[](https://github.com/lumirlumir/npm-clang-format-node/actions/workflows/test-cross-platform.yml)
|
|
6
6
|
[](https://codecov.io/gh/lumirlumir/npm-clang-format-node)
|
|
7
|
+

|
|
7
8
|
[](https://www.npmjs.com/package/clang-format-node)
|
|
8
9
|
&color=violet&display_name=release)
|
|
9
10
|
|
|
@@ -52,20 +53,32 @@ It supports **ALL** [**Tier1**](https://github.com/nodejs/node/blob/main/BUILDIN
|
|
|
52
53
|
> - `clang+llvm-18.1.7-x86_64-pc-windows-msvc.tar.xz`
|
|
53
54
|
> - `and more...`
|
|
54
55
|
|
|
56
|
+
### Node.js
|
|
57
|
+
|
|
58
|
+

|
|
59
|
+
|
|
60
|
+
The official support for <u>**Node.js version 16 and above**</u> has been confirmed through [testing](/.github/workflows/test-cross-platform.yml).
|
|
61
|
+
|
|
62
|
+
> [!NOTE]
|
|
63
|
+
>
|
|
64
|
+
> However, this package does not utilize the latest features of Node.js and is transpiled using Babel. Therefore, it is expected to work on versions significantly lower than the officially supported ones. (ex. `"node": ">= 0.7.10"`) Consequently, **if the current package operates on a version of Node.js that is lower than the officially supported version, it should be perfectly fine to use.**
|
|
65
|
+
|
|
55
66
|
### [GitHub Actions Runner Images](https://github.com/actions/runner-images?tab=readme-ov-file#available-images)
|
|
56
67
|
|
|
57
68
|
If you want to use `clang-format-node` in continuous integration (CI), You can use **GitHub Actions**. The following basic runner images are compatible(available) with `clang-format-node`.
|
|
58
69
|
|
|
59
70
|
Image | YAML Label | Included Software |
|
|
60
71
|
---------------------------- | ---------------------------------------------------------------------- | ----------------- |
|
|
61
|
-
macOS
|
|
62
|
-
macOS
|
|
63
|
-
macOS
|
|
64
|
-
macOS
|
|
65
|
-
macOS
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
72
|
+
macOS 15 | `macos-15-large` | macOS-15 |
|
|
73
|
+
macOS 15 Arm64 | `macos-15` or `macos-15-xlarge` | macOS-15-arm64 |
|
|
74
|
+
macOS 14 | `macos-latest-large` or `macos-14-large` | macOS-14 |
|
|
75
|
+
macOS 14 Arm64 | `macos-latest`, `macos-14`, `macos-latest-xlarge` or `macos-14-xlarge` | macOS-14-arm64 |
|
|
76
|
+
macOS 13 | `macos-13` or `macos-13-large` | macOS-13 |
|
|
77
|
+
macOS 13 Arm64 | `macos-13-xlarge` | macOS-13-arm64 |
|
|
78
|
+
macOS 12 | `macos-12` or `macos-12-large` | macOS-12 |
|
|
79
|
+
Ubuntu 24.04 | `ubuntu-latest` or `ubuntu-24.04` | ubuntu-24.04 |
|
|
80
|
+
Ubuntu 22.04 | `ubuntu-22.04` | ubuntu-22.04 |
|
|
81
|
+
Windows Server 2022 | `windows-latest` or `windows-2022` | windows-2022 |
|
|
69
82
|
|
|
70
83
|
However, the following basic runner images are **NOT** compatible(available) with `clang-format-node`. It's because the ***dependencies*** for LLVM's latest release version are not compatible with the following images.
|
|
71
84
|
|
|
@@ -399,9 +412,9 @@ If you want to learn more about the images I used, see [Docker(Build) Images](#d
|
|
|
399
412
|
|
|
400
413
|
This project adheres to [Semantic Versioning](https://semver.org/).
|
|
401
414
|
|
|
402
|
-
[LLVM
|
|
415
|
+
The BREAKING CHANGES, features and bug fixes from [LLVM](https://github.com/llvm/llvm-project/releases) will be reflected in this package.
|
|
403
416
|
|
|
404
|
-
See [`.clang-format-version`](/.clang-format-version) to check the exact current LLVM version.
|
|
417
|
+
The release title includes the LLVM version, like `v1.0.0 (llvmorg-18.1.8)`. See [`.clang-format-version`](/.clang-format-version) to check the exact current LLVM version.
|
|
405
418
|
|
|
406
419
|
## Change Log
|
|
407
420
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clang-format-node",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Node repackaging of the clang-format native binary inspired by angular/clang-format.🐉",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"files": [
|
|
@@ -37,6 +37,9 @@
|
|
|
37
37
|
"bugs": {
|
|
38
38
|
"url": "https://github.com/lumirlumir/npm-clang-format-node/issues"
|
|
39
39
|
},
|
|
40
|
+
"engines": {
|
|
41
|
+
"node": ">=16"
|
|
42
|
+
},
|
|
40
43
|
"scripts": {
|
|
41
44
|
"prepare": "husky",
|
|
42
45
|
"postinstall": "find ./build/bin -type f -exec chmod 755 {} + || true",
|
|
@@ -58,7 +61,7 @@
|
|
|
58
61
|
"@babel/core": "^7.25.2",
|
|
59
62
|
"@babel/preset-env": "^7.25.3",
|
|
60
63
|
"concurrently": "^9.0.0",
|
|
61
|
-
"editorconfig-checker": "^
|
|
64
|
+
"editorconfig-checker": "^6.0.0",
|
|
62
65
|
"eslint": "^8.57.0",
|
|
63
66
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
64
67
|
"eslint-config-prettier": "^9.1.0",
|
|
@@ -66,7 +69,7 @@
|
|
|
66
69
|
"eslint-plugin-prettier": "^5.2.1",
|
|
67
70
|
"husky": "^9.1.5",
|
|
68
71
|
"lint-staged": "^15.2.10",
|
|
69
|
-
"markdownlint-cli": "^0.
|
|
72
|
+
"markdownlint-cli": "^0.42.0",
|
|
70
73
|
"mocha": "^10.7.3",
|
|
71
74
|
"nyc": "^17.0.0",
|
|
72
75
|
"prettier": "^3.3.3"
|