Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
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 6 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
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.