-
-
Notifications
You must be signed in to change notification settings - Fork 0
refactor(*): simplify paths to the binary files #401
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Labels have been automatically applied based on the Conventional Commits specification.🏷️ |
Bundle ReportChanges will decrease total bundle size by 52 bytes (-0.01%) ⬇️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: website-esmAssets Changed:
Files in
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
@@ Coverage Diff @@
## main #401 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 11 11
Lines 422 424 +2
=========================================
+ Hits 422 424 +2
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR refactors the structure of binary files by moving them out of src
into top-level bin
or script
directories, updating path resolutions, build scripts, and CI workflows accordingly.
- Moved
bin
andscript
folders to package roots and updatedget*Path
utilities - Simplified
cp.mjs
build helper and adjustedpackage.json
build & chmod scripts - Updated documentation links and GitHub Actions workflows to reflect new paths
Reviewed Changes
Copilot reviewed 11 out of 28 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
website/docs/apis/clang-format-git-python.md | Updated Markdown link to the relocated script path |
scripts/cp.mjs | Removed unnecessary recursive flag from cpSync |
packages/clang-format-node/src/utils/getClangFormatPath.js | Adjusted path resolution to new bin directory |
packages/clang-format-node/package.json | Updated files , build , and chmod scripts |
packages/clang-format-git/src/utils/getGitClangFormatPath.js | Adjusted path resolution to new bin directory |
packages/clang-format-git/package.json | Updated files , build , and chmod scripts |
packages/clang-format-git-python/src/utils/gitClangFormatPath.js | Updated documentation link and path resolution |
packages/clang-format-git-python/src/utils/gitClangFormatPath.test.js | Updated test to expect new path depth |
packages/clang-format-git-python/package.json | Updated files , build , and chmod scripts |
.github/workflows/test-cross-platform.yml | Updated Docker copy paths to new bin locations |
.github/workflows/llvm-build-bump-pr.yml | Updated artifact download paths to new directories |
…ch`) (#404) ## Release Information: `v1.3.5` New release of `lumirlumir/npm-clang-format-node` has arrived! 🎉 This PR bumps the package versions from `v1.3.4` to `v1.3.5` (`patch`). See [Actions](https://github.com/lumirlumir/npm-clang-format-node/actions/runs/16264909140) for more details. | Info | Value | | ----------- | -------------------------- | | Repository | `lumirlumir/npm-clang-format-node` | | SEMVER | `patch` | | Pre ID | `canary` | | Short SHA | df49101 | | Old Version | `v1.3.4` | | New Version | `v1.3.5` | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🐛 Bug Fixes * fix(*): drop `shx` and replace it with Node.js native script by @lumirlumir in #402 ### 🛠️ Builds * build(*): add `cp.mjs` script for file copying and update build scripts by @lumirlumir in #400 ### ♻️ Code Refactoring * refactor(*): simplify paths to the binary files by @lumirlumir in #401 ### ⬆️ Dependency Updates * chore(deps-dev): bump eslint from 9.30.1 to 9.31.0 by @dependabot[bot] in #403 **Full Changelog**: v1.3.4...v1.3.5
This pull request reorganizes the directory structure of several packages (
clang-format-git
,clang-format-git-python
, andclang-format-node
) to simplify paths and improve consistency. It also updates related scripts, tests, and documentation to reflect these changes.Directory Structure Updates:
.github/workflows/llvm-build-bump-pr.yml
and.github/workflows/test-cross-platform.yml
: Updated artifact paths forclang-format-git
,clang-format-git-python
, andclang-format-node
to removesrc
directories and directly referencebin
orscript
directories. [1] [2]Package Configuration Changes:
packages/clang-format-git/package.json
,packages/clang-format-git-python/package.json
, andpackages/clang-format-node/package.json
: Updatedfiles
arrays to include new directories (bin
orscript
) and modifiedbuild
andchmod
scripts to reflect the updated directory structure. [1] [2] [3] [4] [5] [6]Code Updates:
packages/clang-format-git/src/utils/getGitClangFormatPath.js
andpackages/clang-format-node/src/utils/getClangFormatPath.js
: Adjusted path resolution logic to account for the removal ofsrc
directories. [1] [2]packages/clang-format-git-python/src/utils/gitClangFormatPath.js
andpackages/clang-format-git-python/src/utils/gitClangFormatPath.test.js
: Updated path references forgit-clang-format
script and corresponding tests. [1] [2]Documentation and Script Updates:
website/docs/apis/clang-format-git-python.md
: Updated documentation to reflect the new path for thegit-clang-format
script.scripts/cp.mjs
: Removed therecursive
option from thecpSync
function since it is no longer needed for the updated directory structure.