clang-format-node 1.2.1-canary.0 → 1.2.2
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 +38 -17
- package/build/bin/cfn-darwin-arm64/clang-format +0 -0
- package/build/bin/cfn-darwin-x64/clang-format +0 -0
- package/build/bin/cfn-linux-arm/clang-format +0 -0
- package/build/bin/cfn-linux-arm64/clang-format +0 -0
- package/build/bin/cfn-linux-ppc64/clang-format +0 -0
- package/build/bin/cfn-linux-s390x/clang-format +0 -0
- package/build/bin/cfn-linux-x64/clang-format +0 -0
- package/build/bin/cfn-win32-x64/clang-format.exe +0 -0
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -19,9 +19,10 @@ Your support helps us improve and maintain the project.
|
|
|
19
19
|
[](https://github.com/lumirlumir/npm-clang-format-node/actions/workflows/test-cross-platform.yml)
|
|
20
20
|
[](https://codecov.io/gh/lumirlumir/npm-clang-format-node)
|
|
21
21
|
|
|
22
|
+
[](https://codeclimate.com/github/lumirlumir/npm-clang-format-node/maintainability)
|
|
22
23
|
[](https://clang-format-node.lumir.page)
|
|
23
24
|
|
|
24
|
-
Node
|
|
25
|
+
Node wrapper for LLVM Clang's `clang-format` and `git-clang-format` native binaries inspired by [angular/clang-format](https://github.com/angular/clang-format).🐉
|
|
25
26
|
|
|
26
27
|
<!-- markdownlint-disable-next-line -->
|
|
27
28
|
</div>
|
|
@@ -32,44 +33,64 @@ Node repackaging(wrapping) of the **LLVM Clang's** `clang-format` and `git-clang
|
|
|
32
33
|
|
|
33
34
|
## Included Packages
|
|
34
35
|
|
|
35
|
-
This repository is maintained as a **monorepo** and includes the following packages.
|
|
36
|
+
This repository is maintained as a **monorepo** and includes the following **three** packages.
|
|
36
37
|
|
|
37
|
-
|
|
38
|
-
Node repackaging of the `clang-format` native binary. (The **CORE** package.) [『Docs』](/docs/02-packages/01-clang-format-node.md), [『Repository』](https://github.com/lumirlumir/npm-clang-format-node/tree/main/packages/clang-format-node), [『npm』](https://www.npmjs.com/package/clang-format-node)
|
|
38
|
+
### `clang-format-node` [](https://www.npmjs.com/package/clang-format-node)
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
> [Docs](/docs/02-packages/01-clang-format-node.md) | [Repository](https://github.com/lumirlumir/npm-clang-format-node/tree/main/packages/clang-format-node) | [npm](https://www.npmjs.com/package/clang-format-node)
|
|
41
41
|
|
|
42
|
-
|
|
42
|
+
Node wrapper for `clang-format` native binary inspired by angular/clang-format. (The **CORE** package.)
|
|
43
43
|
|
|
44
|
-
|
|
44
|
+
### `clang-format-git` [](https://www.npmjs.com/package/clang-format-git)
|
|
45
45
|
|
|
46
|
-
|
|
46
|
+
> [Docs](/docs/02-packages/02-clang-format-git.md) | [Repository](https://github.com/lumirlumir/npm-clang-format-node/tree/main/packages/clang-format-git) | [npm](https://www.npmjs.com/package/clang-format-git)
|
|
47
47
|
|
|
48
|
-
|
|
48
|
+
Node wrapper for `git-clang-format` Python script as a standalone native binary to **allow execution without a Python dependency**.
|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
### `clang-format-git-python` [](https://www.npmjs.com/package/clang-format-git-python)
|
|
51
51
|
|
|
52
|
-
|
|
52
|
+
> [Docs](/docs/02-packages/03-clang-format-git-python.md) | [Repository](https://github.com/lumirlumir/npm-clang-format-node/tree/main/packages/clang-format-git-python) | [npm](https://www.npmjs.com/package/clang-format-git-python)
|
|
53
53
|
|
|
54
|
-
|
|
54
|
+
Node wrapper for `git-clang-format` Python script. **This package requires Python3 as a dependency**.
|
|
55
|
+
|
|
56
|
+
## Supported
|
|
57
|
+
|
|
58
|
+
See the [supported](/docs/01-introduction/05-supported.md) section of the documentation, which lists the following:
|
|
55
59
|
|
|
56
|
-
|
|
60
|
+
- OS Platforms and Architectures
|
|
61
|
+
- Node.js Version
|
|
62
|
+
- GitHub Actions Runner Images
|
|
63
|
+
- Docker Build Images
|
|
64
|
+
|
|
65
|
+
## Releases
|
|
66
|
+
|
|
67
|
+
Each package intends to release a new npm package for every **latest** release of `clang-format` and `git-clang-format`. Automated GitHub Actions check for the latest LLVM release every week, builds all packages using their own pipeline, and makes a pull request. **All processes are automated**. If you are interested in the build process, take a look at [`.github/workflows/llvm-build-bump-pr.yml`](/.github/workflows/llvm-build-bump-pr.yml).
|
|
57
68
|
|
|
58
69
|
## Documentation
|
|
59
70
|
|
|
60
71
|
For full documentation, see the [official documentation of the `clang-format-node`](https://clang-format-node.lumir.page) or [`docs` directory of `clang-format-node` repository](https://github.com/lumirlumir/npm-clang-format-node/tree/main/docs).
|
|
61
72
|
|
|
62
|
-
##
|
|
73
|
+
## Contributing (Issues & Pull Requests)
|
|
63
74
|
|
|
64
|
-
|
|
75
|
+
Thanks for having attention to this package🙇♂️. We appreciate you spending the time to work on these things. Every issue and pull request about bugs, suggestions and the other topics is always welcome!
|
|
76
|
+
|
|
77
|
+
Please read our [Contributing](/CONTRIBUTING.md) Guides and [Code of Conduct](/CODE_OF_CONDUCT.md) before you work on these things. We also recommend you to read the [Guides on LLVM and `clang-format`](docs/03-others/04-guides-on-llvm-and-clang-format.md) mentioned in the documentation before contributing.
|
|
78
|
+
|
|
79
|
+
## Code of Conduct
|
|
80
|
+
|
|
81
|
+
See [Code of Conduct](/CODE_OF_CONDUCT.md).
|
|
65
82
|
|
|
66
83
|
## Change Log
|
|
67
84
|
|
|
68
85
|
See [Change Log](/CHANGELOG.md).
|
|
69
86
|
|
|
70
|
-
##
|
|
87
|
+
## Versioning
|
|
71
88
|
|
|
72
|
-
See [
|
|
89
|
+
See [Versioning](/docs/04-community/02-versioning.md).
|
|
90
|
+
|
|
91
|
+
## Security
|
|
92
|
+
|
|
93
|
+
See [Security](/SECURITY.md).
|
|
73
94
|
|
|
74
95
|
## License
|
|
75
96
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clang-format-node",
|
|
3
|
-
"version": "1.2.
|
|
4
|
-
"description": "Node
|
|
3
|
+
"version": "1.2.2",
|
|
4
|
+
"description": "Node wrapper for clang-format native binary inspired by angular/clang-format.🐉",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"files": [
|
|
7
7
|
"build",
|
|
@@ -33,7 +33,8 @@
|
|
|
33
33
|
"homepage": "https://clang-format-node.lumir.page",
|
|
34
34
|
"repository": {
|
|
35
35
|
"type": "github",
|
|
36
|
-
"url": "git+https://github.com/lumirlumir/npm-clang-format-node.git"
|
|
36
|
+
"url": "git+https://github.com/lumirlumir/npm-clang-format-node.git",
|
|
37
|
+
"directory": "packages/clang-format-node"
|
|
37
38
|
},
|
|
38
39
|
"bugs": {
|
|
39
40
|
"url": "https://github.com/lumirlumir/npm-clang-format-node/issues"
|
|
@@ -49,5 +50,5 @@
|
|
|
49
50
|
"test": "node --test",
|
|
50
51
|
"chmod": "find ./src/bin ./build/bin -type f -exec chmod 755 {} + || true"
|
|
51
52
|
},
|
|
52
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "e0e96dc177793489bdb82a8966cb65f765254449"
|
|
53
54
|
}
|