{"library":"olo-gulp-helpers","title":"Olo Gulp Build Helpers","description":"This package provides a collection of internal helper functions and configurations specifically designed for Olo's Gulp build pipeline, with a particular focus on bundling frontend assets for their ASP.NET applications. While the current reported version is 0.9.1, its public release history indicates releases up to 0.2.3. The package aims to streamline the integration of modern web technologies such as TypeScript, Webpack, Karma, Mocha, and Sinon into Olo's existing build infrastructure. Its release cadence is sporadic and tied to Olo's internal development needs, rather than following a public roadmap. As an internal utility, its primary differentiator is its tailored fit for Olo's specific project requirements and development environment, making it less of a general-purpose Gulp library and more of an opinionated, company-specific solution for build automation.","language":"javascript","status":"maintenance","last_verified":"Sun Apr 19","install":{"commands":["npm install olo-gulp-helpers"],"cli":null},"imports":["const oloGulpHelpers = require('olo-gulp-helpers');","const { setupWebpack } = require('olo-gulp-helpers');","const { defineBundlingTasks } = require('olo-gulp-helpers');"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"const gulp = require('gulp');\nconst { setupWebpack, defineBundlingTasks } = require('olo-gulp-helpers');\n\n// Define paths for your project assets\nconst paths = {\n  scripts: 'src/scripts/**/*.js',\n  styles: 'src/styles/**/*.scss',\n  output: 'dist'\n};\n\n// Setup Webpack configuration using Olo's helpers\nconst webpackConfig = setupWebpack({\n  entry: './src/index.js',\n  output: { path: paths.output, filename: 'bundle.js' },\n  // Optionally pass environment variables, e.g., for API keys\n  apiUrl: process.env.API_URL ?? '' \n});\n\n// Define Gulp tasks using Olo's bundling helpers\nconst { compileScripts, compileStyles, watchFiles } = defineBundlingTasks(gulp, paths, webpackConfig);\n\n// Export public tasks\nexports.scripts = compileScripts;\nexports.styles = compileStyles;\nexports.watch = watchFiles;\nexports.default = gulp.series(compileStyles, compileScripts, watchFiles);","lang":"javascript","description":"Demonstrates a basic Gulpfile setup using `olo-gulp-helpers` to configure Webpack and define bundling and watch tasks for scripts and styles.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}