author int64 658 755k | date stringdate 2012-06-12 08:34:29 2024-07-22 14:51:21 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods listlengths 1 16 | language stringclasses 20
values | license stringclasses 3
values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
699 | 05.02.2018 21:58:26 | 18,000 | a833c05d3814b3434bbeeb43de2dd30369ba24c4 | Fixes with local dir and template data files | [
{
"change_type": "MODIFY",
"old_path": "docs/data.md",
"new_path": "docs/data.md",
"diff": "@@ -55,6 +55,20 @@ This data will be available to your templates like so:\n}\n```\n+### Template and Directory Specific Data Files\n+\n+_New in Eleventy v0.2.14_ While it is useful to have globally available ... | JavaScript | MIT License | 11ty/eleventy | Fixes #55 with local dir and template data files |
699 | 09.02.2018 12:24:28 | 0 | 7f8b020b5f853b01b6c168ba49ce14fd604ba5c4 | Adds additional test for uniqueness of template name and directory name automatic data imports. | [
{
"change_type": "MODIFY",
"old_path": "docs/data.md",
"new_path": "docs/data.md",
"diff": "@@ -61,8 +61,8 @@ _New in Eleventy v0.2.14_ While it is useful to have globally available data to\nFor example, consider a template located at `posts/my-first-blog-post.md`. Eleventy will look for data in the... | JavaScript | MIT License | 11ty/eleventy | Adds additional test for uniqueness of template name and directory name automatic data imports. |
699 | 10.02.2018 21:29:31 | 0 | 8548d54243720bae41cbddb82cc9aec78b1be40d | Better code coverage for Liquid.js | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateConfigTest.js",
"new_path": "test/TemplateConfigTest.js",
"diff": "@@ -33,7 +33,7 @@ test(\"Template Config local config overrides base config\", async t => {\n});\ntest(\"Add liquid tag\", t => {\n- eleventyConfig.addLiquidTag(\"myTagName\", func... | JavaScript | MIT License | 11ty/eleventy | Better code coverage for Liquid.js |
699 | 10.02.2018 21:32:00 | 0 | 813d3c43272956fbfc1ddcc50603c238e1f2b678 | New code coverage docs. | [
{
"change_type": "MODIFY",
"old_path": "docs-src/_data/coverage.json",
"new_path": "docs-src/_data/coverage.json",
"diff": "{\n\"total\": {\n- \"lines\": { \"total\": 1164, \"covered\": 1018, \"skipped\": 0, \"pct\": 87.46 },\n+ \"lines\": { \"total\": 1336, \"covered\": 1170, \"skipped\": 0, \"pct\... | JavaScript | MIT License | 11ty/eleventy | New code coverage docs. |
699 | 11.02.2018 17:39:51 | 0 | 629492a99b6032bd80be9cbb74469ed01b8fc264 | Adds `setTemplateFormats(string)` and `setTemplateFormats(array)` to configuration API. | [
{
"change_type": "MODIFY",
"old_path": "src/EleventyConfig.js",
"new_path": "src/EleventyConfig.js",
"diff": "@@ -142,19 +142,6 @@ class EleventyConfig {\nthis.collections[name] = callback;\n}\n- getMergingConfigObject() {\n- return {\n- liquidTags: this.liquidTags,\n- liquidFilters: this.liquidFilt... | JavaScript | MIT License | 11ty/eleventy | Adds `setTemplateFormats(string)` and `setTemplateFormats(array)` to configuration API. |
699 | 16.02.2018 08:26:40 | 21,600 | 7ff37c2157aef548062268f95bde5323701a0d2c | More tests for engine overrides. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "test/stubs/_includes/layouts/engineOverridesMd.njk",
"diff": "+---\n+layoutkey: layoutvalue\n+---\n+# Layout header\n+\n+<div id=\"{{layoutkey}}\">{{ content | safe }}</div>\n\\ No newline at end of file\n"
},
{
"change_type": "ADD",
... | JavaScript | MIT License | 11ty/eleventy | More tests for engine overrides. |
699 | 16.02.2018 08:58:25 | 21,600 | 6eb6b66722aacefa7e64a09323e7cfa219936dad | Code coverage. | [
{
"change_type": "MODIFY",
"old_path": "docs-src/_data/coverage.json",
"new_path": "docs-src/_data/coverage.json",
"diff": "{\n\"total\": {\n- \"lines\": { \"total\": 1336, \"covered\": 1170, \"skipped\": 0, \"pct\": 87.57 },\n+ \"lines\": { \"total\": 1354, \"covered\": 1177, \"skipped\": 0, \"pct\... | JavaScript | MIT License | 11ty/eleventy | Code coverage. |
699 | 20.02.2018 09:20:14 | 21,600 | 6b9d97db21df62cf30ad0f2bb6cef5b6e862b943 | Adds `setPugOptions` to configuration API. Also adds default `filename` option to pug compile for relative includes. Fixes | [
{
"change_type": "MODIFY",
"old_path": "src/EleventyConfig.js",
"new_path": "src/EleventyConfig.js",
"diff": "@@ -164,6 +164,10 @@ class EleventyConfig {\nthis.templateFormats = templateFormats;\n}\n+ setPugOptions(options) {\n+ this.pugOptions = options;\n+ }\n+\ngetMergingConfigObject() {\nreturn ... | JavaScript | MIT License | 11ty/eleventy | Adds `setPugOptions` to configuration API. Also adds default `filename` option to pug compile for relative includes. Fixes #60 |
699 | 03.03.2018 13:49:40 | 21,600 | 4ecde353179e8104e257492e90e9d9a14e517cdd | Short-term workaround for | [
{
"change_type": "MODIFY",
"old_path": "src/EleventyConfig.js",
"new_path": "src/EleventyConfig.js",
"diff": "@@ -10,12 +10,14 @@ class EleventyConfig {\nthis.events = new EventEmitter();\nthis.collections = {};\n+ this.liquidOptions = {};\nthis.liquidTags = {};\nthis.liquidFilters = {};\nthis.nunju... | JavaScript | MIT License | 11ty/eleventy | Short-term workaround for #72. |
699 | 05.03.2018 07:45:50 | 21,600 | 1cae9f8207181873d1b5089380c042a3d180f44d | Use `page.date` to set permalink with date variables. Related to | [
{
"change_type": "MODIFY",
"old_path": "docs/collections.md",
"new_path": "docs/collections.md",
"diff": "@@ -125,7 +125,7 @@ Valid `date` values:\nIf a `date` key is omitted from the file, the date is assumed to be:\n-1. If the file name matches `YYYY-MM-DD`, this date is used.\n+1. If the file nam... | JavaScript | MIT License | 11ty/eleventy | Use `page.date` to set permalink with date variables. Related to #68 https://github.com/11ty/eleventy/issues/68#issuecomment-370175964 |
699 | 05.03.2018 17:29:54 | 21,600 | e54c9e676531a588e44a49764616147b7be7d6d5 | Move getLocalDataPaths from Template to TemplateData where it belongs. | [
{
"change_type": "MODIFY",
"old_path": "src/Template.js",
"new_path": "src/Template.js",
"diff": "@@ -191,25 +191,6 @@ class Template {\nreturn merged;\n}\n- getLocalDataPaths() {\n- let paths = [];\n-\n- if (this.parsed.dir) {\n- let lastDir = TemplatePath.getLastDir(this.parsed.dir);\n- let dirPat... | JavaScript | MIT License | 11ty/eleventy | Move getLocalDataPaths from Template to TemplateData where it belongs. |
699 | 05.03.2018 17:30:25 | 21,600 | 410602e30df9e1b4c1a7b9f675c0b7d9e1359dbf | Adds more tests for liquid includes (data passed in on dynamic partials) | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateRenderLiquidTest.js",
"new_path": "test/TemplateRenderLiquidTest.js",
"diff": "@@ -57,17 +57,6 @@ test(\"Liquid Render Include with HTML Suffix and Data Pass in\", async t => {\nt.is((await fn()).trim(), \"This is an include. myValue\");\n});\n-//... | JavaScript | MIT License | 11ty/eleventy | Adds more tests for liquid includes (data passed in on dynamic partials) |
699 | 09.03.2018 21:58:23 | 21,600 | 9a9cf10e669c846583e0445fbfbdd21fac25b1af | Adds --dryrun to run through eleventy without writing files. | [
{
"change_type": "MODIFY",
"old_path": "cmd.js",
"new_path": "cmd.js",
"diff": "@@ -18,12 +18,14 @@ EleventyNodeVersionCheck().then(function() {\n(argv.pathprefix ? \" --pathprefix=\" + argv.pathprefix : \"\") +\n(argv.quiet ? \" --quiet\" : \"\") +\n(argv.version ? \" --version\" : \"\") +\n- (argv... | JavaScript | MIT License | 11ty/eleventy | Adds --dryrun to run through eleventy without writing files. |
669 | 16.03.2018 09:53:00 | -3,600 | 9a923640bac12f6c09363af52154927578e1ea25 | Make EleventyConfig.addPassthroughCopy chainable | [
{
"change_type": "MODIFY",
"old_path": "src/EleventyConfig.js",
"new_path": "src/EleventyConfig.js",
"diff": "@@ -154,8 +154,19 @@ class EleventyConfig {\npluginCallback(this);\n}\n+ /**\n+ * Adds a path to a file or directory to the list of pass-through copies\n+ * which are copied as-is to the out... | JavaScript | MIT License | 11ty/eleventy | Make EleventyConfig.addPassthroughCopy chainable |
699 | 26.03.2018 08:47:35 | 18,000 | 315e4907946650f7fd26402ce39de26bf6690c80 | Upgrades a bunch of dependencies. | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"devDependencies\": {\n\"ava\": \"^0.25.0\",\n\"husky\": \"^0.14.3\",\n- \"lint-staged\": \"^6.0.0\",\n+ \"lint-staged\": \"^7.0.0\",\n\"markdown-it-emoji\": \"^1.4.0\",\n- \"nyc\": \"^11.4.1\",\n- \"prettie... | JavaScript | MIT License | 11ty/eleventy | Upgrades a bunch of dependencies. |
699 | 26.03.2018 21:34:15 | 18,000 | a80f5dbec9421e4b58d1d6515be55ab81a06e6b1 | Add collections.all refs to tests for | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateWriterTest.js",
"new_path": "test/TemplateWriterTest.js",
"diff": "@@ -304,6 +304,7 @@ test(\"Use a collection inside of a template\", async t => {\nTemplate\n+All 2 templates\nTemplate 1 dog`\n);\n});\n@@ -344,6 +345,7 @@ test(\"Use a collection ... | JavaScript | MIT License | 11ty/eleventy | Add collections.all refs to tests for #88 |
699 | 30.03.2018 12:54:59 | 18,000 | 385db1f45c3d8445a39e806528a0ed2fbf90d848 | Assist for | [
{
"change_type": "MODIFY",
"old_path": "src/TemplatePassthrough.js",
"new_path": "src/TemplatePassthrough.js",
"diff": "@@ -3,9 +3,10 @@ const TemplatePath = require(\"./TemplatePath\");\nconst debug = require(\"debug\")(\"Eleventy:TemplatePassthrough\");\nclass TemplatePassthrough {\n- constructor(... | JavaScript | MIT License | 11ty/eleventy | Assist for #92 #90 |
699 | 30.03.2018 12:59:44 | 18,000 | 7b6f2c5156e69a375afb885bae6f54f95b0542b2 | inputDir passed to TemplatePassthrough | [
{
"change_type": "MODIFY",
"old_path": "test/TemplatePassthroughTest.js",
"new_path": "test/TemplatePassthroughTest.js",
"diff": "@@ -2,13 +2,13 @@ import test from \"ava\";\nimport TemplatePassthrough from \"../src/TemplatePassthrough\";\ntest(\"Constructor\", t => {\n- let pass = new TemplatePasst... | JavaScript | MIT License | 11ty/eleventy | inputDir passed to TemplatePassthrough |
699 | 02.04.2018 18:01:21 | 18,000 | f3f283210529fa2144631d161c2d1a0713f7c33c | Allows eleventy version checking and errors in downstream projects.
eleventyConfig.versionCheck("v0.3.1") | [
{
"change_type": "MODIFY",
"old_path": "cmd.js",
"new_path": "cmd.js",
"diff": "@@ -6,7 +6,8 @@ if (process.env.DEBUG) {\nconst argv = require(\"minimist\")(process.argv.slice(2));\nconst EleventyNodeVersionCheck = require(\"./src/VersionCheck\");\n-EleventyNodeVersionCheck().then(function() {\n+Ele... | JavaScript | MIT License | 11ty/eleventy | Allows eleventy version checking and errors in downstream projects.
eleventyConfig.versionCheck("v0.3.1") |
724 | 04.04.2018 16:06:21 | 14,400 | fbbfe67b66244d8974d68d7be62a5e487d07eca7 | Fixes - Prevent partial matches when filtering tag(s). | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateCollection.js",
"new_path": "src/TemplateCollection.js",
"diff": "@@ -43,15 +43,19 @@ class TemplateCollection extends Sortable {\ngetFilteredByTag(tagName) {\nreturn this.getAllSorted().filter(function(item) {\n+ let match = false;\nif (!tagName) ... | JavaScript | MIT License | 11ty/eleventy | Fixes #95 - Prevent partial matches when filtering tag(s). |
702 | 11.04.2018 09:32:17 | 10,800 | ba7a1438d04bfe4204121bbd5919f77290ab4582 | Localize engine configs | [
{
"change_type": "MODIFY",
"old_path": "src/EleventyConfig.js",
"new_path": "src/EleventyConfig.js",
"diff": "@@ -24,6 +24,7 @@ class EleventyConfig {\nthis.handlebarsHelpers = {};\nthis.passthroughCopies = {};\nthis.pugOptions = {};\n+ this.ejsOptions = {};\nthis.libraryOverrides = {};\n"
},
{
... | JavaScript | MIT License | 11ty/eleventy | Localize engine configs |
702 | 11.04.2018 10:49:59 | 10,800 | fc7b99ae0939de197cf97c4aa570ceffc790ff83 | Add support for relative EJS includes | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Ejs.js",
"new_path": "src/Engines/Ejs.js",
"diff": "@@ -2,6 +2,7 @@ const ejsLib = require(\"ejs\");\nconst TemplateEngine = require(\"./TemplateEngine\");\nconst lodashMerge = require(\"lodash.merge\");\nconst config = require(\"../Config\");\n+co... | JavaScript | MIT License | 11ty/eleventy | Add support for relative EJS includes |
699 | 16.04.2018 08:51:39 | 18,000 | 479ffeba84b05c0bf5609bde60291ba5591f309d | Move EleventyConfig class to UserConfig for testing. Adds `addMarkdownHighlighter` for markdown syntax highlighting. Will be added in official plugin too. | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Markdown.js",
"new_path": "src/Engines/Markdown.js",
"diff": "@@ -16,6 +16,15 @@ class Markdown extends TemplateEngine {\nsetLibrary(mdLib) {\nthis.mdLib = mdLib || markdownIt(this.getMarkdownOptions());\n+\n+ // Overrides a highlighter set in `mar... | JavaScript | MIT License | 11ty/eleventy | Move EleventyConfig class to UserConfig for testing. Adds `addMarkdownHighlighter` for markdown syntax highlighting. Will be added in official plugin too. |
702 | 16.04.2018 20:16:50 | 10,800 | 617f3a0272093c279c3df9150e6f1b426c12e11c | Document custom file formats in permalinks | [
{
"change_type": "MODIFY",
"old_path": "docs/permalinks.md",
"new_path": "docs/permalinks.md",
"diff": "@@ -79,6 +79,18 @@ permalinkBypassOutputDir: true\nWrites to `_includes/index.html` even though the output directory is `_site`. This is useful for writing child templates to the `_includes` direc... | JavaScript | MIT License | 11ty/eleventy | Document custom file formats in permalinks |
699 | 17.04.2018 07:22:18 | 18,000 | ba9a7576d55ef075cb19e43cab48fa859544c099 | specify ejs on example | [
{
"change_type": "MODIFY",
"old_path": "docs/permalinks.md",
"new_path": "docs/permalinks.md",
"diff": "@@ -80,11 +80,12 @@ permalinkBypassOutputDir: true\nWrites to `_includes/index.html` even though the output directory is `_site`. This is useful for writing child templates to the `_includes` dire... | JavaScript | MIT License | 11ty/eleventy | specify ejs on example |
699 | 18.04.2018 22:56:05 | 18,000 | 4557861e0a90966ddca6bc5cd3ccfa591d36c238 | Add per template times to output | [
{
"change_type": "MODIFY",
"old_path": "src/Eleventy.js",
"new_path": "src/Eleventy.js",
"diff": "@@ -98,7 +98,13 @@ Eleventy.prototype.logFinished = function() {\n);\nlet time = ((new Date() - this.start) / 1000).toFixed(2);\n- ret.push(`in ${time} ${simplePlural(time, \"second\", \"seconds\")}`);\... | JavaScript | MIT License | 11ty/eleventy | Add per template times to output |
699 | 18.04.2018 23:50:58 | 18,000 | 48d24506a141d5e3f11607fb8d3cdf441560318e | Only show per ms numbers with more than 10 templates | [
{
"change_type": "MODIFY",
"old_path": "src/Eleventy.js",
"new_path": "src/Eleventy.js",
"diff": "@@ -98,13 +98,11 @@ Eleventy.prototype.logFinished = function() {\n);\nlet time = ((new Date() - this.start) / 1000).toFixed(2);\n- ret.push(\n- `in ${time} ${simplePlural(time, \"second\", \"seconds\")... | JavaScript | MIT License | 11ty/eleventy | Only show per ms numbers with more than 10 templates |
699 | 18.04.2018 23:51:15 | 18,000 | c41ced5e4785b4dc4ad5fc1164547df10b000eef | Default dynamicPermalinks to true, obvs | [
{
"change_type": "MODIFY",
"old_path": "src/UserConfig.js",
"new_path": "src/UserConfig.js",
"diff": "@@ -26,17 +26,14 @@ class UserConfig {\nthis.pugOptions = {};\nthis.ejsOptions = {};\nthis.markdownHighlighter = null;\n-\nthis.libraryOverrides = {};\nthis.layoutAliases = {};\n-\n// now named `tra... | JavaScript | MIT License | 11ty/eleventy | Default dynamicPermalinks to true, obvs |
699 | 20.04.2018 08:07:11 | 18,000 | b2151f786a901822685cdb4bef2a29744c3b7569 | Remove deep clone code | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"liquidjs\": \"^2.2.1\",\n\"lodash.chunk\": \"^4.2.0\",\n\"lodash.clone\": \"^4.5.0\",\n- \"lodash.clonedeep\": \"^4.5.0\",\n\"lodash.get\": \"^4.4.2\",\n\"lodash.isobject\": \"^3.0.2\",\n\"lodash.merge\": \... | JavaScript | MIT License | 11ty/eleventy | Remove deep clone code |
699 | 20.04.2018 22:30:33 | 18,000 | d1874cfbeb68cead75a8c0337b04e8fc5702592d | Add version info to `fileSlug`. | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -190,6 +190,7 @@ Note that `{{ title }}` above outputs the `title` data value (this can come from\n// the path to the original source file for the template\ninputPath: \"/current/page/file.md\",\n+ // New in Ele... | JavaScript | MIT License | 11ty/eleventy | Add version info to `fileSlug`. |
699 | 26.04.2018 21:58:51 | 18,000 | bc8edb38adf604f363fccfd71e674eb3db80f5ba | Add an EleventyExtensionMap to map from keys in templateFormats to file extensions. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/EleventyExtensionMap.js",
"diff": "+class EleventyExtensionMap {\n+ constructor(formats) {\n+ this.formats = formats.filter(function(key) {\n+ return EleventyExtensionMap.hasExtension(key);\n+ });\n+ }\n+\n+ getFileList(path, dir) {\n+ if (!... | JavaScript | MIT License | 11ty/eleventy | Add an EleventyExtensionMap to map from keys in templateFormats to file extensions. |
699 | 03.05.2018 07:27:09 | 18,000 | 63345936386b6b5e29e4bbd49b41a8300f8946d7 | Dry run language | [
{
"change_type": "MODIFY",
"old_path": "src/Eleventy.js",
"new_path": "src/Eleventy.js",
"diff": "@@ -88,13 +88,24 @@ Eleventy.prototype.logFinished = function() {\nlet writeCount = this.writer.getWriteCount();\nlet copyCount = this.writer.getCopyCount();\n+ if (this.isDryRun) {\n+ ret.push(\"Preten... | JavaScript | MIT License | 11ty/eleventy | Dry run language |
699 | 03.05.2018 08:43:59 | 18,000 | abde5811fb0e18352f939903b7f9cfec8657de51 | Refactor to prepare for | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "test/TemplatePassthroughManagerTest.js",
"diff": "+import test from \"ava\";\n+import TemplatePassthroughManager from \"../src/TemplatePassthroughManager\";\n+\n+test(\"Get Paths from Config\", async t => {\n+ let mgr = new TemplatePassthroughMa... | JavaScript | MIT License | 11ty/eleventy | Refactor to prepare for #83 |
699 | 03.05.2018 21:36:52 | 18,000 | c3cb6a0e2aafbaf47cd6a8ea37692b53cd6d9f84 | Re-runs on changes to both _includes and _data directories when --watching. Fixes | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateWriter.js",
"new_path": "src/TemplateWriter.js",
"diff": "@@ -33,13 +33,18 @@ function TemplateWriter(inputPath, outputDir, templateKeys, templateData) {\n// Input was a directory\nif (this.input === this.inputDir) {\n- this.rawFiles = TemplateGlob... | JavaScript | MIT License | 11ty/eleventy | Re-runs on changes to both _includes and _data directories when --watching. Fixes #99 |
699 | 04.05.2018 22:11:32 | 18,000 | 3825b69f0b9e48a0a035d718b1652728adea1330 | Fixes Now re-runs on changes to passthrough files/dirs | [
{
"change_type": "MODIFY",
"old_path": "docs/copy.md",
"new_path": "docs/copy.md",
"diff": "@@ -19,7 +19,7 @@ Although `png` is not a recognized Eleventy template, Eleventy will now search f\n## Manual Passthrough Copy (Faster)\n-_(New in Eleventy `v0.2.14`)_ Searching the entire directory structure... | JavaScript | MIT License | 11ty/eleventy | Fixes #83. Now re-runs on changes to passthrough files/dirs |
699 | 09.05.2018 07:47:18 | 18,000 | 1eca46104671a0c46a98280f8d14f90fc876b98f | Get rid of unnecessary static | [
{
"change_type": "MODIFY",
"old_path": "src/EleventyExtensionMap.js",
"new_path": "src/EleventyExtensionMap.js",
"diff": "@@ -10,12 +10,12 @@ class EleventyExtensionMap {\n});\nthis.formats = this.unfilteredFormats.filter(function(key) {\n- return EleventyExtensionMap.hasExtension(key);\n- });\n+ re... | JavaScript | MIT License | 11ty/eleventy | Get rid of unnecessary static |
699 | 09.05.2018 23:24:59 | 18,000 | b32133ccbc72f11dd2b7676bf8bbcf73dc6b3721 | Adds examples for template literals, vue.js templates, viperhtml templates. | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "],\n\"source\": [\n\"**/.eleventyignore\",\n- \"src/**/*.js\"\n+ \"src/**/*.js\",\n+ \"test/stubs/**\"\n]\n},\n\"lint-staged\": {\n\"husky\": \"^0.14.3\",\n\"lint-staged\": \"^7.0.0\",\n\"markdown-it-emoji\":... | JavaScript | MIT License | 11ty/eleventy | Adds examples for template literals, vue.js templates, viperhtml templates. |
699 | 10.05.2018 11:04:04 | 18,000 | cc6231f8151767ec237b22c99c89928a8fc08555 | Add string support to js templates | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/JavaScript.js",
"new_path": "src/Engines/JavaScript.js",
"diff": "@@ -3,7 +3,11 @@ const TemplateEngine = require(\"./TemplateEngine\");\nclass JavaScript extends TemplateEngine {\nasync compile(str, inputPath) {\nconst cls = require(inputPath);\n-... | JavaScript | MIT License | 11ty/eleventy | Add string support to js templates |
699 | 10.05.2018 23:59:46 | 18,000 | b8019b51d530a89b004ba182b15ef593a1e75e30 | Switch to Browsersync for --serve (seamless reloads when watch finishes). Works transparently with `pathPrefix` to emulate the subdirectory specified in your config file. Smart reloads CSS files: 1. If they are in _includes, reload the entire page (css files included directly in <style>). 2. If they are anywhere else, injects them without reload. | [
{
"change_type": "MODIFY",
"old_path": "cmd.js",
"new_path": "cmd.js",
"diff": "@@ -36,16 +36,7 @@ EleventyNodeVersionCheck().then(\nconsole.log(elev.getHelp());\n} else if (argv.serve) {\nelev.watch().then(function() {\n- const serve = require(\"serve\");\n- const server = serve(elev.getOutputDir()... | JavaScript | MIT License | 11ty/eleventy | Switch to Browsersync for --serve (seamless reloads when watch finishes). Works transparently with `pathPrefix` to emulate the subdirectory specified in your config file. Smart reloads CSS files: 1. If they are in _includes, reload the entire page (css files included directly in <style>). 2. If they are anywhere else, injects them without reload. |
686 | 12.05.2018 19:56:20 | -3,600 | fa3a94e83d569695464b2b1442d50e14c21a1f84 | Update liquidjs dependancy | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"gray-matter\": \"^3.1.1\",\n\"hamljs\": \"^0.6.2\",\n\"handlebars\": \"^4.0.11\",\n- \"liquidjs\": \"^2.2.1\",\n+ \"liquidjs\": \"^4.0.0\",\n\"lodash.chunk\": \"^4.2.0\",\n\"lodash.clone\": \"^4.5.0\",\n\"l... | JavaScript | MIT License | 11ty/eleventy | Update liquidjs dependancy |
699 | 12.05.2018 21:17:24 | 18,000 | 6481ee796263181a1b69f13c2ab0aa729c0efe2e | Got 3 more skipped tests passing too! | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateRenderLiquidTest.js",
"new_path": "test/TemplateRenderLiquidTest.js",
"diff": "@@ -133,8 +133,7 @@ test(\"Liquid addTags\", async t => {\n);\n});\n-/* Skipped tests pending https://github.com/harttle/liquidjs/issues/61 */\n-test.skip(\"Liquid Rend... | JavaScript | MIT License | 11ty/eleventy | Got 3 more skipped tests passing too! |
699 | 14.05.2018 21:47:18 | 18,000 | dda137ffd7b3ff61b59977e52b3af48727115f18 | Move browsersync stuff to EleventyServe class. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "test/EleventyServeTest.js",
"diff": "+import test from \"ava\";\n+import EleventyServe from \"../src/EleventyServe\";\n+\n+test(\"Constructor\", t => {\n+ let es = new EleventyServe();\n+ t.is(es.getPathPrefix(), \"/\");\n+});\n+\n+test(\"Direct... | JavaScript | MIT License | 11ty/eleventy | Move browsersync stuff to EleventyServe class. |
699 | 15.05.2018 21:42:05 | 18,000 | d80b86d41fc03c4fedf39fffea3a9070bd2119ac | Check to make sure we have a path before we split it | [
{
"change_type": "MODIFY",
"old_path": "src/EleventyServe.js",
"new_path": "src/EleventyServe.js",
"diff": "@@ -141,7 +141,7 @@ class EleventyServe {\n} else {\n// Is a CSS input file and is not in the includes folder\n// TODO check output path file extension of this template (not input path)\n- if ... | JavaScript | MIT License | 11ty/eleventy | Check to make sure we have a path before we split it |
699 | 16.05.2018 21:43:51 | 18,000 | 5661a9228681d3bae94b3ea9f2b0618e9032be55 | Switch to an async file read | [
{
"change_type": "MODIFY",
"old_path": "src/Template.js",
"new_path": "src/Template.js",
"diff": "@@ -22,7 +22,6 @@ class Template {\nthis.config = config.getConfig();\nthis.inputPath = path;\n- this.inputContent = fs.readFileSync(path, \"utf-8\");\nthis.parsed = parsePath(path);\n// for pagination\... | JavaScript | MIT License | 11ty/eleventy | Switch to an async file read |
699 | 21.05.2018 08:23:18 | 18,000 | b6dc9b0fee03aa185de1e7b5e0e6c8b32786860d | Fixes wraps it all in a try catch. | [
{
"change_type": "MODIFY",
"old_path": "cmd.js",
"new_path": "cmd.js",
"diff": "@@ -8,18 +8,19 @@ const EleventyNodeVersionCheck = require(\"./src/VersionCheck\");\nEleventyNodeVersionCheck().then(\nfunction() {\n+ const chalk = require(\"chalk\");\nconst Eleventy = require(\"./src/Eleventy\");\ncon... | JavaScript | MIT License | 11ty/eleventy | Fixes #110, wraps it all in a try catch. |
699 | 21.05.2018 08:27:38 | 18,000 | 4817962a1bfe57f501b81b4f8870b4c4f8bd7105 | Fix for .htaccess (all files starting with dot) in passthrough copies | [
{
"change_type": "MODIFY",
"old_path": "src/TemplatePath.js",
"new_path": "src/TemplatePath.js",
"diff": "const path = require(\"path\");\nconst normalize = require(\"normalize-path\");\n-const pify = require(\"pify\");\nconst fs = require(\"fs-extra\");\nfunction TemplatePath() {}\n@@ -105,7 +104,7... | JavaScript | MIT License | 11ty/eleventy | Fix for .htaccess (all files starting with dot) in passthrough copies |
699 | 21.05.2018 08:36:41 | 18,000 | d44c66ba7de3fe31138af42485cc6e36d9dc293a | make sure path exists when comparing isInclude, removes pify (superfluous with fs-extra) | [
{
"change_type": "MODIFY",
"old_path": "src/Eleventy.js",
"new_path": "src/Eleventy.js",
"diff": "@@ -10,7 +10,6 @@ const templateCache = require(\"./TemplateCache\");\nconst EleventyError = require(\"./EleventyError\");\nconst simplePlural = require(\"./Util/Pluralize\");\nconst config = require(\"... | JavaScript | MIT License | 11ty/eleventy | make sure path exists when comparing isInclude, removes pify (superfluous with fs-extra) |
699 | 25.05.2018 00:01:09 | 18,000 | 92111be28bffa0721081f68292aa4f1149f56038 | Add some tests around | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateCollection.js",
"new_path": "src/TemplateCollection.js",
"diff": "@@ -29,14 +29,20 @@ class TemplateCollection extends Sortable {\n});\n}\n- getFilteredByGlob(globs) {\n+ getGlobs(globs) {\nif (typeof globs === \"string\") {\nglobs = [globs];\n}\n-... | JavaScript | MIT License | 11ty/eleventy | Add some tests around #127 |
699 | 31.05.2018 08:01:58 | 18,000 | 00442d29a9a5f8ebe9a9e6f7e8fce26b25cb92b5 | Regression with data.page.url and data.page.outputPath for | [
{
"change_type": "MODIFY",
"old_path": "src/Template.js",
"new_path": "src/Template.js",
"diff": "@@ -499,13 +499,16 @@ class Template {\nlet results = [];\nif (!Pagination.hasPagination(data)) {\n+ data.page.url = await this.getOutputHref(data);\n+ data.page.outputPath = await this.getOutputPath(da... | JavaScript | MIT License | 11ty/eleventy | Regression with data.page.url and data.page.outputPath for #135 |
699 | 01.06.2018 08:08:16 | 18,000 | 4beb9c105a20b0c07e9400a7777c31f7dc4e3c25 | Regressions around url and outputPath in collections, | [
{
"change_type": "MODIFY",
"old_path": "src/Template.js",
"new_path": "src/Template.js",
"diff": "@@ -11,6 +11,7 @@ const TemplateLayout = require(\"./TemplateLayout\");\nconst TemplateFileSlug = require(\"./TemplateFileSlug\");\nconst templateCache = require(\"./TemplateCache\");\nconst Pagination ... | JavaScript | MIT License | 11ty/eleventy | Regressions around url and outputPath in collections, #135 |
699 | 01.06.2018 08:09:05 | 18,000 | 93d1a6cd4cc9cbe10df9280b256651fe172a28e9 | Better handling of vague indexOf errors when passing non-string values to url filter | [
{
"change_type": "MODIFY",
"old_path": "src/Filters/Url.js",
"new_path": "src/Filters/Url.js",
"diff": "@@ -2,6 +2,9 @@ const validUrl = require(\"valid-url\");\nconst TemplatePath = require(\"../TemplatePath\");\nmodule.exports = function(url, pathPrefix) {\n+ // work with undefined\n+ url = url ||... | JavaScript | MIT License | 11ty/eleventy | Better handling of vague indexOf errors when passing non-string values to url filter |
699 | 01.06.2018 21:33:58 | 18,000 | ee969d543f06c864ce25fe13d0894b5b25f7f3a1 | Add tests and docs around existing support for JSON and JS front matter. | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateTest.js",
"new_path": "test/TemplateTest.js",
"diff": "@@ -90,7 +90,8 @@ test(\"HTML files output to the same as the input directory have a file suffix ad\nt.is(await tmpl.getOutputPath(), \"./test/stubs/subfolder/index-o.html\");\n});\n-test(\"Te... | JavaScript | MIT License | 11ty/eleventy | Add tests and docs around existing support for JSON and JS front matter. |
699 | 06.06.2018 17:23:37 | 18,000 | 26b13f53d5d2fe0a969cfac3424020160a26a532 | Add logo to README and keywords to package.json | [
{
"change_type": "ADD",
"old_path": "docs/logo-github.png",
"new_path": "docs/logo-github.png",
"diff": "Binary files /dev/null and b/docs/logo-github.png differ\n"
},
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"engines\": {\n\"no... | JavaScript | MIT License | 11ty/eleventy | Add logo to README and keywords to package.json |
699 | 07.06.2018 17:37:54 | 18,000 | d5aea60087968607194465acb9207cafe98db662 | Pay the piper | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "},\n\"keywords\": [\n\"static-site-generator\",\n+ \"static-site\",\n\"ssg\",\n\"documentation\",\n\"website\",\n"
}
] | JavaScript | MIT License | 11ty/eleventy | Pay the piper |
699 | 13.06.2018 21:37:24 | 18,000 | 6097248829e21d9e2477988b0a8fc9aa0c530b58 | Add `filter` for pagination to blacklist entries from pagination results. | [
{
"change_type": "MODIFY",
"old_path": "src/Plugins/Pagination.js",
"new_path": "src/Plugins/Pagination.js",
"diff": "@@ -59,6 +59,19 @@ Pagination.prototype.resolveObjectToValues = function() {\nreturn false;\n};\n+Pagination.prototype.isFiltered = function(value) {\n+ if (\"filter\" in this.data.p... | JavaScript | MIT License | 11ty/eleventy | Add `filter` for pagination to blacklist entries from pagination results. |
699 | 14.06.2018 08:42:31 | 18,000 | f33ba8cf0bf72b931d8ca411ece0effde82ffefd | Better support for buffers returned from js templates, adds data support in template classes (getters or functions) | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/JavaScript.js",
"new_path": "src/Engines/JavaScript.js",
"diff": "const TemplateEngine = require(\"./TemplateEngine\");\n+const lodashMerge = require(\"lodash.merge\");\nclass JavaScript extends TemplateEngine {\nasync compile(str, inputPath) {\n@@... | JavaScript | MIT License | 11ty/eleventy | Better support for buffers returned from js templates, adds data support in template classes (getters or functions) |
699 | 18.06.2018 17:35:25 | 18,000 | 706ab3106b9137fb9e0437cf5c2c8f29bd4b2bc7 | Adds some additional debug for | [
{
"change_type": "MODIFY",
"old_path": "src/Template.js",
"new_path": "src/Template.js",
"diff": "@@ -667,9 +667,10 @@ class Template {\nlet stat = await fs.stat(this.inputPath);\nlet createdDate = new Date(stat.birthtimeMs);\ndebug(\n- \"getMappedDate: using file created time for %o of %o\",\n+ \"g... | JavaScript | MIT License | 11ty/eleventy | Adds some additional debug for #127 |
699 | 18.06.2018 20:45:30 | 18,000 | 416b91a94e894c55f274022c978fbab13942aaa7 | Fixes (was not working with template/directory data files) | [
{
"change_type": "MODIFY",
"old_path": "src/Template.js",
"new_path": "src/Template.js",
"diff": "@@ -141,6 +141,7 @@ class Template {\n// TODO check for conflicts, see if file already exists?\nasync getOutputPath(data) {\nlet uri = await this.getOutputLink(data);\n+ // TODO this only works with imm... | JavaScript | MIT License | 11ty/eleventy | Fixes #121 (was not working with template/directory data files) |
699 | 22.06.2018 07:23:50 | 18,000 | bd73326cf0ac0600b7b0676093c8b6b13ab8afce | Get rid of stars | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -13,7 +13,7 @@ Works with HTML, Markdown, Liquid, Nunjucks, Handlebars, Mustache, EJS, Haml, Pu\n- [@11ty on npm](https://www.npmjs.com/org/11ty)\n- [@11ty on GitHub](https://github.com/11ty)\n-[;\nt.is(await fn({ name:... | JavaScript | MIT License | 11ty/eleventy | Mustache tests for #145 |
699 | 25.06.2018 21:36:06 | 18,000 | 90a02424b109d5c47fee49f38589d609998f1038 | Adds support for Nunjucks custom tags. Fixes
Adds support for Shortcodes (supported in Nunjucks and LiquidJS). Fixes | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Nunjucks.js",
"new_path": "src/Engines/Nunjucks.js",
"diff": "@@ -19,6 +19,7 @@ class Nunjucks extends TemplateEngine {\nthis.addFilters(this.config.nunjucksFilters);\nthis.addFilters(this.config.nunjucksAsyncFilters, true);\n+ this.addCustomTags(t... | JavaScript | MIT License | 11ty/eleventy | Adds support for Nunjucks custom tags. Fixes #151
Adds support for Shortcodes (supported in Nunjucks and LiquidJS). Fixes #13 |
699 | 26.06.2018 08:22:34 | 18,000 | f9d2ff7a9317da0320ada40390a5508a7346932e | Bunch more tests for | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateRenderLiquidTest.js",
"new_path": "test/TemplateRenderLiquidTest.js",
"diff": "@@ -333,3 +333,48 @@ test(\"Liquid Render: with Library Override\", async t => {\nlet fn = await tr.getCompiledTemplate(\"<p>{{name | capitalize}}</p>\");\nt.is(await f... | JavaScript | MIT License | 11ty/eleventy | Bunch more tests for #13 |
699 | 27.06.2018 07:36:35 | 18,000 | 5c1e4fded4f9fb9f4dd3d532c2605ed92226dee1 | Filter stuff should be close together | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Liquid.js",
"new_path": "src/Engines/Liquid.js",
"diff": "@@ -59,6 +59,10 @@ class Liquid extends TemplateEngine {\n}\n}\n+ addFilter(name, filter) {\n+ this.liquidLib.registerFilter(name, filter);\n+ }\n+\naddTag(name, tagFn) {\nlet tagObj;\nif (t... | JavaScript | MIT License | 11ty/eleventy | Filter stuff should be close together |
699 | 03.07.2018 08:53:53 | 18,000 | ec9539103eae31319f8401d16441cdf7b98028ad | A few more nunjucks tests | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateRenderEJSTest.js",
"new_path": "test/TemplateRenderEJSTest.js",
"diff": "import test from \"ava\";\nimport TemplateRender from \"../src/TemplateRender\";\n-import path from \"path\";\n// EJS\ntest(\"EJS\", t => {\n"
},
{
"change_type": "MO... | JavaScript | MIT License | 11ty/eleventy | A few more nunjucks tests |
699 | 03.07.2018 16:40:20 | 18,000 | 6f3c510604cac0b4f81361a49ada69fd3d8305b7 | Tests for integration points with the syntax highlighter plugin | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"lint-staged\": \"^7.2.0\",\n\"markdown-it-emoji\": \"^1.4.0\",\n\"nyc\": \"^12.0.2\",\n- \"prettier\": \"1.13.5\"\n+ \"prettier\": \"1.13.5\",\n+ \"@11ty/eleventy-plugin-syntaxhighlight\": \"^1.0.5\"\n},\n\... | JavaScript | MIT License | 11ty/eleventy | Tests for integration points with the syntax highlighter plugin |
699 | 03.07.2018 17:13:43 | 18,000 | f2d7ed9f94d554778ad46cff0664553b12e426e3 | Adds test for Mustache partials too | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateRenderMustacheTest.js",
"new_path": "test/TemplateRenderMustacheTest.js",
"diff": "@@ -29,6 +29,14 @@ test(\"Mustache Render Partial\", async t => {\nt.is(await fn({ name: \"Zach\" }), \"<p>This is a Zach.</p>\");\n});\n+test(\"Mustache Render Par... | JavaScript | MIT License | 11ty/eleventy | Adds test for Mustache partials too #146 |
699 | 03.07.2018 22:35:41 | 18,000 | b89e35359f3c5687c781a2ce0ce49342d36c9b78 | Adds handlebars shortcodes and paired shortcodes. | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Handlebars.js",
"new_path": "src/Engines/Handlebars.js",
"diff": "@@ -20,11 +20,38 @@ class Handlebars extends TemplateEngine {\n}\nthis.addHelpers(this.config.handlebarsHelpers);\n+ this.addShortcodes(this.config.handlebarsShortcodes);\n+ this.add... | JavaScript | MIT License | 11ty/eleventy | Adds handlebars shortcodes and paired shortcodes. #157. |
699 | 05.07.2018 07:51:08 | 18,000 | c29f7232e993758076db176dcab49ece4cccf82e | Add a few warnings for config overwrites | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Handlebars.js",
"new_path": "src/Engines/Handlebars.js",
"diff": "@@ -19,6 +19,7 @@ class Handlebars extends TemplateEngine {\nthis.handlebarsLib.registerPartial(name, partials[name]);\n}\n+ // TODO these all go to the same place (addHelper), add w... | JavaScript | MIT License | 11ty/eleventy | Add a few warnings for config overwrites |
699 | 05.07.2018 08:06:21 | 18,000 | 7c5001152f70bac590316c49b79a01a7c859f4b0 | Colliding shortcode names. | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateRenderHandlebarsTest.js",
"new_path": "test/TemplateRenderHandlebarsTest.js",
"diff": "@@ -107,16 +107,33 @@ test(\"Handlebars Render Shortcode\", async t => {\nt.is(await fn({ name: \"Howdy\" }), \"<p>This is a HOWDY.</p>\");\n});\n+test(\"Handle... | JavaScript | MIT License | 11ty/eleventy | Colliding shortcode names. |
699 | 05.07.2018 08:08:40 | 18,000 | 92b5adf746c75393d30448485d7c6da8903cb374 | Whitespace in shortcode syntax | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateRenderHandlebarsTest.js",
"new_path": "test/TemplateRenderHandlebarsTest.js",
"diff": "@@ -137,3 +137,17 @@ test(\"Handlebars Render Paired Shortcode\", async t => {\n);\nt.is(await fn({ name: \"Howdy\" }), \"<p>This is a TESTINGHOWDY.</p>\");\n})... | JavaScript | MIT License | 11ty/eleventy | Whitespace in shortcode syntax |
699 | 05.07.2018 08:13:46 | 18,000 | 2567db384c022699dc49ea613f2bef7196dedb2b | Handlebars nesting test. | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateRenderHandlebarsTest.js",
"new_path": "test/TemplateRenderHandlebarsTest.js",
"diff": "@@ -138,7 +138,7 @@ test(\"Handlebars Render Paired Shortcode\", async t => {\nt.is(await fn({ name: \"Howdy\" }), \"<p>This is a TESTINGHOWDY.</p>\");\n});\n-t... | JavaScript | MIT License | 11ty/eleventy | Handlebars nesting test. |
699 | 11.07.2018 08:38:44 | 18,000 | a1424a1e88b84c5c371c4f0529e7da3479aff00f | Fixes and adds a bunch more tests. | [
{
"change_type": "MODIFY",
"old_path": "src/Plugins/Pagination.js",
"new_path": "src/Plugins/Pagination.js",
"diff": "@@ -22,7 +22,6 @@ Pagination.prototype.hasPagination = function() {\nPagination.prototype.setData = function(data) {\nthis.data = data || {};\n- this.size = 1;\nthis.target = [];\nif... | JavaScript | MIT License | 11ty/eleventy | Fixes #171 and adds a bunch more tests. |
699 | 11.07.2018 08:53:01 | 18,000 | 10e3fef5afb2032a4b13015ad453de06b3d4131e | Ordering of collections not guaranteed in this test. | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateMapTest.js",
"new_path": "test/TemplateMapTest.js",
"diff": "@@ -422,7 +422,12 @@ test(\"Should be able to paginate a user config collection (uses rendered permali\nlet collections = await tm.getCollectionsData();\nt.truthy(collections.userCollect... | JavaScript | MIT License | 11ty/eleventy | Ordering of collections not guaranteed in this test. |
699 | 12.07.2018 08:39:29 | 18,000 | 22981c7186b3b9a0f2ef0a496153bbc02cfb0c0c | Adds prettier badge | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -13,7 +13,7 @@ Works with HTML, Markdown, Liquid, Nunjucks, Handlebars, Mustache, EJS, Haml, Pu\n- [@11ty on npm](https://www.npmjs.com/org/11ty)\n- [@11ty on GitHub](https://github.com/11ty)\n-[ {\n- return this.items;\n+ return this.items.filter(() => true);\n}\ngetAllSorted() {\n- return this._cac... | JavaScript | MIT License | 11ty/eleventy | Remove template collection cache. We want to create new arrays here but not new templates. |
699 | 23.07.2018 22:49:18 | 18,000 | 33df840a522eb9be9b055cd00bbc96fd2a93b098 | Rudimentary tests for | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateRenderLiquidTest.js",
"new_path": "test/TemplateRenderLiquidTest.js",
"diff": "@@ -145,6 +145,18 @@ test(\"Liquid Shortcode\", async t => {\n);\n});\n+test(\"Liquid Shortcode Safe Output\", async t => {\n+ let tr = new TemplateRender(\"liquid\", \... | JavaScript | MIT License | 11ty/eleventy | Rudimentary tests for #180 |
699 | 24.07.2018 08:59:46 | 18,000 | 480582627abd822717fbdbf1c98e28d6f16a00f9 | Test for for the 0.5.1 release. | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateWriterTest.js",
"new_path": "test/TemplateWriterTest.js",
"diff": "import test from \"ava\";\n+import fs from \"fs-extra\";\nimport fastglob from \"fast-glob\";\nimport parsePath from \"parse-filepath\";\nimport TemplateWriter from \"../src/Templa... | JavaScript | MIT License | 11ty/eleventy | Test for #179 for the 0.5.1 release. |
699 | 03.08.2018 22:23:43 | 18,000 | 34276f57d69bf121a32aab21bbaeff273adc69de | passthroughall option to copy everything in the input directory (template or not). Will only process templates though. Requested by | [
{
"change_type": "MODIFY",
"old_path": "cmd.js",
"new_path": "cmd.js",
"diff": "@@ -25,6 +25,7 @@ EleventyNodeVersionCheck().then(\nelev.setConfigPath(argv.config);\nelev.setPathPrefix(argv.pathprefix);\nelev.setDryRun(argv.dryrun);\n+ elev.setPassthroughAll(argv.passthroughall);\nelev.setFormats(ar... | JavaScript | MIT License | 11ty/eleventy | --passthroughall option to copy everything in the input directory (template or not). Will only process templates though. Requested by #162 |
699 | 14.08.2018 09:01:34 | 18,000 | 200d1b6f812aaeea8513ab9291e3ac85f4b77510 | Exit with error code 1 on error. | [
{
"change_type": "MODIFY",
"old_path": "cmd.js",
"new_path": "cmd.js",
"diff": "@@ -22,6 +22,7 @@ try {\ncmdCheck.hasUnknownArguments();\n} catch (e) {\nconsole.log(chalk.red(\"Eleventy error:\"), chalk.red(e.toString()));\n+ process.exitCode = 1;\nreturn;\n}\n@@ -52,4 +53,5 @@ try {\n});\n} catch (... | JavaScript | MIT License | 11ty/eleventy | Exit with error code 1 on error. |
699 | 14.08.2018 20:49:00 | 18,000 | 171d0c211d0dbdbbd04775b9b2df7f84d224ede0 | Log warnings with slow config callbacks (ignore when --quiet) | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/Benchmark.js",
"diff": "+class Benchmark {\n+ constructor() {\n+ this.reset();\n+ }\n+\n+ reset() {\n+ this.timeSpent = 0;\n+ this.beforeDates = [];\n+ }\n+\n+ before() {\n+ this.beforeDates.push(new Date());\n+ }\n+\n+ after() {\n+ if (!thi... | JavaScript | MIT License | 11ty/eleventy | Log warnings with slow config callbacks (ignore when --quiet) |
699 | 14.08.2018 20:50:48 | 18,000 | 7d67b99080ef29ca3bc38ddf68ec13c87ec0d2cb | v0.5.1 coverage | [
{
"change_type": "MODIFY",
"old_path": "docs-src/_data/coverage.json",
"new_path": "docs-src/_data/coverage.json",
"diff": "-{\"total\": {\"lines\":{\"total\":1996,\"covered\":1697,\"skipped\":0,\"pct\":85.02},\"statements\":{\"total\":1998,\"covered\":1699,\"skipped\":0,\"pct\":85.04},\"functions\"... | JavaScript | MIT License | 11ty/eleventy | v0.5.1 coverage |
699 | 15.08.2018 08:01:43 | 18,000 | 9e2acf7f4df1b6095507a42655a33bf60fe29dab | Hmm, slow config API call benchmarks were not resetting on watch. | [
{
"change_type": "MODIFY",
"old_path": "src/Eleventy.js",
"new_path": "src/Eleventy.js",
"diff": "@@ -229,6 +229,9 @@ Eleventy.prototype._watch = async function(path) {\n// reset and reload global configuration :O\nif (path === config.getLocalProjectConfigFile()) {\nthis.resetConfig();\n+ } else {\n... | JavaScript | MIT License | 11ty/eleventy | Hmm, slow config API call benchmarks were not resetting on watch. |
689 | 16.08.2018 09:53:17 | -7,200 | 9ee98773b7b4740b69eb139dec62b94a8dcd8ce9 | Fix incorrect debug log for TemplateEngine#cachePartialFiles
The `debug()` printed the keys of `this.partials`, but should instead print the local variable `partials`, which includes the found partials. | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/TemplateEngine.js",
"new_path": "src/Engines/TemplateEngine.js",
"diff": "@@ -58,7 +58,7 @@ class TemplateEngine {\ndebug(\n`${this.inputDir}/*${this.extension} found partials for: %o`,\n- Object.keys(this.partials)\n+ Object.keys(partials)\n);\nre... | JavaScript | MIT License | 11ty/eleventy | Fix incorrect debug log for TemplateEngine#cachePartialFiles
The `debug()` printed the keys of `this.partials`, but should instead print the local variable `partials`, which includes the found partials. |
699 | 16.08.2018 23:52:34 | 18,000 | 7552633bae607de234385ec459a38e3c6c861291 | Use warnings debug log | [
{
"change_type": "MODIFY",
"old_path": "src/UserConfig.js",
"new_path": "src/UserConfig.js",
"diff": "@@ -3,6 +3,7 @@ const chalk = require(\"chalk\");\nconst semver = require(\"semver\");\nconst { DateTime } = require(\"luxon\");\nconst debug = require(\"debug\")(\"Eleventy:UserConfig\");\n+const d... | JavaScript | MIT License | 11ty/eleventy | Use warnings debug log |
699 | 19.08.2018 14:03:19 | 18,000 | a56cdf3bacb93cf0a579d94f2b467a4a2fc3e0d4 | Fixes using configurable .11tydata.js files | [
{
"change_type": "MODIFY",
"old_path": "config.js",
"new_path": "config.js",
"diff": "@@ -25,6 +25,7 @@ module.exports = function(config) {\ndataTemplateEngine: \"liquid\",\npassthroughFileCopy: true,\nhtmlOutputSuffix: \"-o\",\n+ jsDataFileSuffix: \".11tydata.js\",\nkeys: {\npackage: \"pkg\",\nlayo... | JavaScript | MIT License | 11ty/eleventy | Fixes #155 using configurable .11tydata.js files |
699 | 19.08.2018 16:02:42 | 18,000 | f7ae7aff782c4992d650093154dad4a3917ac1a1 | Switch to use `.11tydata` for suffix which now supports both .js and .json data files. Allows consistent use of the suffix across .js and .json data files for | [
{
"change_type": "MODIFY",
"old_path": "config.js",
"new_path": "config.js",
"diff": "@@ -25,7 +25,7 @@ module.exports = function(config) {\ndataTemplateEngine: \"liquid\",\npassthroughFileCopy: true,\nhtmlOutputSuffix: \"-o\",\n- jsDataFileSuffix: \".11tydata.js\",\n+ jsDataFileSuffix: \".11tydata\... | JavaScript | MIT License | 11ty/eleventy | Switch to use `.11tydata` for suffix which now supports both .js and .json data files. Allows consistent use of the suffix across .js and .json data files for #155 |
699 | 19.08.2018 16:24:33 | 18,000 | 0f4793d84e9a20cda9699b27c6bcdc89dfb37409 | Change order of inclusion so that the .11tydata.js > .11tydata.json > .json data files | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateData.js",
"new_path": "src/TemplateData.js",
"diff": "@@ -244,9 +244,9 @@ TemplateData.prototype.getLocalDataPaths = async function(templatePath) {\nlet filePathNoExt = parsed.dir + \"/\" + fileNameNoExt;\nlet dataSuffix = this.config.jsDataFileSuf... | JavaScript | MIT License | 11ty/eleventy | Change order of inclusion so that the .11tydata.js > .11tydata.json > .json data files |
699 | 19.08.2018 16:43:19 | 18,000 | 4c19ed880449a852bfdb640c8f087231c366a745 | Add support for async data files | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateData.js",
"new_path": "src/TemplateData.js",
"diff": "@@ -199,7 +199,7 @@ TemplateData.prototype.getDataValue = async function(\nif (await fs.pathExists(localPath)) {\nlet returnValue = require(localPath);\nif (typeof returnValue === \"function\") ... | JavaScript | MIT License | 11ty/eleventy | Add support for async data files #155 |
699 | 20.08.2018 08:40:34 | 18,000 | 3bfbe65687fb4283a26b4e4db1e9cc8a5b14cf4c | Class syntax | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateData.js",
"new_path": "src/TemplateData.js",
"diff": "@@ -13,7 +13,8 @@ const debugWarn = require(\"debug\")(\"Eleventy:Warnings\");\nconst debug = require(\"debug\")(\"Eleventy:TemplateData\");\nconst debugDev = require(\"debug\")(\"Dev:Eleventy:T... | JavaScript | MIT License | 11ty/eleventy | Class syntax |
664 | 20.08.2018 15:39:29 | 21,600 | 280deced29235c9b97676544b497e956a098cebc | update liquid to ^5.1.0 | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"gray-matter\": \"^4.0.1\",\n\"hamljs\": \"^0.6.2\",\n\"handlebars\": \"^4.0.11\",\n- \"liquidjs\": \"^4.0.0\",\n+ \"liquidjs\": \"^5.1.0\",\n\"lodash.chunk\": \"^4.2.0\",\n\"lodash.clone\": \"^4.5.0\",\n\"l... | JavaScript | MIT License | 11ty/eleventy | update liquid to ^5.1.0
https://github.com/harttle/liquidjs/issues/72 |
699 | 20.08.2018 17:55:09 | 18,000 | 4c9c0f0cfc169cd9fa657fbf9abbe0c171c31054 | Adds benchmark code to template data JavaScript files | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/BenchmarkGroup.js",
"diff": "+const chalk = require(\"chalk\");\n+\n+const Benchmark = require(\"./Benchmark\");\n+const debugWarn = require(\"debug\")(\"Eleventy:Warnings\");\n+\n+class BenchmarkGroup {\n+ constructor() {\n+ this.benchmarks... | JavaScript | MIT License | 11ty/eleventy | Adds benchmark code to template data JavaScript files |
699 | 20.08.2018 21:27:23 | 18,000 | 30cc5107a6a42d20b7cfc4c0dd1152d1b2f577d7 | Change some copy | [
{
"change_type": "MODIFY",
"old_path": "src/BenchmarkGroup.js",
"new_path": "src/BenchmarkGroup.js",
"diff": "@@ -44,7 +44,7 @@ class BenchmarkGroup {\nlet percent = (totalForBenchmark * 100) / totalTimeSpent;\nif (percent > thresholdPercent) {\nlet str = chalk.yellow(\n- `${location}: Found a slow ... | JavaScript | MIT License | 11ty/eleventy | Change some copy |
699 | 20.08.2018 21:42:10 | 18,000 | a229d22487b811d9ac120948f2053b853543dcde | Clear require cache for JavaScript data files (if they change) | [
{
"change_type": "MODIFY",
"old_path": "src/Eleventy.js",
"new_path": "src/Eleventy.js",
"diff": "@@ -84,6 +84,9 @@ Eleventy.prototype.restart = async function() {\ntemplateCache.clear();\nbench.reset();\n+ // reload package.json values (if applicable)\n+ delete require.cache[TemplatePath.localPath(... | JavaScript | MIT License | 11ty/eleventy | Clear require cache for JavaScript data files (if they change) |
699 | 24.08.2018 07:26:07 | 18,000 | d8552e56b692792ac394cfd2e55d1f284fa47833 | Scope leaking liquid test cc | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateRenderLiquidTest.js",
"new_path": "test/TemplateRenderLiquidTest.js",
"diff": "@@ -390,3 +390,13 @@ test(\"Liquid Shortcode Multiple Args\", async t => {\n\"testhowdyZach\"\n);\n});\n+\n+test.skip(\"Liquid Include Scope Leak\", async t => {\n+ t.i... | JavaScript | MIT License | 11ty/eleventy | Scope leaking liquid test https://twitter.com/zachleat/status/1032397185005051904 cc @eduardoboucas |
699 | 24.08.2018 17:28:36 | 18,000 | 202f6f41af239eda824f7dec0a612c711f1bf1db | Fix to allow Eleventy to return things from addCollection that are not arrays of template objects. Think: arbitrary arrays, arbitrary objects, arbitrary strings, etc. | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateMap.js",
"new_path": "src/TemplateMap.js",
"diff": "@@ -167,9 +167,20 @@ class TemplateMap {\nlet configCollections =\nthis.configCollections || eleventyConfig.getCollections();\nfor (let name in configCollections) {\n- collections[name] = this.cre... | JavaScript | MIT License | 11ty/eleventy | Fix to allow Eleventy to return things from addCollection that are not arrays of template objects. Think: arbitrary arrays, arbitrary objects, arbitrary strings, etc. |
699 | 24.08.2018 17:34:23 | 18,000 | f744627f4fd1a10428c639f3a40a37bc10f26a9e | Tests for (return arbitrary types from UserConfig.addCollection) | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateWriterTest.js",
"new_path": "test/TemplateWriterTest.js",
"diff": "@@ -105,6 +105,7 @@ test(\"_getCollectionsData with custom collection (ascending)\", async t => {\n[\"md\"]\n);\n+ /* Careful here, eleventyConfig is a global */\neleventyConfig.ad... | JavaScript | MIT License | 11ty/eleventy | Tests for 202f6f41af239eda824f7dec0a612c711f1bf1db (return arbitrary types from UserConfig.addCollection) |
699 | 28.08.2018 17:39:24 | 18,000 | 882d007d20ca8d8044754f13c7faf0091edd2b77 | Fixes adds transforms to paginated templates | [
{
"change_type": "MODIFY",
"old_path": "src/Template.js",
"new_path": "src/Template.js",
"diff": "@@ -448,6 +448,9 @@ class Template extends TemplateContent {\nthis.templateData\n);\n+ for (let transform of this.transforms) {\n+ tmpl.addTransform(transform);\n+ }\ntmpl.setIsVerbose(this.isVerbose);\... | JavaScript | MIT License | 11ty/eleventy | Fixes #199, adds transforms to paginated templates |
699 | 07.09.2018 21:53:32 | 18,000 | 3671ba1fff033338a320e1fca017efde260e0022 | Fixes adds test for passthroughall.
Fixes by switching to `recursive-copy` instead of `fs-extra` | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"please-upgrade-node\": \"^3.1.1\",\n\"pretty\": \"^2.0.0\",\n\"pug\": \"^2.0.3\",\n+ \"recursive-copy\": \"^2.0.9\",\n\"semver\": \"^5.5.0\",\n\"slugify\": \"^1.3.0\",\n\"time-require\": \"^0.1.2\",\n"
},... | JavaScript | MIT License | 11ty/eleventy | Fixes #205, adds test for passthroughall.
Fixes #208 by switching to `recursive-copy` instead of `fs-extra` |
699 | 12.09.2018 21:10:30 | 18,000 | 1b8ab3f271a66815ed6295b25647fb2bb52ea42f | A little refactor for | [
{
"change_type": "MODIFY",
"old_path": "cmd.js",
"new_path": "cmd.js",
"diff": "@@ -10,13 +10,15 @@ require(\"please-upgrade-node\")(pkg, {\n});\nif (process.env.DEBUG) {\n- require(\"time-require\");\n+ let timeRequire = require(\"time-require\");\n}\n+const EleventyErrorHandler = require(\"./src/E... | JavaScript | MIT License | 11ty/eleventy | A little refactor for #182 |
699 | 13.09.2018 08:31:40 | 18,000 | c207644d14e1b3eb65bd136afc4312fbcb2760f2 | Working implementation of `permalink: false` to fix | [
{
"change_type": "MODIFY",
"old_path": "src/Template.js",
"new_path": "src/Template.js",
"diff": "@@ -6,6 +6,7 @@ const { DateTime } = require(\"luxon\");\nconst TemplateContent = require(\"./TemplateContent\");\nconst TemplatePath = require(\"./TemplatePath\");\nconst TemplatePermalink = require(\"... | JavaScript | MIT License | 11ty/eleventy | Working implementation of `permalink: false` to fix #61 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.