
Security News
AI Agent Lands PRs in Major OSS Projects, Targets Maintainers via Cold Outreach
An AI agent is merging PRs into major OSS projects and cold-emailing maintainers to drum up more work.
battlemake
Advanced tools
Front-end build system with web server and watchers, using jade+browserify+less+webfonts.
This is my first use of Gulp, so it's probably terrible.
I created a build system for use with simple projects. It uses Less.js for stylesheets, Jade for templates, and Browserify for JavaScript.
var config = {
/* Names of extra tasks to run during build step */
extraTasks: [],
paths: {
/* Relative path to output directory */
out: 'out'
},
bundles: {
/* Client javascript bundle and source-map*/
client: 'client.js',
clientMap: 'client.json',
/* Vendor javascript bundle */
vendor: 'vendor.js',
/* Stylesheet */
styles: 'style.css'
},
globs: {
/* Passed to BROWSERIFY entry point(s) */
js: ['./script.js'],
/* Glob for LESS entry point(s) */
less: ['style.less'],
/* Glob for JADE templates */
jade: ['pages/*.jade', 'pages/**/*.jade'],
/* Glob for NPM files to copy to output folder */
npmAssets: ['./node_modules/**/*.@(png|jpg|jpeg|gif|woff|woff2|eot|ttf|otf|svg)']
},
/*
* Path to list of Google Webfonts to install
* See my battlesnake/gulp-google-webfonts gulp plugin
*/
fonts: 'fonts.list',
/*
* Used to generate vendor script bundle - simply globbing in
* node_modules would pull in devDependencies too, which we do not want
*/
dependencies: require('./package.json').dependencies,
/*
* Dependencies which contain no JavaScript, and thus which shouldn't be
* added to the vendor bundle
*/
jsFreeDependencies: ['font-awesome'],
/* Parameters for testing (gulp test) */
test: {
/* Port for test HTTP server to listen on */
port: 1234
}
};
/* Generate the build system */
var battlemake = require('battlemake')(config);
live=1 gulp - build files for deployment (takes ages), exit afterwards instead
of watching for changes.
gulp where live is empty or zero - build files for testing (no minification,
much quicker), start watchers to do incremental rebuilds when files change.
gulp test - As before, but a connect.js web server is also launched from the
output directory.
FAQs
Front-end build system with web server and watchers, using jade+browserify+less+webfonts.
We found that battlemake 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
An AI agent is merging PRs into major OSS projects and cold-emailing maintainers to drum up more work.

Research
/Security News
Chrome extension CL Suite by @CLMasters neutralizes 2FA for Facebook and Meta Business accounts while exfiltrating Business Manager contact and analytics data.

Security News
After Matplotlib rejected an AI-written PR, the agent fired back with a blog post, igniting debate over AI contributions and maintainer burden.