Security News
Opengrep Emerges as Open Source Alternative Amid Semgrep Licensing Controversy
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
DevEnv helper CLI
Install the module with: npm install -g de-cli
and create a config file named de-config
de-config
de
will look for the de-config
in:
DEV_CONFIG
/etc/de-cli/
Most commands can take a --all
option, instead of a project which will perform the command against all repos in all projects, except for projects that have excludeFromAll
specified.
Usage: de [options] [command]
Commands:
git Perform git based commands
npm Perform npm based commands
app Perform app based commands
test Perform grunt based commands
clean Perform clean up based commands
setup [options] Git pull, npm link & install
help [cmd] display help for [cmd]
Options:
-h, --help output usage information
-V, --version output the version number
git
Commands:
pull [options] Pull configured repos
status|st [options] Get the status for all repos
stash-list|sl [options] Show stashes for repos
checkout|co [options] Checkout [branch] branch for repos
npm
Commands:
clean Clean node_modules
link [options] Link configured modules
install [options] Install configured repos
status [options] Perform npm-check-updates and depcheck on configured repos
app
Note that this command currently requires forever
to start and stop the applications.
Commands:
start [options] Start configured projects
stop [options] Stop configured projects
test
Commands:
grunt [options] Run grunt on the configured projects
Configuration can be in either JSON or YAML format. Options available in the config:
npmInstalls
This specifies npm packages to globally install.
folder
This is the folder which all project and module repositories will be checked out to.
defaultRepo
The default base for clone urls. This allows short repo names like guzzlerio/deride
instead of the full ssh repo url.
defaultBranch
The default branch to checkout. This can be overridden by specifying @<branch-name>
at the end of the repo url.
setupCommands
This lists the commands that will be executed when de setup
is invoked.
depcheck
Command line args to pass to depcheck
projects
The list of projects. Projects also have options that can be changed. defaultBranch
and defaultRepo
are available and behave as above.
depends
Array of projects to depend upon. This ensures projects can be checked out and setup in order to ensure a successful setup.
excludeFromAll
Exclude this project from any --all
commands.
repos
Array of repos. These can be full ssh or https git clone urls, or short user/repo names which will use the defaultRepo
to build the clone url.
An example de-config
file:
---
npmInstalls: [bower, nesh, mversion]
folder: ~/dev/src
defaultRepo: git@github.com
defaultBranch: master
setupCommands: [git pull, npm link, npm install]
depcheck:
ignores: grunt*
projects:
- name: project1
description: Node.JS project
depends: [github]
defaultBranch: develop
excludeFromAll: false
repos:
- jamlen/repo1
- jamlen/repo2
modules:
- jamlen/module
- name: github
description: public github projects
defaultBranch: develop
excludeFromAll: true
repos:
- depcheck/depcheck
- https://github.com/tjunnone/npm-check-updates.git
- name: newrelic
description: Repos for newrelic agents and modules
excludeFromAll: true
npm:
user: newrelic
repos:
- newrelic/node-native-metrics
modules:
- guzzlerio/deride@develop
{
"npmInstalls": ["bower", "nesh", "mversion"],
"folder": "~/dev/src",
"defaultRepo": "git@github.com",
"defaultBranch": "master",
"setupCommands": ["git pull", "npm link", "npm install"],
"depcheck": {
"ignores": "grunt*"
},
"projects": [{
"name": "project1",
"description": "Node.JS project",
"depends": ["github"],
"defaultBranch": "develop",
"excludeFromAll": false,
"repos": [
"jamlen/repo1",
"jamlen/repo2"
],
"modules": [
"jamlen/module"
]
}, {
"name": "github",
"description": "public github projects",
"defaultBranch": "develop",
"excludeFromAll": true,
"repos": [
"depcheck/depcheck",
"https://github.com/tjunnone/npm-check-updates.git"
]
}, {
"name": "newrelic",
"description": "Repos for newrelic agents and modules",
"excludeFromAll": true,
"npm": {
"user": "newrelic"
},
"repos": [
"newrelic/node-native-metrics"
]
}],
"modules": [
"guzzlerio/deride@develop"
]
}
In lieu of a formal styleguide, take care to maintain the existing coding style.
(Nothing yet)
Copyright ©2015 James Allen Licensed under the MIT license.
FAQs
DevEnv helper CLI
We found that de-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.