Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump @11ty/eleventy from 3.0.0-beta.2 to 3.0.0 (#6122)
Bumps [@11ty/eleventy](https://github.com/11ty/eleventy) from 3.0.0-beta.2 to 3.0.0. <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 v3.0.0: Possums ❤️ ESM</h2> <p>We did it. After 22 pre-releases and over a year of work, Eleventy 3.0.0 is now available. You can try it out now on your project using:</p> <pre lang="js"><code>npm install @11ty/eleventy@latest </code></pre> <p><strong>If you’re upgrading from a previous version</strong> of Eleventy, use the <a href="https://v3.11ty.dev/docs/plugins/upgrade-help/">Upgrade Help plugin</a> for automated checks and help with your upgrade!</p> <p><strong><a href="https://v3.11ty.dev/#why-should-you-use-eleventy">Why should you use Eleventy?</a></strong> Eleventy is a flexible and production-ready site generator known for its zero-client JavaScript footprint, <a href="https://v3.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>.</p> <p>A few numbers on the best version of Eleventy yet:</p> <table> <thead> <tr> <th>Stats</th> <th><code>v2.0.1</code></th> <th><code>v3.0.0</code></th> </tr> </thead> <tbody> <tr> <td>20% smaller</td> <td>35.2 MB</td> <td>28.1 MB</td> </tr> <tr> <td>11% fewer dependencies</td> <td>213</td> <td>189</td> </tr> <tr> <td>9% faster npm install</td> <td>4.511s*</td> <td>4.103s*</td> </tr> </tbody> </table> <p><em>*fastest time of 3 runs (bypassing local cache)</em></p> <h2>Flagship 3.0 features</h2> <ol> <li>Eleventy is now written in ESM with <strong>full</strong> support for ESM in your projects: configuration, data files, 11ty.js templates, etc. For many projects this won’t be a breaking change and we’ll continue to support CommonJS too. Every example on the docs now includes both a CommonJS and ESM version. Docs: <a href="https://v3.11ty.dev/docs/cjs-esm/">https://v3.11ty.dev/docs/cjs-esm/</a></li> </ol> <pre lang="js"><code>// ESM export default function(eleventyConfig) {} <p>// We’ll keep supporting CommonJS:<br /> module.exports = function(eleventyConfig) {}<br /> </code></pre></p> <ol start="2"> <li>Supporting more package managers and runtimes: pnpm, yarn, Deno. More examples on the docs! <a href="https://v3.11ty.dev/docs/">https://v3.11ty.dev/docs/</a></li> <li>Asynchronous configuration <a href="https://redirect.github.com/11ty/eleventy/issues/614">#614</a> Docs: <a href="https://v3.11ty.dev/docs/config/">https://v3.11ty.dev/docs/config/</a></li> </ol> <pre lang="js"><code>// ESM export default async function(eleventyConfig) {} <p>// CommonJS<br /> module.exports = async function(eleventyConfig) {}<br /> </code></pre></p> <ol start="4"> <li>For-free performance improvement to built-in <code>slugify</code>, <code>inputPathToUrl</code> universal filters (via memoization) <a href="https://redirect.github.com/11ty/eleventy/issues/840">#840</a> Docs: <a href="https://v3.11ty.dev/docs/memoize/">https://v3.11ty.dev/docs/memoize/</a></li> <li>Named <code>config</code> export improves consistency for plugins <a href="https://redirect.github.com/11ty/eleventy/issues/3246">#3246</a> and <code>set*Directory</code> configuration API methods <a href="https://redirect.github.com/11ty/eleventy/issues/1503">#1503</a> Docs: <a href="https://v3.11ty.dev/docs/config-shapes/#optional-export-config-object">https://v3.11ty.dev/docs/config-shapes/#optional-export-config-object</a> and <a href="https://v3.11ty.dev/docs/config/#configuration-options">https://v3.11ty.dev/docs/config/#configuration-options</a></li> </ol> <pre lang="js"><code>export default function(eleventyConfig) { eleventyConfig.setInputDirectory("."); </tr></table> </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/11ty/eleventy/commit/8675d68ec049bb683b0b09f42bd2703909eb0e53"><code>8675d68</code></a> v3.0.0</li> <li><a href="https://github.com/11ty/eleventy/commit/5960a86901bfa0c14e50232509f965afd7011d48"><code>5960a86</code></a> Update deps</li> <li><a href="https://github.com/11ty/eleventy/commit/1b9b80ecd82e6e961657b236d04aaf5c442e7afb"><code>1b9b80e</code></a> Fixes <a href="https://redirect.github.com/11ty/eleventy/issues/3468">#3468</a> by adding <code>resetConfig</code> option to addWatchTarget</li> <li><a href="https://github.com/11ty/eleventy/commit/dd28e894be529d6b6a78c2b473037834f6b5dbc3"><code>dd28e89</code></a> Add _headers to extensionless allowlist <a href="https://redirect.github.com/11ty/eleventy/issues/3399">#3399</a> <a href="https://github.com/11ty/elevent">https://github.com/11ty/elevent</a>...</li> <li><a href="https://github.com/11ty/eleventy/commit/0142b7c167e7a0cc3f9169d7a222a7f0215e53cb"><code>0142b7c</code></a> Use v3 subdomain for links from v3 codebase</li> <li><a href="https://github.com/11ty/eleventy/commit/eade9a769753e442acad0192cb8c1e7a680790f9"><code>eade9a7</code></a> Cleanup for <a href="https://redirect.github.com/11ty/eleventy/issues/3399">#3399</a></li> <li><a href="https://github.com/11ty/eleventy/commit/6fe3645b4d918ba8e76df3a5046a04ce0065be04"><code>6fe3645</code></a> Add allow-list for <a href="https://redirect.github.com/11ty/eleventy/issues/3399">#3399</a>, update URL</li> <li>See full diff in <a href="https://github.com/11ty/eleventy/compare/v3.0.0-beta.2...v3.0.0">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-beta.2&new-version=3.0.0)](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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information