
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
CLI commander for developing with multiple submodules, each with their own Git repository. Cox runs both Git and NPM-related tasks on the project source folder, as well as all the versioned submodules.
As such, a "cox checkout " should be seen as : check out branch in the project root, AS WELL as in all the submodules' repositories. This allows you to create a new feature (one that might affect contents in multiple submodules) recursively in a single command (see "cox start").
All Cox commands should be run from the root of the main project.
npm install -g cox
cox install
installs all the project modules, defined in package.json
coxDependencies
, like:
"coxDependencies": {
"some-lib": "git@github.com:username/some-lib.git",
"some-other-lib": "git@github.com:username/some-other-lib.git",
}
Then runs npm install
on these repositories too.
cox update
runs npm update in the project folder and in all submodules
cox start <branchName>
Start developing on a new branch with given name 'branchName', the new branch will be branched off 'develop' by default.
cox start <branchName> <sourceBranch>
Start developing on a new branch with given name 'branchName', the new branch will be branched off 'sourceBranch'.
cox checkout <branchName>
//or to checkout a new branch:
cox checkout -b <branchName>
Change to another branch
cox reset
runs 'git reset --hard'.
cox pull
GIT pulls the latest changes in the current branch.
cox status
displays the GIT status of all repos
cox diff
displays the GIT diff of all repos
cox add
runs git add to all files unstaged in all repos
cox commit "<message>"
commits staged changes to all the repos with given message
cox push <branchName>
GIT pushes the latest changes in the current branch to origin
cox kill <branchName>
checks out develop, kills the branch locally and kills the branch remotely on origin (!)
Please use Cox responsibly, don't forget to use protection.
FAQs
git commander for multi-repositories
The npm package cox receives a total of 3 weekly downloads. As such, cox popularity was classified as not popular.
We found that cox demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.