From da66441ce086251afb40f7b46afd4b5422152148 Mon Sep 17 00:00:00 2001 From: Yann Haefliger Date: Mon, 10 Jan 2022 14:41:44 +0100 Subject: [PATCH] Updated 11ty to 1.0! --- .eleventy.js | 10 ++++++++-- package.json | 7 ++++--- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.eleventy.js b/.eleventy.js index 28a0c24..b6c5b9c 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -1,7 +1,13 @@ const htmlmin = require('html-minifier') - +const UpgradeHelper = require("@11ty/eleventy-upgrade-help"); module.exports = function(eleventyConfig) { + /** + * Upgrade helper + * Uncomment if you need help upgrading to new major version. + */ + //eleventyConfig.addPlugin(UpgradeHelper); + /** * Files to copy * https://www.11ty.dev/docs/copy/ @@ -34,4 +40,4 @@ module.exports = function(eleventyConfig) { data: "../_data" } }; -}; \ No newline at end of file +}; diff --git a/package.json b/package.json index 41919da..801db4a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "yatas", - "version": "0.0.1", + "version": "1.0.0", "description": "Yet Another Tailwind Apline Starter", "scripts": { "clean": "del _site", @@ -20,10 +20,11 @@ "author": "Yann Haefliger", "license": "ISC", "devDependencies": { - "@11ty/eleventy": "^0.12.1", + "@11ty/eleventy": "^1.0.0", + "@11ty/eleventy-upgrade-help": "^1.0.1", "alpinejs": "^3.0.6", "autoprefixer": "^10.4.0", - "concurrently": "^6.2.0", + "concurrently": "^7.0.0", "del-cli": "^4.0.0", "esbuild": "^0.14.0", "html-minifier": "^4.0.0",