
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
@kolibridev/gulp-tasks
Advanced tools
Collection of useful gulp tasks. WIP!
npm install @kolibridev/gulp-tasks
See gulpconfig-defaults for all default options. Usually something like this will suffice.
// ./gulp/config.js
const path = require('path')
const gutil = require('gulp-util')
const assign = require('lodash.assign')
const pkg = require('../package.json')
const config = {
version: pkg.version,
source: path.resolve(__dirname, '../src'),
target: path.resolve(__dirname, '../dist'),
minify: false,
debug: true,
url: 'https://dev.domain.com',
}
const envs = {
prod: {
minify: true,
debug: false,
url: 'https://www.domain.com',
},
}
// Extend with environment specific config
const env = gutil.env.env || (gutil.env.prod ? 'prod' : 'dev')
assign(config, envs[env])
module.exports = config
This can be directly in ./gulpfile.js
or create something like ./gulp/index.js
and require it in ./gulpfile.js
// ./gulpfile.js
require('./gulp')
This package exposes a function that optionally takes in your config. This example will register all the tasks for you. You can theoretically just register the tasks you're actually going to use. NOTE: If you create a local task (within your own project) with the same name as one of these, it will overwrite it's function.
// ./gulp/index.js
const gulp = require('gulp')
const gutil = require('gulp-util')
const _ = require('lodash')
const config = require('./config')
_.forOwn(require('@kolibridev/gulp-tasks')(config).tasks, (task) => {
gutil.log(gutil.colors.green(`Registered ${gutil.colors.blue(task.name)} task`))
gulp.task(task.name, task.dep, task.fn)
})
FAQs
Collection of useful gulp tasks
We found that @kolibridev/gulp-tasks demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.