feat: upgrade to v3; install eleventy-upgrade-help
This commit is contained in:
parent
e28e804e12
commit
ef6923ece6
3 changed files with 1677 additions and 1563 deletions
|
@ -1,3 +1,4 @@
|
|||
const UpgradeHelper = require("@11ty/eleventy-upgrade-help");
|
||||
const pluginRss = require("@11ty/eleventy-plugin-rss");
|
||||
const pluginNoRobots = require("eleventy-plugin-no-robots");
|
||||
|
||||
|
@ -65,6 +66,8 @@ module.exports = (eleventyConfig) => {
|
|||
eleventyConfig.addShortcode("image", imageShortcode);
|
||||
eleventyConfig.addShortcode("youtube", liteYoutube);
|
||||
|
||||
eleventyConfig.addPlugin(UpgradeHelper);
|
||||
|
||||
return {
|
||||
// Optional (default is set): If your site deploys to a subdirectory, change `pathPrefix`, for example with with GitHub pages
|
||||
pathPrefix: "/",
|
||||
|
|
3226
package-lock.json
generated
3226
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -7,12 +7,12 @@
|
|||
"license": "MIT",
|
||||
"scripts": {
|
||||
"debug": "DEBUG=Eleventy* eleventy --serve --watch",
|
||||
"dev": "eleventy --serve --watch --quiet",
|
||||
"start": "eleventy --serve --watch --quiet",
|
||||
"lint": "eslint src/ config/",
|
||||
"build": "eleventy"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@11ty/eleventy": "^2.0.1",
|
||||
"@11ty/eleventy": "^3.0.0",
|
||||
"@11ty/eleventy-fetch": "^4.0.0",
|
||||
"@11ty/eleventy-img": "^3.1.8",
|
||||
"@11ty/eleventy-plugin-rss": "^1.2.0",
|
||||
|
@ -38,5 +38,8 @@
|
|||
"postcss-import": "^16.0.0",
|
||||
"postcss-import-ext-glob": "^2.1.1",
|
||||
"prettier": "3.2.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"@11ty/eleventy-upgrade-help": "^3.0.1"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue