How to use the updates.html function in updates

To help you get started, we’ve selected a few updates examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github outmoded / hapijs.com / build.js View on Github external
targets['community.html'] = function (file) {

    Jade.renderFile(Path.join(templatesPath, 'community.jade'), require('./lib/community'), writeFile(file));
};

targets['hapidays.html'] = function (file) {

    Jade.renderFile(Path.join(templatesPath, 'hapidays.jade'), writeFile(file));
};

targets['help.html'] = function (file) {

    Jade.renderFile(Path.join(templatesPath, 'help.jade'), writeFile(file));
};

targets['updates.html'] = function (file) {

    var locals = require('./lib/locals');
    locals.changelog = require('./.cache/changelog.json');

    Jade.renderFile(Path.join(templatesPath, 'updates.jade'), locals, writeFile(file));
};

targets['plugins.html'] = function (file) {

    var Plugins = require('./lib/plugins');
    Jade.renderFile(Path.join(templatesPath, 'plugins.jade'), Plugins, writeFile(file));
};

targets['404.html'] = function (file) {

    Jade.renderFile(Path.join(templatesPath, '404.jade'), writeFile(file));

updates

Flexible npm and poetry dependency update tool

BSD-2-Clause
Latest version published 13 days ago

Package Health Score

65 / 100
Full package analysis

Popular updates functions