Skip to content

Commit

Permalink
v3.0.0-beta.2
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleat committed Sep 30, 2024
1 parent 399a0f3 commit 3840870
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 67 deletions.
126 changes: 69 additions & 57 deletions docs/coverage.md
Original file line number Diff line number Diff line change
@@ -1,58 +1,59 @@
# Code Coverage for Eleventy v3.0.0-alpha.6
# Code Coverage for Eleventy v3.0.0-beta.2

| Filename | % Lines | % Statements | % Functions | % Branches |
| ---------------------------------------------------------- | ------- | ------------ | ----------- | ---------- |
| `total` | 88.02% | 88.02% | 87.96% | 88.99% |
| `cmd.cjs` | 66.89% | 66.89% | 0% | 42.1% |
| `src/Eleventy.js` | 75.56% | 75.56% | 72.22% | 85.15% |
| `src/EleventyExtensionMap.js` | 96.91% | 96.91% | 95.65% | 95.94% |
| `src/EleventyFiles.js` | 94.21% | 94.21% | 91.11% | 94.68% |
| `src/EleventyServe.js` | 56.04% | 56.04% | 63.15% | 56.66% |
| `total` | 89% | 89% | 88.35% | 89.34% |
| `cmd.cjs` | 63.03% | 63.03% | 0% | 52.94% |
| `src/Eleventy.js` | 77.35% | 77.35% | 71.66% | 86.89% |
| `src/EleventyExtensionMap.js` | 96.47% | 96.47% | 91.66% | 95.29% |
| `src/EleventyFiles.js` | 92.64% | 92.64% | 91.48% | 91.34% |
| `src/EleventyServe.js` | 52.13% | 52.13% | 59.09% | 56.66% |
| `src/EleventyWatch.js` | 93.12% | 93.12% | 94.44% | 91.42% |
| `src/EleventyWatchTargets.js` | 83.43% | 83.43% | 80.95% | 100% |
| `src/EleventyWatchTargets.js` | 79.26% | 79.26% | 80% | 100% |
| `src/EventBus.js` | 100% | 100% | 100% | 100% |
| `src/FileSystemSearch.js` | 100% | 100% | 100% | 100% |
| `src/GlobalDependencyMap.js` | 71.46% | 71.46% | 70.37% | 95.71% |
| `src/Template.js` | 93.95% | 93.95% | 89.09% | 91.58% |
| `src/TemplateBehavior.js` | 88.05% | 88.05% | 87.5% | 85.71% |
| `src/GlobalDependencyMap.js` | 76.41% | 76.41% | 76.47% | 92.85% |
| `src/Template.js` | 95.28% | 95.28% | 93.33% | 92.98% |
| `src/TemplateBehavior.js` | 90.58% | 90.58% | 100% | 84.21% |
| `src/TemplateCache.js` | 79.8% | 79.8% | 87.5% | 73.68% |
| `src/TemplateCollection.js` | 89.41% | 89.41% | 87.5% | 86.95% |
| `src/TemplateConfig.js` | 91.89% | 91.89% | 75% | 92.13% |
| `src/TemplateContent.js` | 87.68% | 87.68% | 88.37% | 84.86% |
| `src/TemplateCollection.js` | 88.88% | 88.88% | 87.5% | 85.71% |
| `src/TemplateConfig.js` | 91.47% | 91.47% | 81.25% | 92.59% |
| `src/TemplateContent.js` | 87.64% | 87.64% | 91.11% | 85.88% |
| `src/TemplateFileSlug.js` | 100% | 100% | 100% | 100% |
| `src/TemplateGlob.js` | 94.28% | 94.28% | 100% | 91.66% |
| `src/TemplateLayout.js` | 86.63% | 86.63% | 80% | 75.67% |
| `src/TemplateLayoutPathResolver.js` | 83.7% | 83.7% | 71.42% | 80% |
| `src/TemplateMap.js` | 92.28% | 92.28% | 95.12% | 91.57% |
| `src/TemplatePassthrough.js` | 92.44% | 92.44% | 100% | 92.42% |
| `src/TemplatePassthroughManager.js` | 81.9% | 81.9% | 95.45% | 77.41% |
| `src/TemplatePermalink.js` | 91.57% | 91.57% | 91.66% | 94.36% |
| `src/TemplateRender.js` | 89.12% | 89.12% | 100% | 85.26% |
| `src/TemplateWriter.js` | 80.86% | 80.86% | 83.33% | 79.45% |
| `src/UserConfig.js` | 82.42% | 82.42% | 72.41% | 83.21% |
| `src/defaultConfig.js` | 95.1% | 95.1% | 100% | 66.66% |
| `src/Benchmark/Benchmark.js` | 98.07% | 98.07% | 100% | 92.3% |
| `src/Benchmark/BenchmarkGroup.js` | 83.73% | 83.73% | 60% | 86.66% |
| `src/TemplateLayout.js` | 89.66% | 89.66% | 83.33% | 85.29% |
| `src/TemplateLayoutPathResolver.js` | 88.97% | 88.97% | 75% | 90.9% |
| `src/TemplateMap.js` | 96.34% | 96.34% | 95.55% | 93.3% |
| `src/TemplatePassthrough.js` | 92.62% | 92.62% | 100% | 92.42% |
| `src/TemplatePassthroughManager.js` | 81.99% | 81.99% | 91.3% | 78.12% |
| `src/TemplatePermalink.js` | 91.53% | 91.53% | 91.66% | 94.28% |
| `src/TemplateRender.js` | 90.13% | 90.13% | 100% | 91.08% |
| `src/TemplateWriter.js` | 84.66% | 84.66% | 80% | 77.77% |
| `src/UserConfig.js` | 92.13% | 92.13% | 79.81% | 88.64% |
| `src/defaultConfig.js` | 95.83% | 95.83% | 100% | 62.5% |
| `src/Benchmark/Benchmark.js` | 98.18% | 98.18% | 100% | 92.3% |
| `src/Benchmark/BenchmarkGroup.js` | 85.18% | 85.18% | 63.63% | 94.11% |
| `src/Benchmark/BenchmarkManager.js` | 82.19% | 82.19% | 66.66% | 85.71% |
| `src/Data/ComputedData.js` | 100% | 100% | 100% | 100% |
| `src/Data/ComputedDataProxy.js` | 97.7% | 97.7% | 100% | 94.44% |
| `src/Data/ComputedDataQueue.js` | 100% | 100% | 100% | 100% |
| `src/Data/ComputedDataTemplateString.js` | 95.71% | 95.71% | 100% | 85.71% |
| `src/Data/TemplateData.js` | 93.21% | 93.21% | 93.61% | 91.13% |
| `src/Data/TemplateDataInitialGlobalData.js` | 95.91% | 95.91% | 100% | 83.33% |
| `src/Engines/Custom.js` | 89.78% | 89.78% | 100% | 91.54% |
| `src/Data/TemplateData.js` | 93.48% | 93.48% | 94% | 89.88% |
| `src/Data/TemplateDataInitialGlobalData.js` | 95% | 95% | 100% | 83.33% |
| `src/Engines/Custom.js` | 88.46% | 88.46% | 100% | 85.86% |
| `src/Engines/Html.js` | 100% | 100% | 100% | 100% |
| `src/Engines/JavaScript.js` | 95.75% | 95.75% | 100% | 90.56% |
| `src/Engines/Liquid.js` | 98.89% | 98.89% | 100% | 94.73% |
| `src/Engines/Markdown.js` | 95.69% | 95.69% | 80% | 91.66% |
| `src/Engines/Nunjucks.js` | 90.63% | 90.63% | 100% | 89.1% |
| `src/Engines/TemplateEngine.js` | 87.28% | 87.28% | 81.48% | 90.32% |
| `src/Engines/TemplateEngineManager.js` | 93.42% | 93.42% | 90.9% | 92% |
| `src/Engines/JavaScript.js` | 81.01% | 81.01% | 93.33% | 89.65% |
| `src/Engines/Liquid.js` | 99.69% | 99.69% | 100% | 97.22% |
| `src/Engines/Markdown.js` | 95.69% | 95.69% | 80% | 92% |
| `src/Engines/Nunjucks.js` | 92.61% | 92.61% | 100% | 89.1% |
| `src/Engines/TemplateEngine.js` | 87.5% | 87.5% | 82.75% | 90.9% |
| `src/Engines/TemplateEngineManager.js` | 91.87% | 91.87% | 92.3% | 89.65% |
| `src/Engines/FrontMatter/JavaScript.js` | 100% | 100% | 100% | 100% |
| `src/Engines/Util/ContextAugmenter.js` | 91.04% | 91.04% | 50% | 88.23% |
| `src/Errors/DuplicatePermalinkOutputError.js` | 100% | 100% | 100% | 100% |
| `src/Errors/EleventyBaseError.js` | 100% | 100% | 100% | 100% |
| `src/Errors/EleventyErrorHandler.js` | 97.43% | 97.43% | 100% | 79.16% |
| `src/Errors/EleventyErrorUtil.js` | 100% | 100% | 100% | 92.59% |
| `src/Errors/EleventyShortcodeError.js` | 100% | 100% | 100% | 100% |
| `src/Errors/EleventyErrorHandler.js` | 94.03% | 94.03% | 100% | 79.48% |
| `src/Errors/EleventyErrorUtil.js` | 100% | 100% | 100% | 96% |
| `src/Errors/TemplateContentPrematureUseError.js` | 100% | 100% | 100% | 100% |
| `src/Errors/TemplateContentUnrenderedTemplateError.js` | 100% | 100% | 100% | 100% |
| `src/Errors/UsingCircularTemplateContentReferenceError.js` | 100% | 100% | 100% | 100% |
Expand All @@ -61,32 +62,43 @@
| `src/Filters/GetLocaleCollectionItem.js` | 12.76% | 12.76% | 0% | 100% |
| `src/Filters/Slug.js` | 100% | 100% | 100% | 100% |
| `src/Filters/Slugify.js` | 100% | 100% | 100% | 100% |
| `src/Filters/Url.js` | 90.69% | 90.69% | 100% | 94.44% |
| `src/Plugins/HtmlBasePlugin.js` | 86.46% | 86.46% | 100% | 90% |
| `src/Plugins/I18nPlugin.js` | 81.81% | 81.81% | 100% | 79.16% |
| `src/Plugins/InputPathToUrl.js` | 91.02% | 91.02% | 100% | 76.47% |
| `src/Plugins/Pagination.js` | 90.31% | 90.31% | 95% | 84% |
| `src/Plugins/RenderPlugin.js` | 86.97% | 86.97% | 84.21% | 80.7% |
| `src/Util/AsyncEventEmitter.js` | 92% | 92% | 100% | 77.77% |
| `src/Filters/Url.js` | 88.57% | 88.57% | 100% | 93.75% |
| `src/Plugins/HtmlBasePlugin.js` | 87.41% | 87.41% | 100% | 90.9% |
| `src/Plugins/I18nPlugin.js` | 82.96% | 82.96% | 100% | 80.55% |
| `src/Plugins/IdAttributePlugin.js` | 97.08% | 97.08% | 100% | 90% |
| `src/Plugins/InputPathToUrl.js` | 89.26% | 89.26% | 100% | 75% |
| `src/Plugins/Pagination.js` | 90.26% | 90.26% | 95% | 84% |
| `src/Plugins/RenderPlugin.js` | 87.52% | 87.52% | 85% | 77.77% |
| `src/Util/AsyncEventEmitter.js` | 94.66% | 94.66% | 100% | 87.5% |
| `src/Util/Compatibility.js` | 83.63% | 83.63% | 85.71% | 77.77% |
| `src/Util/ConsoleLogger.js` | 100% | 100% | 100% | 100% |
| `src/Util/ConsoleLogger.js` | 100% | 100% | 94.44% | 100% |
| `src/Util/DateGitFirstAdded.js` | 100% | 100% | 100% | 100% |
| `src/Util/DateGitLastUpdated.js` | 100% | 100% | 100% | 100% |
| `src/Util/DeepFreeze.js` | 30% | 30% | 0% | 100% |
| `src/Util/DirContains.js` | 100% | 100% | 100% | 100% |
| `src/Util/EventBusUtil.js` | 100% | 100% | 100% | 100% |
| `src/Util/EsmResolver.js` | 76.47% | 76.47% | 100% | 76.92% |
| `src/Util/EventBusUtil.js` | 69.23% | 69.23% | 33.33% | 100% |
| `src/Util/ExistsCache.js` | 100% | 100% | 100% | 100% |
| `src/Util/FilePathUtil.js` | 47.36% | 47.36% | 50% | 100% |
| `src/Util/GetJavaScriptData.js` | 100% | 100% | 100% | 100% |
| `src/Util/HtmlTransformer.js` | 93.02% | 93.02% | 80% | 96.29% |
| `src/Util/ImportJsonSync.js` | 85.48% | 85.48% | 75% | 77.77% |
| `src/Util/JavaScriptDependencies.js` | 100% | 100% | 100% | 100% |
| `src/Util/Merge.js` | 100% | 100% | 100% | 100% |
| `src/Util/GlobMatcher.js` | 90.47% | 90.47% | 100% | 66.66% |
| `src/Util/HtmlTransformer.js` | 89.24% | 89.24% | 88.23% | 92.1% |
| `src/Util/ImportJsonSync.js` | 85.93% | 85.93% | 80% | 72.72% |
| `src/Util/IsAsyncFunction.js` | 100% | 100% | 50% | 100% |
| `src/Util/JavaScriptDependencies.js` | 89.09% | 89.09% | 50% | 85.71% |
| `src/Util/MemoizeFunction.js` | 100% | 100% | 100% | 100% |
| `src/Util/PassthroughCopyBehaviorCheck.js` | 100% | 100% | 100% | 100% |
| `src/Util/PathNormalizer.js` | 93.33% | 93.33% | 100% | 86.66% |
| `src/Util/PathPrefixer.js` | 100% | 100% | 100% | 100% |
| `src/Util/Pluralize.js` | 100% | 100% | 100% | 100% |
| `src/Util/ProjectDirectories.js` | 99.32% | 99.32% | 100% | 94.5% |
| `src/Util/ProxyWrap.js` | 100% | 100% | 100% | 100% |
| `src/Util/Require.js` | 89.63% | 89.63% | 100% | 89.47% |
| `src/Util/Sortable.js` | 100% | 100% | 100% | 100% |
| `src/Util/Unique.js` | 100% | 100% | 100% | 100% |
| `src/Util/ProjectDirectories.js` | 95.93% | 95.93% | 97.14% | 93% |
| `src/Util/ProjectTemplateFormats.js` | 94.02% | 94.02% | 90% | 94.73% |
| `src/Util/Require.js` | 85.43% | 85.43% | 100% | 85.29% |
| `src/Util/ReservedData.js` | 97.1% | 97.1% | 100% | 92.85% |
| `src/Util/SetUnion.js` | 100% | 100% | 100% | 100% |
| `src/Util/TransformsUtil.js` | 94.28% | 94.28% | 100% | 83.33% |
| `src/Util/ValidUrl.js` | 100% | 100% | 100% | 100% |
| `src/Util/Objects/DeepFreeze.js` | 90% | 90% | 100% | 80% |
| `src/Util/Objects/ObjectFilter.js` | 100% | 100% | 100% | 80% |
| `src/Util/Objects/ProxyWrap.js` | 96.39% | 96.39% | 100% | 94.28% |
| `src/Util/Objects/Sortable.js` | 100% | 100% | 100% | 100% |
| `src/Util/Objects/Unique.js` | 100% | 100% | 100% | 100% |
15 changes: 8 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@11ty/eleventy",
"version": "3.0.0-alpha.20",
"version": "3.0.0-beta.2",
"description": "A simpler static site generator.",
"publishConfig": {
"access": "public",
Expand Down Expand Up @@ -87,7 +87,7 @@
"@eslint/js": "^9.11.1",
"@iarna/toml": "^2.2.5",
"@mdx-js/node-loader": "^3.0.1",
"@types/node": "^22.5.5",
"@types/node": "^22.7.4",
"@vue/server-renderer": "^3.5.10",
"@zachleat/noop": "^1.0.4",
"ava": "^6.1.3",
Expand All @@ -108,7 +108,7 @@
"sass": "^1.79.4",
"tsx": "^4.19.1",
"typescript": "^5.6.2",
"vue": "^3.5.0",
"vue": "^3.5.10",
"zod": "^3.23.8",
"zod-validation-error": "^3.4.0"
},
Expand Down

0 comments on commit 3840870

Please sign in to comment.