Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
build-workflow
Advanced tools
Simple helper to create build workflows, using grunt, that are both easy to use and maintain.
This is a small module that aims to simplify the creation of workflows based on grunt. In order to achieve this
some conventions are followed, i.e. do not use a gigantic Gruntfile.js
that is soon harder to maintain, preventing
a lot of spaghetti code by breaking it into different modules, one per each grunt task config, keeping things small
and focused.
This module is inspired by this blog post supercharging your gruntfile
The main differences are:
grunt
object, the pkg
, package.json
parsed object, and an options
object, which has some helpers
that will be described later.grunt-deps/tasks
folder they will be loaded automatically.yaml
, so the aliases for tasks are defined in javascript. This is to keep it simple and avoid
leaving the javascript realm.So, This module will
esbeautifier
) and validate the javascript files with eslint
and jscs
.commit-msg
and prepush
hooks for git. To enforce the rules for commit messages
and to verify all files configured to be beautified and validated are checked before pushing.i18n.{lang}.js
files from yml translations files. (this is actually done using grunt-ez-frontend)ez-frontend
task for each i18n.{lang}.js
file to make each of them be
minified, had the right version and include the banner header.ez-frontend
targets created by the previous task.selection.json
file obtained from the icomoon appez-frontend
targets.TODO: at some point all this tasks should be moved to their own repos in order to leave build-workflow
a simple grunt
management module
Update: While grunt is a nice task runner, I lately found myself using it not that much. Lately I tried to make most of the tasks found inside this module separated packages that can be used from within the command line. This new approach has several new advantages, and modules can be used from any task runner.
TODO: List which modules should be used instead of the ones provided by this package.
For usage info please read this document
For info about the common configs and tasks please check this document
Read it here
v3.2.5
FAQs
Simple gruntfile helper to define build workflows
The npm package build-workflow receives a total of 7 weekly downloads. As such, build-workflow popularity was classified as not popular.
We found that build-workflow 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.