-
-
Notifications
You must be signed in to change notification settings - Fork 1
Comparing changes
Open a pull request
base repository: lumirlumir/npm-clang-format-node
base: v1.2.5
head repository: lumirlumir/npm-clang-format-node
compare: v1.3.0
- 16 commits
- 78 files changed
- 1 contributor
Commits on Jan 20, 2025
-
docs: fix incorrect comment placement (#180)
This pull request includes a minor change to the `packages/clang-format-node/src/cli.js` file. The change repositions the ESLint directive `/* eslint-disable n/prefer-node-protocol */` to a different location within the file for better code organization. * [`packages/clang-format-node/src/cli.js`](diffhunk://#diff-10e5439e75c8ce1bc7c2f61004997244cb90676b01d19b66ac9f3ba7a6b2fb67L4-R9): Moved the ESLint directive `/* eslint-disable n/prefer-node-protocol */` to a location after the file overview comment.
Configuration menu - View commit details
-
Copy full SHA for ab4f375 - Browse repository at this point
Copy the full SHA ab4f375View commit details
Commits on Jan 22, 2025
-
docs: update eslint-disable comments for backward compatibility with …
…`node:` namespace (#181) This pull request includes several changes across multiple files to ensure backward compatibility by not using the `node:` namespace. The changes are consistent across different files and packages. Backward compatibility: * [`packages/clang-format-git-python/src/cli.js`](diffhunk://#diff-93f1a01c7f4ac5a2380112cca516851320758c8184f96cddb10e1cc97012a468L7-R7): Updated eslint-disable comment to specify not using `node:` namespace for backward compatibility. * [`packages/clang-format-git-python/src/utils/gitClangFormatPath.js`](diffhunk://#diff-0b92886b850ec05cf8174fb293fc1d7f26dfd6064e907bfc81e09da43c8e1e49L5-R5): Updated eslint-disable comment to specify not using `node:` namespace for backward compatibility. * [`packages/clang-format-git/src/cli.js`](diffhunk://#diff-63ba214e13f2c5ab6dd124bf509fd488f9e2c9480f2db2c0e8293f0f38887bd7L7-R7): Updated eslint-disable comment to specify not using `node:` namespace for backward compatibility. * [`packages/clang-format-git/src/utils/getGitClangFormatPath.js`](diffhunk://#diff-1bb2e643c38d95e89f5956f9701352544d048ce9b211521186d0aecda6a2b09bL5-R5): Updated eslint-disable comment to specify not using `node:` namespace for backward compatibility. * [`packages/clang-format-git/src/utils/gitClangFormatPath.js`](diffhunk://#diff-1adcc2abfa385d5db149f797a576817728d4ddee81c1b9196d60ce4d8328390eL5-R5): Updated eslint-disable comment to specify not using `node:` namespace for backward compatibility. * [`packages/clang-format-node/src/cli.js`](diffhunk://#diff-10e5439e75c8ce1bc7c2f61004997244cb90676b01d19b66ac9f3ba7a6b2fb67L8-R8): Updated eslint-disable comment to specify not using `node:` namespace for backward compatibility. * [`packages/clang-format-node/src/utils/clangFormatPath.js`](diffhunk://#diff-2fec3a5daf6d86f193c4f1bf1b809829a7471077b651f5233947089305a1371fL5-R5): Updated eslint-disable comment to specify not using `node:` namespace for backward compatibility. * [`packages/clang-format-node/src/utils/getClangFormatPath.js`](diffhunk://#diff-69431841c8379c19bac868db91bce476be6122cca550dd2bb841a8fd7d050ebbL5-R5): Updated eslint-disable comment to specify not using `node:` namespace for backward compatibility.
Configuration menu - View commit details
-
Copy full SHA for 08edbf9 - Browse repository at this point
Copy the full SHA 08edbf9View commit details -
ci: update labeler workflow to trigger on edited pull requests (#182)
This pull request includes a change to the GitHub Actions workflow for labeling pull requests. The change ensures that the labeler action runs not only when a pull request is opened but also when it is edited. * [`.github/workflows/labeler.yml`](diffhunk://#diff-09b72f3c9a3e4f00ab00cd7000b302db25f056075d8895bd91b3654d6e7e956bL5-R13): Modified the `pull_request_target` event to include the `edited` type and added a condition to run the labeler step when the pull request is opened or its title is changed.
Configuration menu - View commit details
-
Copy full SHA for 3decbf4 - Browse repository at this point
Copy the full SHA 3decbf4View commit details
Commits on Jan 24, 2025
-
ci: add
concurrency
settings totest-cross-platform.yml
test work……flow (#183) This pull request includes a change to the GitHub Actions workflow configuration to manage concurrency for the `test-cross-platform.yml` workflow. The change ensures that concurrent runs of the workflow are managed more efficiently by grouping them and canceling in-progress runs for non-main branches. Concurrency management: * [`.github/workflows/test-cross-platform.yml`](diffhunk://#diff-290907d9a4bcf13181105b134bd1645da5a3ef27c54f148ad5823e6b77e88426R14-R17): Added `concurrency` configuration to group workflow runs by workflow name and reference, and to cancel in-progress runs for non-main branches.
Configuration menu - View commit details
-
Copy full SHA for f8ce4d0 - Browse repository at this point
Copy the full SHA f8ce4d0View commit details -
feat: introduce new website using
vitepress
(#179)This pull request includes several updates to improve the repository's configuration, documentation, and build processes. The most important changes involve updating configuration files, improving documentation, and adding new scripts to `package.json`. ### Configuration Updates: * [`.markdownlint.json`](diffhunk://#diff-7acf5910ecddb0a88c58debaedb129a30ebad965e878f6ebba3dad5a4fd8758aR18): Added `small` and `Badge` to the list of allowed HTML elements. [[1]](diffhunk://#diff-7acf5910ecddb0a88c58debaedb129a30ebad965e878f6ebba3dad5a4fd8758aR18) [[2]](diffhunk://#diff-7acf5910ecddb0a88c58debaedb129a30ebad965e878f6ebba3dad5a4fd8758aL30-R32) * `.markdownlintignore` and `.prettierignore`: Added `**/.vitepress/cache/` to the ignore list. [[1]](diffhunk://#diff-b5e89e929d119744a043caea30a5e49d7a9ea25e3253755760d5b6ec9bd24ca0R7) [[2]](diffhunk://#diff-b640b344ee7f3f03d2a443795a5d0708ef50e2e6e34214109ab2aad13ad6ba98R7) * [`eslint.config.js`](diffhunk://#diff-a32a0887ed9d1d707bbb3b845b7df7fd40e673c47e7b60a3ebd896b68d3b8839L5-R5): Updated `ignores` to include `**/.vitepress/cache/`. ### Documentation Improvements: * [`README.md`](diffhunk://#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5L1-R52): Simplified and reorganized the content, including updating badge colors and improving the call-to-action for GitHub stars. [[1]](diffhunk://#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5L1-R52) [[2]](diffhunk://#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5L67-R87) * [`CONTRIBUTING.md`](diffhunk://#diff-eca12c0a30e25b4b46522ebf89465a03ba72a03f540796c979137931d8f92055L7-R7): Updated the directory reference for documentation from `docs` to `website` and improved the commit message format. [[1]](diffhunk://#diff-eca12c0a30e25b4b46522ebf89465a03ba72a03f540796c979137931d8f92055L7-R7) [[2]](diffhunk://#diff-eca12c0a30e25b4b46522ebf89465a03ba72a03f540796c979137931d8f92055L42-R42) * Removed unnecessary placeholder files in the `docs` directory to clean up the documentation. [[1]](diffhunk://#diff-3f5974b01bc12b7cc340eb07857c2e551cb979521e0dc10aad13dab6fc51b538L1-L4) [[2]](diffhunk://#diff-92d48e115aa9fab863f9e23a97277320bbf003699d0a4d5ecb9627025f311509L1-L4) [[3]](diffhunk://#diff-0f1f17e40241101d28e95b7b342a54e8642870b95b5ac05b4670b56b7b7aa476L1-L23) [[4]](diffhunk://#diff-53fd0b03cc517cf9d15e56a7f0d375169c3be1c2b9e302719e71e4650525be4cL1-L4) [[5]](diffhunk://#diff-9fa84ecbabf692139352a59b58246c8236a61e6a32b1314be91981fc5e30bb97L1-L4) [[6]](diffhunk://#diff-7ceab4fe3daae9060d9c124c5dac23575f81e29bfcca396799f794e9c08ff495L1-L4) [[7]](diffhunk://#diff-958bd111f88e01820551e26aaccc46341bec03c544ee17ddf8aab284ec92069dL1-L4) [[8]](diffhunk://#diff-120a31182daa62063855751460906663d47bbdc87bd071f2ee1ce6cd73b54d39L1-L4) ### Build Process Enhancements: * [`package.json`](diffhunk://#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519L16-R36): Added new scripts for development and build processes, including `dev`, `start`, and `build:website`. Also added `@types/node` to `devDependencies`. These changes aim to enhance the repository's maintainability and streamline the development workflow.
Configuration menu - View commit details
-
Copy full SHA for d670704 - Browse repository at this point
Copy the full SHA d670704View commit details -
refactor(website): add Google Analytics integration to `.vitepress/co…
…nfig.mjs` (#184) This pull request includes changes to add Google Analytics to the website configuration and a minor documentation correction. The most important changes include adding the Google Analytics ID and script to the configuration file and fixing a typo in the documentation. ### Configuration updates: * [`website/.vitepress/config.mjs`](diffhunk://#diff-bd4ac01d4c35583e9c20414103304b0628a6be199987bd1084fdef61cd43cc71R28): Added `GOOGLE_GA_ID` constant and included Google Analytics script tags for tracking. [[1]](diffhunk://#diff-bd4ac01d4c35583e9c20414103304b0628a6be199987bd1084fdef61cd43cc71R28) [[2]](diffhunk://#diff-bd4ac01d4c35583e9c20414103304b0628a6be199987bd1084fdef61cd43cc71L70-L76) ### Documentation correction: * [`website/docs/get-started/configuration.md`](diffhunk://#diff-6a87b005e020bd2dfcf1e779a14c7ddc13bfc307a99b1b02b6c538e7f4da1b77L59-R59): Corrected a typo from "an brief example" to "a brief example".
Configuration menu - View commit details
-
Copy full SHA for b1490e8 - Browse repository at this point
Copy the full SHA b1490e8View commit details -
docs: create
q-and-a.md
(#185)This pull request adds a new "Q & A" section to the documentation and updates the website configuration to include a link to this new section. Documentation updates: * Added a new "Q & A" section to the documentation with questions and answers about `clang-format-node`, including an explanation of the differences between `clang-format` and `git-clang-format`. (`website/docs/get-started/q-and-a.md`) Website configuration updates: * Updated the VitePress configuration to include a link to the new "Q & A" section in the navigation menu. (`website/.vitepress/config.mjs`)
Configuration menu - View commit details
-
Copy full SHA for 798a9e5 - Browse repository at this point
Copy the full SHA 798a9e5View commit details
Commits on Jan 25, 2025
-
docs: add navigation link to 'Why We Started This Project' in `get-st…
…arted /index.md` documentation (#186) This pull request includes an update to the `website/docs/get-started/index.md` file to enhance the navigation within the documentation. The most important change is the addition of a link to provide context on why the project was started. Documentation enhancement: * [`website/docs/get-started/index.md`](diffhunk://#diff-5c932f6df78484172c717421fffc4ef01f10355cd96ebd8b86b65e02b39f99b3R3-R5): Added a "Next" section with a link to 'Why We Started This Project' to improve navigation and provide additional context for users.
Configuration menu - View commit details
-
Copy full SHA for e54e98e - Browse repository at this point
Copy the full SHA e54e98eView commit details -
docs: create
surgical-formatting-with-git-clang-format.md
(#187)This pull request adds a new documentation page and updates the site configuration to include a link to this new page. The most important changes include adding a new entry to the navigation menu and creating detailed content for the new documentation page on surgical formatting with `git-clang-format`. Documentation updates: * [`website/.vitepress/config.mjs`](diffhunk://#diff-bd4ac01d4c35583e9c20414103304b0628a6be199987bd1084fdef61cd43cc71R257-R260): Added a new entry "Surgical Formatting" to the navigation menu to link to the new documentation page. * [`website/docs/further-reading/surgical-formatting-with-git-clang-format.md`](diffhunk://#diff-4eabe91a6c51648711792a2daa82f0a8d9efcf9d01642f6940cd47868407fd84R1-R105): Created a new documentation page that explains how to use `git-clang-format` for surgically formatting only the changes in a pull request, including detailed steps and examples.
Configuration menu - View commit details
-
Copy full SHA for b4d4491 - Browse repository at this point
Copy the full SHA b4d4491View commit details -
docs: create
introduction.md
(#188)This pull request includes significant updates to the documentation and configuration files, focusing on the restructuring and enhancement of content related to `clang-format` and `git-clang-format`. The key changes involve adding new sections, removing outdated content, and introducing a new introductory page. ### Documentation Updates: * Added a new section titled 'Introduction' to the navigation menu in `website/.vitepress/config.mjs`. * Removed the 'Surgical Formatting' section from the navigation menu in `website/.vitepress/config.mjs`. * Deleted the detailed documentation on 'Surgical formatting with `git-clang-format`' from `website/docs/further-reading/surgical-formatting-with-git-clang-format.md`. ### New Content: * Created a new introductory page `website/docs/get-started/introduction.md` that provides an overview of `clang-format` and `git-clang-format`, including examples and guidance for newcomers.
Configuration menu - View commit details
-
Copy full SHA for df1e1c8 - Browse repository at this point
Copy the full SHA df1e1c8View commit details -
ci: update commit type of
llvm-build-bump-pr.yml
tochore
from `b……uild` (#189) This pull request includes changes to update the commit message and title format in the LLVM bump workflow and a minor documentation update. Changes to workflow: * [`.github/workflows/llvm-build-bump-pr.yml`](diffhunk://#diff-d608eb75b383338d789a8908995e47499214a7cc55a847771ad73800464b18b0L429-R432): Updated the commit message and title prefix from 'build(deps)' to 'chore(deps)' for consistency with other dependency updates. Documentation update: * [`website/docs/get-started/introduction.md`](diffhunk://#diff-aeb0fea669d0b87f99bf331106ddc13e198f254aa732266a2435acf9a98f82aaL143-R143): Added a colon at the end of the sentence to clarify the explanation of the `git diff` command output.
Configuration menu - View commit details
-
Copy full SHA for ce2483e - Browse repository at this point
Copy the full SHA ce2483eView commit details -
ci: add PowerShell and CMD test to
test-cross-platform.yml
(#190)This pull request includes updates to the `.github/workflows/test-cross-platform.yml` file to enhance the testing process across different platforms. The changes mainly focus on expanding the test coverage to include various shell environments on Windows. Enhancements to cross-platform testing: * Added a basic test for `clang-format-node` and `clang-format-git` in the Git Bash environment. * Included a new test for `clang-format-node` and `clang-format-git` in the Windows PowerShell environment, conditional on the runner operating system being Windows. * Added a test for `clang-format-node` and `clang-format-git` in the Windows CMD environment, also conditional on the runner operating system being Windows.
Configuration menu - View commit details
-
Copy full SHA for 7ea973c - Browse repository at this point
Copy the full SHA 7ea973cView commit details -
feat: add API documentation links to type files (JSDoc type hints) (#191
) This pull request includes several changes to the documentation comments in various utility files across different packages. The changes primarily add references to the documentation URLs for the respective APIs. Documentation improvements: * [`packages/clang-format-git-python/src/utils/gitClangFormatPath.js`](diffhunk://#diff-0b92886b850ec05cf8174fb293fc1d7f26dfd6064e907bfc81e09da43c8e1e49R23): Added a reference to the documentation URL for `clang-format-git-python` in the comments for `gitClangFormatPath` and `clangFormatGitPythonPath`. [[1]](diffhunk://#diff-0b92886b850ec05cf8174fb293fc1d7f26dfd6064e907bfc81e09da43c8e1e49R23) [[2]](diffhunk://#diff-0b92886b850ec05cf8174fb293fc1d7f26dfd6064e907bfc81e09da43c8e1e49R32) * [`packages/clang-format-git/src/utils/getGitClangFormatPath.js`](diffhunk://#diff-1bb2e643c38d95e89f5956f9701352544d048ce9b211521186d0aecda6a2b09bR31): Added a reference to the documentation URL for `clang-format-git` in the comments for `getGitClangFormatPath` and `getClangFormatGitPath`. [[1]](diffhunk://#diff-1bb2e643c38d95e89f5956f9701352544d048ce9b211521186d0aecda6a2b09bR31) [[2]](diffhunk://#diff-1bb2e643c38d95e89f5956f9701352544d048ce9b211521186d0aecda6a2b09bR55) * [`packages/clang-format-git/src/utils/gitClangFormatPath.js`](diffhunk://#diff-1adcc2abfa385d5db149f797a576817728d4ddee81c1b9196d60ce4d8328390eR24): Added a reference to the documentation URL for `clang-format-git` in the comments for `gitClangFormatPath` and `clangFormatGitPath`. [[1]](diffhunk://#diff-1adcc2abfa385d5db149f797a576817728d4ddee81c1b9196d60ce4d8328390eR24) [[2]](diffhunk://#diff-1adcc2abfa385d5db149f797a576817728d4ddee81c1b9196d60ce4d8328390eR33) * [`packages/clang-format-node/src/utils/clangFormatPath.js`](diffhunk://#diff-2fec3a5daf6d86f193c4f1bf1b809829a7471077b651f5233947089305a1371fR24): Added a reference to the documentation URL for `clang-format-node` in the comments for `clangFormatPath` and `clangFormatNodePath`. [[1]](diffhunk://#diff-2fec3a5daf6d86f193c4f1bf1b809829a7471077b651f5233947089305a1371fR24) [[2]](diffhunk://#diff-2fec3a5daf6d86f193c4f1bf1b809829a7471077b651f5233947089305a1371fR33) * [`packages/clang-format-node/src/utils/getClangFormatPath.js`](diffhunk://#diff-69431841c8379c19bac868db91bce476be6122cca550dd2bb841a8fd7d050ebbR31): Added a reference to the documentation URL for `clang-format-node` in the comments for `getClangFormatPath` and `getClangFormatNodePath`. [[1]](diffhunk://#diff-69431841c8379c19bac868db91bce476be6122cca550dd2bb841a8fd7d050ebbR31) [[2]](diffhunk://#diff-69431841c8379c19bac868db91bce476be6122cca550dd2bb841a8fd7d050ebbR55)
Configuration menu - View commit details
-
Copy full SHA for 388bcc6 - Browse repository at this point
Copy the full SHA 388bcc6View commit details -
chore: update
extensions.json
and.github/sync-client.yml
(#192)This pull request includes updates to configuration files and recommended extensions. The most important changes involve re-adding some configuration files to the synchronization list and updating the recommended extensions for VS Code. Configuration file updates: * [`.github/sync-client.yml`](diffhunk://#diff-93bc202766315b6269beef308a6ad30ed3e86938ddbfa31b49e030f2263695f1L27-R42): Re-added `dependabot.yml` and `labeler.yml` to the synchronization list. * [`.vscode/extensions.json`](diffhunk://#diff-c16655a98a3ee89a7636a59c59a72b0e93649e3a1e947327cfc43a1336b4e912L4): Removed `stylelint.vscode-stylelint` from the list of recommended extensions.
Configuration menu - View commit details
-
Copy full SHA for fff7d0b - Browse repository at this point
Copy the full SHA fff7d0bView commit details -
ci: add
concurrency
settings tolint.yml
andtest.yml
workflows (……#193) This pull request includes changes to the GitHub Actions workflows to add concurrency control for the `lint` and `test` jobs. The most important changes are: GitHub Actions concurrency control: * [`.github/workflows/lint.yml`](diffhunk://#diff-107e910e9f2ebfb9a741fa10b2aa7100cc1fc4f5f3aca2dfe78b905cbd73c0d2R10-R13): Added concurrency control to the `lint` job to group by workflow and ref, and cancel in-progress runs for non-main branches. * [`.github/workflows/test.yml`](diffhunk://#diff-faff1af3d8ff408964a57b2e475f69a6b7c7b71c9978cccc8f471798caac2c88R10-R13): Added concurrency control to the `test` job to group by workflow and ref, and cancel in-progress runs for non-main branches.
Configuration menu - View commit details
-
Copy full SHA for af9b6ac - Browse repository at this point
Copy the full SHA af9b6acView commit details -
Bump `lumirlumir/npm-clang-format-node` from v1.2.5 to v1.3.0 🎉
Configuration menu - View commit details
-
Copy full SHA for 9686d5b - Browse repository at this point
Copy the full SHA 9686d5bView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v1.2.5...v1.3.0