New:Socket for Asana Is Now Available.Learn more
Get Started

@11ty/eleventy-upgrade-help

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@11ty/eleventy-upgrade-help

Helper plugin when upgrading your Eleventy project to a new major version.

Source
npmnpm
Version
2.0.3
Version published
Weekly downloads
1.3K
7.36%
Maintainers
1
Weekly downloads
 
Created
Source

eleventy-upgrade-help v2

A plugin to help you upgrade your Eleventy project from Eleventy v1.x to v2.x.

The major version of this plugin will always match the major version of Eleventy that you’re upgrading to.

Usage

Install from npm:

npm install @11ty/eleventy-upgrade-help

Add to your configuration file (probably .eleventy.js):

const UpgradeHelper = require("@11ty/eleventy-upgrade-help");

module.exports = function(eleventyConfig) {
  // If you have other `addPlugin` calls, it’s important that UpgradeHelper is added last.
  eleventyConfig.addPlugin(UpgradeHelper);
};

After your upgrade is complete and you’ve removed all of the violations/warnings from your output, delete the plugin from your package.json and .eleventy.js configuration file.

Example demo

You can review a sample project using this upgrade plugin.

Keywords

eleventy

FAQs

Package last updated on 17 Jan 2023

Related posts