Skip to content

Commit 1db06a7

Browse files
Bump @11ty/eleventy from 3.0.0-alpha.5 to 3.0.0-alpha.6 (#5712)
Bumps [@11ty/eleventy](https://github.com/11ty/eleventy) from 3.0.0-alpha.5 to 3.0.0-alpha.6. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/11ty/eleventy/releases"><code>@​11ty/eleventy</code>'s releases</a>.</em></p> <blockquote> <h2>Eleventy v2.0.0-beta.3: One solitary serverless bug fix.</h2> <h2>What's Changed</h2> <ul> <li>Fixes serverlessFilePath is not defined (2.0.0-beta.2) <a href="https://redirect.github.com/11ty/eleventy/issues/2782">#2782</a> by <a href="https://github.com/mrmartineau"><code>@​mrmartineau</code></a> in <a href="https://redirect.github.com/11ty/eleventy/pull/2783">11ty/eleventy#2783</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/mrmartineau"><code>@​mrmartineau</code></a> made their first contribution in <a href="https://redirect.github.com/11ty/eleventy/pull/2783">11ty/eleventy#2783</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/11ty/eleventy/compare/v2.0.0-beta.2...v2.0.0-beta.3">https://github.com/11ty/eleventy/compare/v2.0.0-beta.2...v2.0.0-beta.3</a></p> <h2>Eleventy v2.0.0-beta.1, the very first beta release of Eleventy 2.0</h2> <p><strong>🚨 The full release notes are available on <a href="https://www.11ty.dev/blog/eleventy-v2-beta/">The Eleventy Blog: The Very First Beta Release of Eleventy v2.0</a> or you can <a href="https://www.youtube.com/watch?v=TcTR0TLqM3I">watch me talk about this release on YouTube</a>.</strong></p> <p>The very first Eleventy 2.0 Beta release is now available on the <code>@beta</code> channel and we’re looking for Beta testers! You can try it out now:</p> <pre lang="sh"><code># Local project npm install @11ty/eleventy@beta <h1>Global install</h1> <p>npm install <code>@​11ty/eleventy</code><a href="https://github.com/beta"><code>@​beta</code></a> -g </code></pre></p> <p>Read more about <a href="https://www.11ty.dev/docs/global-installation/">local versus global installation</a>.</p> <p>New to Eleventy? Eleventy is a flexible and production-ready site generator known for its zero-client JavaScript footprint, <a href="https://www.11ty.dev/docs/performance/">speedy sites, speedy builds</a>, and <a href="https://www.youtube.com/watch?v=b4frtsT4Cgo">full control over the output</a>. Watch <a href="https://www.youtube.com/watch?v=EZfNr-YblBE">The State of Eleventy in Two Minutes</a> or <a href="https://www.11ty.dev/docs/">read more about Eleventy’s project goals.</a></p> <h2>The Big Features</h2> <h3>Smaller, More Secure</h3> <ul> <li>✅ Dependencies decreased by <strong>32.1%</strong>: <a href="https://npmgraph.js.org/?q=@11ty/eleventy@2.0.0-beta.1">211 modules</a> (<a href="https://npmgraph.js.org/?q=@11ty/eleventy@1.0.2">311 in v1.0.2</a>)</li> <li>✅ <code>node_modules</code> file weight decreased by <strong>77.8%</strong>: 34.3 MB (155 MB in v1.0.2)</li> <li>✅ <a href="https://docs.google.com/spreadsheets/d/1lkeWOhEXTNh0yxWaNOl_UFOHQea2YnSHit4QLjqXUb8/edit?usp=sharing"><strong>30.5% faster</strong> <code>npm install</code></a></li> </ul> <h3>Faster Builds</h3> <ul> <li>Improved build performance (tested on <a href="https://docs.google.com/spreadsheets/d/1-H3wmT7q7m7G7d5M_dCLxQOiAAX3TP0byQdf0pP1fAQ/edit?usp=sharing">a sample 500 page site</a> against v1.0.2) using: <ul> <li>Liquid: ✅ <strong>18.18% faster</strong></li> <li>Nunjucks: ✅ <strong>17.74% faster</strong></li> <li>Markdown (with Liquid): ✅ <strong>17.95% faster</strong></li> <li>JavaScript (11ty.js): ✅ <strong>8.33% faster</strong></li> </ul> </li> <li><a href="https://www.11ty.dev/docs/usage/incremental/"><code>--incremental</code> for incremental builds</a> <a href="https://redirect.github.com/11ty/eleventy/issues/108#issuecomment-1362030361">#108</a> <ul> <li>Smarter incremental builds with support for layout dependencies, <a href="https://www.11ty.dev/docs/languages/custom/#registering-dependencies">registered dependencies on custom templates</a>, dependencies in <code>pagination</code> data or <a href="https://www.11ty.dev/docs/collections/#declare-your-collections-for-incremental-builds"><code>eleventyImport</code></a> <a href="https://redirect.github.com/11ty/eleventy/issues/975">#975</a></li> </ul> </li> <li><a href="https://www.11ty.dev/docs/usage/#ignore-initial-to-run-eleventy-without-an-initial-build"><code>--ignore-initial</code> command line option</a> to skip the first build (best paired with <code>--incremental</code>)</li> <li>Use <a href="https://www.11ty.dev/docs/copy/#emulate-passthrough-copy-during-serve">emulated passthrough copy</a> to serve passthrough files directly without triggering a build (will still work with live reload) <a href="https://redirect.github.com/11ty/eleventy/issues/2456">#2456</a></li> </ul> <h3>Plugins</h3> <ul> <li>Support for <a href="https://www.11ty.dev/docs/languages/webc/">WebC, the new single file format for web components</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/11ty/eleventy/commits">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@11ty/eleventy&package-manager=npm_and_yarn&previous-version=3.0.0-alpha.5&new-version=3.0.0-alpha.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Parker Lougheed <parlough@gmail.com>
1 parent 20b6451 commit 1db06a7

File tree

3 files changed

+15
-14
lines changed

3 files changed

+15
-14
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"bootstrap-scss": "^4.6.2"
2323
},
2424
"devDependencies": {
25-
"@11ty/eleventy": "3.0.0-alpha.5",
25+
"@11ty/eleventy": "3.0.0-alpha.6",
2626
"firebase-tools": "^13.7.2",
2727
"hast-util-from-html": "^2.0.1",
2828
"hast-util-select": "^6.0.2",

pnpm-lock.yaml

+13-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/_11ty/plugins/highlight.js

+1-5
Original file line numberDiff line numberDiff line change
@@ -128,11 +128,7 @@ function _highlight(
128128

129129
const bodyChildren = [preElement];
130130

131-
if (
132-
language !== 'plaintext' &&
133-
language !== 'console' &&
134-
language !== 'ps'
135-
) {
131+
if (!['plaintext', 'console', 'ps', 'diff'].includes(language)) {
136132
const languageText = _createSpanWithText(language, {
137133
class: 'code-block-language',
138134
title: `Language ${language}`,

0 commit comments

Comments
 (0)