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 | 19.12.2017 17:57:33 | 21,600 | 68a24a07d40ebf4072100288678e11bacbba084d | Adds minimum node version | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"name\": \"eleventy\",\n\"version\": \"0.1.0\",\n\"description\": \"Transform a directory of templates into HTML.\",\n- \"license\": \"MIT\",\n\"main\": \"cmd.js\",\n+ \"license\": \"MIT\",\n+ \"engines\": {... | JavaScript | MIT License | 11ty/eleventy | Adds minimum node version |
699 | 19.12.2017 17:58:16 | 21,600 | d30139b8551e09061886d581b126c82556f3033b | Another index index-output test | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateTest.js",
"new_path": "test/TemplateTest.js",
"diff": "@@ -81,6 +81,15 @@ test(\"HTML files output to the same as the input directory have a file suffix ad\nt.is(await tmpl.getOutputPath(), \"./test/stubs/index-output.html\");\n});\n+test(\"HTML f... | JavaScript | MIT License | 11ty/eleventy | Another index index-output test |
699 | 19.12.2017 17:58:37 | 21,600 | 6c77d1e3175136e72365360b89373f4f7c962a05 | Fixes start/end times on command line when using pagination (ended too early) | [
{
"change_type": "MODIFY",
"old_path": "src/Plugins/Pagination.js",
"new_path": "src/Plugins/Pagination.js",
"diff": "@@ -114,9 +114,9 @@ Pagination.prototype.getTemplates = async function() {\nPagination.prototype.write = async function() {\nlet pages = await this.getTemplates();\n- pages.forEach(a... | JavaScript | MIT License | 11ty/eleventy | Fixes start/end times on command line when using pagination (ended too early) |
699 | 19.12.2017 20:40:40 | 21,600 | d2ab1ebfd71339921b80d7219834534082eb6676 | Eleventy top level object tests | [
{
"change_type": "MODIFY",
"old_path": "cmd.js",
"new_path": "cmd.js",
"diff": "@@ -7,23 +7,17 @@ let eleven = new Eleventy(argv.input, argv.output);\neleven.setFormats(argv.formats);\n(async function() {\n- let start = new Date();\n-\nawait eleven.init();\nif (argv.version) {\n- eleven.printVersion... | JavaScript | MIT License | 11ty/eleventy | Eleventy top level object tests |
699 | 19.12.2017 21:25:09 | 21,600 | 0733746fed4ff90d7fddb89008f24abdb220f5ff | Permalink object | [
{
"change_type": "MODIFY",
"old_path": "src/Template.js",
"new_path": "src/Template.js",
"diff": "@@ -7,6 +7,7 @@ const normalize = require(\"normalize-path\");\nconst clone = require(\"lodash.clone\");\nconst TemplateRender = require(\"./TemplateRender\");\nconst TemplatePath = require(\"./Template... | JavaScript | MIT License | 11ty/eleventy | Permalink object |
699 | 19.12.2017 22:26:46 | 21,600 | 6ccacc82c3f9973febcc540a396e4f3d01615238 | URL simplification if directory and filename match. | [
{
"change_type": "MODIFY",
"old_path": "src/Template.js",
"new_path": "src/Template.js",
"diff": "@@ -68,17 +68,12 @@ Template.prototype.getOutputLink = async function() {\nreturn perm.toString();\n}\n- // TODO move this into permalink (or new obj?)\n- let dir = this.getTemplateSubfolder();\n- let p... | JavaScript | MIT License | 11ty/eleventy | URL simplification if directory and filename match. |
699 | 19.12.2017 22:30:18 | 21,600 | 5dec686e6426076957a55ff50c6a67e66a8bb4db | Switch to -o instead of -output for html io exception | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -58,10 +58,10 @@ eleventy --input=. --output=. --watch --formats=md\n##### Exception: index.html Templates\n-When the input and output directories are the same, and if the source template is named `index.html`, ... | JavaScript | MIT License | 11ty/eleventy | Switch to -o instead of -output for html io exception |
699 | 20.12.2017 08:08:46 | 21,600 | 5de0a35a286093fae91ecff007cb3a4c6f8647fb | Add write counts and --quiet option | [
{
"change_type": "MODIFY",
"old_path": "cmd.js",
"new_path": "cmd.js",
"diff": "@@ -4,6 +4,7 @@ const Eleventy = require(\"./src/Eleventy\");\nlet eleven = new Eleventy(argv.input, argv.output);\neleven.setFormats(argv.formats);\n+eleven.setIsVerbose(!argv.quiet);\n(async function() {\nawait eleven.... | JavaScript | MIT License | 11ty/eleventy | Add write counts and --quiet option |
699 | 20.12.2017 08:29:30 | 21,600 | e42531fcf5fed969fae215183b95b6dbf21d122f | New npm package name | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -15,6 +15,12 @@ Works with:\n* [Pug](https://github.com/pugjs/pug) (formerly Jade, `.pug`)\n* JavaScript Template Literals (`.jstl`) (strings with backticks \\`)\n+## Installation\n+\n+```\n+npm install -g eleve... | JavaScript | MIT License | 11ty/eleventy | New npm package name |
699 | 20.12.2017 10:09:43 | 21,600 | f77b3b25bf8359b5aba42ea1f464770da1549e28 | Uh, a new package.json name broke a few tests | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"name\": \"eleventy-cli\",\n\"version\": \"0.1.0\",\n\"description\": \"Transform a directory of templates into HTML.\",\n- \"main\": \"cmd.js\",\n+ \"main\": \"src/Eleventy.js\",\n\"license\": \"MIT\",\n\"e... | JavaScript | MIT License | 11ty/eleventy | Uh, a new package.json name broke a few tests |
699 | 20.12.2017 12:42:55 | 21,600 | 1a1ffdd232f24042e281036701dfbc62ba41fdf3 | Switches from slug-rfc to slugify to fix | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -17,6 +17,8 @@ Works with:\n## Installation\n+Available [on npm](https://www.npmjs.com/package/eleventy-cli).\n+\n```\nnpm install -g eleventy-cli\n```\n"
},
{
"change_type": "MODIFY",
"old_path": "c... | JavaScript | MIT License | 11ty/eleventy | Switches from slug-rfc to slugify to fix #2 |
699 | 20.12.2017 12:45:27 | 21,600 | 568a79fa54fc1f7af60ac74e22d998b379b47e4a | Switch from git+ssh to https in an attempt to fix | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"prettier\": \"1.9.1\"\n},\n\"dependencies\": {\n- \"ejs\": \"git+ssh://git@github.com:zachleat/ejs.git#v2.5.7-h1\",\n+ \"ejs\": \"https://github.com/zachleat/ejs.git#v2.5.7-h1\",\n\"fs-extra\": \"^4.0.2\",\... | JavaScript | MIT License | 11ty/eleventy | Switch from git+ssh to https in an attempt to fix #3 |
699 | 21.12.2017 07:47:40 | 21,600 | b19609f594d52f51139823e736c190397a36cb5e | Switch to use static partial includes to match Jekyll include syntax via | [
{
"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.0.3\",\n+ \"liquidjs\": \"^2.2.0\",\n\"lodash.chunk\": \"^4.2.0\",\n\"lodash.clone\": \"^4.5.0\",\n\"l... | JavaScript | MIT License | 11ty/eleventy | Switch to use static partial includes to match Jekyll include syntax via https://github.com/harttle/liquidjs/issues/51 |
698 | 21.12.2017 23:35:19 | 0 | 026eb731c537cccf6e67a87ea5dce5c0f5b74f71 | Update to ES6 format | [
{
"change_type": "MODIFY",
"old_path": "cmd.js",
"new_path": "cmd.js",
"diff": "@@ -6,7 +6,7 @@ let eleven = new Eleventy(argv.input, argv.output);\neleven.setFormats(argv.formats);\neleven.setIsVerbose(!argv.quiet);\n-(async function() {\n+(async () => {\nawait eleven.init();\nif (argv.version) {\n... | JavaScript | MIT License | 11ty/eleventy | Update to ES6 format |
699 | 21.12.2017 22:17:47 | 21,600 | fd29eecd1f8ea8884d97676c8903f31bdf11b8f0 | Restrict `npm run default` to `playground` dir only. | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"eleventy\": \"./cmd.js\"\n},\n\"scripts\": {\n- \"default\": \"node cmd.js\",\n- \"watch\": \"node cmd.js --watch\",\n+ \"default\": \"node cmd.js --input=playground --output=_site\",\n\"test\": \"ava\",\n\... | JavaScript | MIT License | 11ty/eleventy | Restrict `npm run default` to `playground` dir only. |
699 | 26.12.2017 09:34:06 | 21,600 | 98dd98d4a900cb4a4f3adbf2bed6294a4a90e2fd | Better error messaging, fixes | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "{\n\"name\": \"eleventy-cli\",\n- \"version\": \"0.1.3\",\n+ \"version\": \"0.1.4\",\n\"description\": \"Transform a directory of templates into HTML.\",\n\"main\": \"src/Eleventy.js\",\n\"license\": \"MIT\",... | JavaScript | MIT License | 11ty/eleventy | Better error messaging, fixes #7 |
699 | 26.12.2017 09:41:28 | 21,600 | 30de0cdfc40fbf41c78e6cf587d441dfddbeb1ef | Fixes issue trailing whitespace line on .eleventyignore files. | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateWriter.js",
"new_path": "src/TemplateWriter.js",
"diff": "@@ -55,7 +55,12 @@ TemplateWriter.getFileIgnores = function(baseDir) {\nlet ignores = [];\nif (ignoreContent) {\n- ignores = ignoreContent.split(\"\\n\").map(line => {\n+ ignores = ignoreCon... | JavaScript | MIT License | 11ty/eleventy | Fixes issue trailing whitespace line on .eleventyignore files. |
699 | 26.12.2017 10:03:48 | 21,600 | 5408ed5b42c5929f0b15865db0af8a4fbff858cb | globby requires leading dotslash for ignore files | [
{
"change_type": "MODIFY",
"old_path": "src/TemplatePath.js",
"new_path": "src/TemplatePath.js",
"diff": "@@ -20,6 +20,13 @@ TemplatePath.localPath = function(...paths) {\nreturn normalize(path.join(TemplatePath.getWorkingDir(), ...paths));\n};\n+TemplatePath.addLeadingDotSlash = function(path) {\n+... | JavaScript | MIT License | 11ty/eleventy | globby requires leading dotslash for ignore files |
699 | 26.12.2017 10:18:35 | 21,600 | 8fca9dede92370398a32e56dcf3cc72f32d87ae4 | Fix for templateFormat overrides in config file. | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateConfig.js",
"new_path": "src/TemplateConfig.js",
"diff": "@@ -27,7 +27,14 @@ TemplateConfig.prototype.mergeConfig = function(globalConfig) {\n// if file does not exist, return empty obj\nlocalConfig = {};\n}\n- return merge({}, globalConfig, localC... | JavaScript | MIT License | 11ty/eleventy | Fix for templateFormat overrides in config file. |
699 | 26.12.2017 11:20:56 | 21,600 | 100286429568a922947cf7fba93c27a6a8af7951 | JavaScript Template Literal files work with or without backticks | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/JavaScript.js",
"new_path": "src/Engines/JavaScript.js",
"diff": "const TemplateEngine = require(\"./TemplateEngine\");\n+const EleventyError = require(\"../EleventyError\");\nclass JavaScript extends TemplateEngine {\nasync compile(str) {\n@@ -15,... | JavaScript | MIT License | 11ty/eleventy | JavaScript Template Literal files work with or without backticks |
699 | 26.12.2017 12:41:02 | 21,600 | 3ff8de942a6684905502d97f8e84d1953d79e3dd | Allow permalinks to ignore output dir. | [
{
"change_type": "MODIFY",
"old_path": "config.js",
"new_path": "config.js",
"diff": "@@ -20,7 +20,8 @@ module.exports = {\nkeys: {\npackage: \"pkg\",\nlayout: \"layout\",\n- permalink: \"permalink\"\n+ permalink: \"permalink\",\n+ permalinkRoot: \"permalinkBypassOutputDir\"\n},\ndir: {\ninput: \".\... | JavaScript | MIT License | 11ty/eleventy | Allow permalinks to ignore output dir. |
699 | 26.12.2017 17:29:50 | 21,600 | e77a82106910bb57a388dd31763aba52fd0ddd45 | renderData on front matter to render variables in front matter data | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "},\n\"dependencies\": {\n\"chalk\": \"^2.3.0\",\n- \"ejs\": \"https://github.com/zachleat/ejs.git#v2.5.7-h1\",\n+ \"ejs\": \"git+https://github.com/zachleat/ejs.git#v2.5.7-h1\",\n\"fs-extra\": \"^4.0.2\",\n\"... | JavaScript | MIT License | 11ty/eleventy | renderData on front matter to render variables in front matter data |
699 | 28.12.2017 07:45:11 | 21,600 | d97a2f54c0273a8e5e14e8e7f0aa6e70fa094d53 | Pagination variable aliasing. | [
{
"change_type": "MODIFY",
"old_path": "docs/pagination.md",
"new_path": "docs/pagination.md",
"diff": "@@ -53,6 +53,7 @@ Your front matter would look like this:\n---\npagination:\ndata: globalDataSet.myData\n+ size: 1\n---\n<ol>{% for item in pagination.items %}<li>{{ item }}</li>{% endfor %}</ol>\... | JavaScript | MIT License | 11ty/eleventy | Pagination variable aliasing. |
699 | 28.12.2017 23:14:03 | 21,600 | a701be0293a69cd5626fe456b9e80e1f18b39abe | Run write once when starting to watch | [
{
"change_type": "MODIFY",
"old_path": "cmd.js",
"new_path": "cmd.js",
"diff": "@@ -14,7 +14,7 @@ eleven.setIsVerbose(!argv.quiet);\n} else if (argv.help) {\nconsole.log(eleven.getHelp());\n} else if (argv.watch) {\n- eleven.watch();\n+ await eleven.watch();\n} else {\nawait eleven.write();\nconsole... | JavaScript | MIT License | 11ty/eleventy | Run write once when starting to watch |
699 | 28.12.2017 23:19:00 | 21,600 | d5be147fb7914309aa452ea3960c3806f0c52de5 | Remove default pretty html printer, moves into `filters` configuration. | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -121,7 +121,7 @@ module.exports = {\n```\n| Configuration Option Key | Default Option | Valid Options | Command Line Override | Description |\n-| ------------------------ | --------------------------------------... | JavaScript | MIT License | 11ty/eleventy | Remove default pretty html printer, moves into `filters` configuration. |
699 | 28.12.2017 23:58:53 | 21,600 | 9ef53b0e33ed2190d0e1b9cc0280a2cd3286d1f8 | Allow config.dir.data to be the same as the config.dir.input (by use "." or "") | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateData.js",
"new_path": "src/TemplateData.js",
"diff": "@@ -45,7 +45,10 @@ TemplateData.prototype.getGlobalDataGlob = async function() {\ndir = this.globalDataPath;\n}\n- return TemplatePath.normalize(dir, \"/\", cfg.dir.data) + \"/**/*.json\";\n+ re... | JavaScript | MIT License | 11ty/eleventy | Allow config.dir.data to be the same as the config.dir.input (by use "." or "") |
699 | 29.12.2017 21:26:29 | 21,600 | 650a5ef2d60cbe9ce602bf2c602d06ec4317bc0f | Okay, this should actually fix Move off of my custom fork of ejs. | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "},\n\"dependencies\": {\n\"chalk\": \"^2.3.0\",\n- \"ejs\": \"git+https://github.com/zachleat/ejs.git#v2.5.7-h1\",\n+ \"ejs\": \"^2.5.7\",\n\"fs-extra\": \"^4.0.2\",\n\"glob-watcher\": \"^4.0.0\",\n\"globby\"... | JavaScript | MIT License | 11ty/eleventy | Okay, this should actually fix #14. Move off of my custom fork of ejs. |
699 | 30.12.2017 13:30:06 | 21,600 | 08aea17abf2f4bce8f839febf57a1190c097d30f | Flag in readme for | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -165,6 +165,8 @@ Here are the features tested with each template engine that use external files a\n## Tests\n+Build Status: [](https://tr... | JavaScript | MIT License | 11ty/eleventy | Flag in readme for #15 |
699 | 03.01.2018 07:03:30 | 21,600 | e17cf3afbb7aec02b7a639f8ff6457a343dfa181 | Renames to Layout to `TemplateLayout` for consistency. | [
{
"change_type": "MODIFY",
"old_path": "src/Template.js",
"new_path": "src/Template.js",
"diff": "@@ -7,7 +7,7 @@ const _isObject = require(\"lodash.isobject\");\nconst TemplateRender = require(\"./TemplateRender\");\nconst TemplatePath = require(\"./TemplatePath\");\nconst TemplatePermalink = requi... | JavaScript | MIT License | 11ty/eleventy | Renames to Layout to `TemplateLayout` for consistency. |
699 | 03.01.2018 20:19:46 | 21,600 | 64fd98bebc6e20633e9fb6adaa19a41baf7b4386 | Now relies exclusively on .eleventyignore for ignoring files. Underscore files get processed. Underscore ignores are unintuitive and confusing, per my experience and comments on Reversal of and closes | [
{
"change_type": "MODIFY",
"old_path": "src/Template.js",
"new_path": "src/Template.js",
"diff": "@@ -9,6 +9,7 @@ const TemplatePath = require(\"./TemplatePath\");\nconst TemplatePermalink = require(\"./TemplatePermalink\");\nconst Layout = require(\"./TemplateLayout\");\nconst TemplateConfig = requ... | JavaScript | MIT License | 11ty/eleventy | Now relies exclusively on .eleventyignore for ignoring files. Underscore files get processed. Underscore ignores are unintuitive and confusing, per my experience and comments on https://github.com/jekyll/jekyll/issues/55 Reversal of and closes #18 |
699 | 03.01.2018 20:45:26 | 21,600 | ea39e5af1373e7268e11ccae8653180e0f60fbf2 | Start of collections | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "docs/collections.md",
"diff": "+# Collections\n+\n+While [pagination](pagination.md) allows you do iterate over a data set to create multiple templates, a collection allows you to group content in interesting ways. By default, content is grouped... | JavaScript | MIT License | 11ty/eleventy | Start of collections |
699 | 04.01.2018 08:01:39 | 21,600 | c0da554770eedf6de73a69d02c4b9e7e1f74b3a0 | Switch to class syntax | [
{
"change_type": "MODIFY",
"old_path": "src/Template.js",
"new_path": "src/Template.js",
"diff": "@@ -9,12 +9,12 @@ const TemplatePath = require(\"./TemplatePath\");\nconst TemplatePermalink = require(\"./TemplatePermalink\");\nconst Layout = require(\"./TemplateLayout\");\nconst TemplateConfig = re... | JavaScript | MIT License | 11ty/eleventy | Switch to class syntax |
699 | 04.01.2018 08:19:55 | 21,600 | 3476284f9f0f2116632c256db66de2aad6602891 | Surely it was not I that used var instead of let | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/JavaScript.js",
"new_path": "src/Engines/JavaScript.js",
"diff": "@@ -6,7 +6,7 @@ class JavaScript extends TemplateEngine {\nreturn function(data) {\n// avoid `with`\nlet dataStr = \"\";\n- for (var j in data) {\n+ for (let j in data) {\ndataStr +=... | JavaScript | MIT License | 11ty/eleventy | Surely it was not I that used var instead of let |
699 | 04.01.2018 08:24:01 | 21,600 | 009999481cb311bbb8d9347ca464d9fe62f2796c | Adds `renderData` front matter test | [
{
"change_type": "MODIFY",
"old_path": "src/Template.js",
"new_path": "src/Template.js",
"diff": "@@ -189,6 +189,17 @@ class Template {\nreturn Object.assign({}, data, mergedLayoutData, mergedLocalData);\n}\n+ async getRenderedData() {\n+ let data = await this.getData();\n+ if (data.renderData) {\n+... | JavaScript | MIT License | 11ty/eleventy | Adds `renderData` front matter test |
699 | 04.01.2018 20:21:40 | 21,600 | e36f40df7ad0851759a5815ede3941c6bcfa46b2 | Work in progress, collections | [
{
"change_type": "MODIFY",
"old_path": "src/Template.js",
"new_path": "src/Template.js",
"diff": "@@ -53,6 +53,10 @@ class Template {\nthis.writeCount = 0;\n}\n+ getInputPath() {\n+ return this.inputPath;\n+ }\n+\nsetIsVerbose(isVerbose) {\nthis.isVerbose = isVerbose;\n}\n@@ -275,8 +279,7 @@ class T... | JavaScript | MIT License | 11ty/eleventy | Work in progress, collections |
699 | 05.01.2018 08:29:17 | 21,600 | 41e69976496b9cb2b2f7c40b5a4080b43537a4c8 | Allows HTML to output without escaping in markdown render. (Option to markdown-it) | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Markdown.js",
"new_path": "src/Engines/Markdown.js",
"diff": "-const mdlib = require(\"markdown-it\")();\n+const mdlib = require(\"markdown-it\")({\n+ html: true\n+});\nconst TemplateEngine = require(\"./TemplateEngine\");\nclass Markdown extends T... | JavaScript | MIT License | 11ty/eleventy | Allows HTML to output without escaping in markdown render. (Option to markdown-it) |
699 | 05.01.2018 08:45:52 | 21,600 | 7ffc7a278333f10c63bdc648a58b966126c93d2e | Working collections! | [
{
"change_type": "MODIFY",
"old_path": "config.js",
"new_path": "config.js",
"diff": "@@ -33,6 +33,9 @@ module.exports = {\ncontentMapCollectionFilters: {\nposts: function(collection, activeTemplate) {\nreturn collection.getFilteredByTag(\"post\", activeTemplate);\n+ },\n+ all: function(collection, ... | JavaScript | MIT License | 11ty/eleventy | Working collections! #17 |
699 | 05.01.2018 23:37:43 | 21,600 | 81d71d58127b5c313e93203e743f9cf722880ef9 | Allows tags to be a string or any array of strings | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateCollection.js",
"new_path": "src/TemplateCollection.js",
"diff": "@@ -44,7 +44,9 @@ class TemplateCollection extends Sortable {\nreturn this.getAll(activeTemplate).filter(function(item) {\nreturn (\n!tagName ||\n- (Array.isArray(item.data.tags) && ... | JavaScript | MIT License | 11ty/eleventy | Allows tags to be a string or any array of strings |
699 | 07.01.2018 14:42:42 | 21,600 | eec14bfd5dc6b149d020965b6508f0756d4f967c | Create a collection for every tag used on any template. | [
{
"change_type": "MODIFY",
"old_path": "config.js",
"new_path": "config.js",
"diff": "@@ -31,9 +31,6 @@ module.exports = {\n},\nfilters: {},\ncontentMapCollectionFilters: {\n- posts: function(collection, activeTemplate) {\n- return collection.getFilteredByTag(\"post\", activeTemplate);\n- },\nall: f... | JavaScript | MIT License | 11ty/eleventy | Create a collection for every tag used on any template. |
699 | 07.01.2018 21:33:26 | 21,600 | ed2d1c8ea1e309b6bd201b60d39cb4572fbbbcac | Pluralize word utility | [
{
"change_type": "MODIFY",
"old_path": "src/Eleventy.js",
"new_path": "src/Eleventy.js",
"diff": "const watch = require(\"glob-watcher\");\nconst chalk = require(\"chalk\");\n-const TemplateConfig = require(\"./TemplateConfig\");\nconst TemplateData = require(\"./TemplateData\");\nconst TemplateWrit... | JavaScript | MIT License | 11ty/eleventy | Pluralize word utility |
699 | 07.01.2018 21:35:45 | 21,600 | 99d210b113cd34b03c7d52fe50a3df6c944e7c03 | Config singleton | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/Config.js",
"diff": "+const TemplateConfig = require(\"./TemplateConfig\");\n+module.exports = TemplateConfig.getDefaultConfig();\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Engines/Handlebars.js",
"new_path": "src/Engi... | JavaScript | MIT License | 11ty/eleventy | Config singleton |
699 | 07.01.2018 22:52:31 | 21,600 | e2f1d2a5606e7166df8d61502083b2452fbb716f | Clean up collections stuff a bit | [
{
"change_type": "MODIFY",
"old_path": "cmd.js",
"new_path": "cmd.js",
"diff": "@@ -21,20 +21,20 @@ function EleventyNodeVersionCheck() {\nEleventyNodeVersionCheck().then(function() {\nconst Eleventy = require(\"./src/Eleventy\");\n- let eleven = new Eleventy(argv.input, argv.output);\n- eleven.setF... | JavaScript | MIT License | 11ty/eleventy | Clean up collections stuff a bit |
730 | 08.01.2018 20:08:46 | 21,600 | b9acd24fb04ca4147903a35634ccef6a8e988e68 | Fix help
Updating to what the README says | [
{
"change_type": "MODIFY",
"old_path": "src/Eleventy.js",
"new_path": "src/Eleventy.js",
"diff": "@@ -81,16 +81,16 @@ Eleventy.prototype.getHelp = function() {\nlet out = [];\nout.push(\"usage: eleventy\");\nout.push(\" eleventy --watch\");\n- out.push(\" eleventy --input=./templates --output=./dist... | JavaScript | MIT License | 11ty/eleventy | Fix help
Updating to what the README says |
699 | 08.01.2018 23:35:32 | 21,600 | 288c1fb83fbf28a0fdedb6219ebb6fec0b66f291 | Fixes adds docs. | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -103,6 +103,8 @@ This allows you to assign data values right in the template itself. Here are a f\n* `permalink`: Add in front matter to change the output target of the current template. You can use template syn... | JavaScript | MIT License | 11ty/eleventy | Fixes #17, adds docs. |
699 | 08.01.2018 23:52:40 | 21,600 | 0e4e384efcfc7285710006109d32e4cef7c5ca05 | Minor collections docs improvements | [
{
"change_type": "MODIFY",
"old_path": "docs/collections.md",
"new_path": "docs/collections.md",
"diff": "@@ -132,27 +132,27 @@ return collection.getAllSorted().reverse();\nreturn collection.getFilteredByTag(\"post\");\n// Filter using `Array.filter`\n-return collection.filter(function(item) {\n+ret... | JavaScript | MIT License | 11ty/eleventy | Minor collections docs improvements |
699 | 09.01.2018 00:04:51 | 21,600 | cfacd41f6768256322d077614bba487098fd05aa | Simplifies default collection sort (simplify to file creation and inputPath) | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateCollection.js",
"new_path": "src/TemplateCollection.js",
"diff": "@@ -27,7 +27,7 @@ class TemplateCollection extends Sortable {\ngetAllSorted(activeTemplate) {\nreturn this._assignActiveTemplate(\n- this.sort(Sortable.sortFunctionDirDateFilename),\... | JavaScript | MIT License | 11ty/eleventy | Simplifies default collection sort (simplify to file creation and inputPath) |
699 | 09.01.2018 08:20:01 | 21,600 | 808fba908f677efd28dfa790ab9940152d88aef9 | Start of debugging logs | [
{
"change_type": "MODIFY",
"old_path": "cmd.js",
"new_path": "cmd.js",
"diff": "@@ -7,7 +7,12 @@ EleventyNodeVersionCheck().then(function() {\nlet elev = new Eleventy(argv.input, argv.output);\nelev.setFormats(argv.formats);\n+\n+ if (process.env.DEBUG) {\n+ elev.setIsVerbose(false);\n+ } else {\nel... | JavaScript | MIT License | 11ty/eleventy | Start of debugging logs |
699 | 09.01.2018 08:26:26 | 21,600 | 66feafdfee80ff9629793b05b372e2c68791bc37 | Renames npm package name under 11ty npm scope as | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "{\n- \"name\": \"eleventy-cli\",\n- \"version\": \"0.1.9\",\n+ \"name\": \"@11ty/eleventy\",\n+ \"version\": \"0.2.0\",\n\"description\": \"Transform a directory of templates into HTML.\",\n\"main\": \"src/El... | JavaScript | MIT License | 11ty/eleventy | Renames npm package name under 11ty npm scope as @11ty/eleventy |
699 | 09.01.2018 08:45:52 | 21,600 | 2e655bcd5612f71247f34d3d3e91eecd9c1ac5c2 | Couple of missed renames. | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "{\n\"name\": \"@11ty/eleventy\",\n- \"version\": \"0.2.0\",\n+ \"version\": \"0.2.1\",\n\"description\": \"Transform a directory of templates into HTML.\",\n\"main\": \"src/Eleventy.js\",\n\"license\": \"MIT\... | JavaScript | MIT License | 11ty/eleventy | Couple of missed renames. |
699 | 09.01.2018 08:50:45 | 21,600 | bda34f49ace03b4c55a37f0fb14b7c80cea1d1be | Link was wrong. | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -21,7 +21,7 @@ Requires Node version 8 or above. `node --version` will tell you what version yo\n### Installation\n-Available [on npm](https://www.npmjs.com/package/@11ty/cli).\n+Available [on npm](https://www.n... | JavaScript | MIT License | 11ty/eleventy | Link was wrong. |
699 | 09.01.2018 23:39:23 | 21,600 | d7b38d7e24c739c46a7ff808218be7871029b22f | Allows a single file as input, e.g. `--input=myfile.md` (no need for formats here) | [
{
"change_type": "MODIFY",
"old_path": "src/Eleventy.js",
"new_path": "src/Eleventy.js",
"diff": "+const fs = require(\"fs\");\nconst watch = require(\"glob-watcher\");\nconst chalk = require(\"chalk\");\n+const parsePath = require(\"parse-filepath\");\nconst TemplateData = require(\"./TemplateData\... | JavaScript | MIT License | 11ty/eleventy | Allows a single file as input, e.g. `--input=myfile.md` (no need for formats here) |
699 | 10.01.2018 00:04:07 | 21,600 | 03ebe8d9f7218ee260e08be5d562a339668a572c | Adding better Getting Started to documentation. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "docs/install-local.md",
"diff": "+# Install locally\n+\n+Rather than a global install, like so:\n+\n+```\n+npm install -g @11ty/eleventy\n+```\n+\n+You can install locally into your current project, like so:\n+\n+```\n+npm install --save-dev @11... | JavaScript | MIT License | 11ty/eleventy | Adding better Getting Started to documentation. |
699 | 10.01.2018 00:11:55 | 21,600 | 19a7c95eb493325b27c56a85d4ea1426b99f15aa | Minor bug with --input=SINGLEFILE.md | [
{
"change_type": "MODIFY",
"old_path": "src/Eleventy.js",
"new_path": "src/Eleventy.js",
"diff": "@@ -11,7 +11,7 @@ const pkg = require(\"../package.json\");\nfunction Eleventy(input, output) {\nthis.input = input || config.dir.input;\n- this.inputDir = this._getDir(this.input);\n+ this.inputDir = t... | JavaScript | MIT License | 11ty/eleventy | Minor bug with --input=SINGLEFILE.md |
699 | 10.01.2018 08:18:50 | 21,600 | 90ea3e035b253fa1b7152af263606bc7dffe9153 | Encourage people to use extensions in their layout names, for less ambiguity (and perf, probably). Adds layout tests for liquid to test unescaped output by default. | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateLayout.js",
"new_path": "src/TemplateLayout.js",
"diff": "@@ -4,9 +4,22 @@ const config = require(\"./Config\");\nfunction TemplateLayout(name, dir) {\nthis.dir = dir;\nthis.name = name;\n+ this.pathNameAlreadyHasExtension = this.dir + \"/\" + this... | JavaScript | MIT License | 11ty/eleventy | Encourage people to use extensions in their layout names, for less ambiguity (and perf, probably). Adds layout tests for liquid to test unescaped output by default. |
699 | 11.01.2018 23:21:26 | 21,600 | dba284f1090a4492e0a01b4e50468c3cfc0f0c66 | Add collections to debug | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateWriter.js",
"new_path": "src/TemplateWriter.js",
"diff": "@@ -241,12 +241,16 @@ TemplateWriter.prototype._getCollectionsData = function(activeTemplate) {\ncollections.all = this._createTemplateMapCopy(\nthis.collection.getAllSorted(activeTemplate)\... | JavaScript | MIT License | 11ty/eleventy | Add collections to debug |
699 | 13.01.2018 14:50:55 | 21,600 | aa70e20671c8bf562751b9c763b3eaf8ec4476d1 | Add support message to DEBUG | [
{
"change_type": "MODIFY",
"old_path": "src/Eleventy.js",
"new_path": "src/Eleventy.js",
"diff": "@@ -181,6 +181,11 @@ Eleventy.prototype.write = async function() {\ntry {\nlet ret = await this.writer.write();\nthis.finish();\n+\n+ debug(`\n+Getting frustrated? Have a suggestion/feature request/feed... | JavaScript | MIT License | 11ty/eleventy | Add support message to DEBUG |
699 | 13.01.2018 14:57:39 | 21,600 | 899cf2a34fb12f8dce9771596fd846b17c3bd23d | Output current config options in DEBUG mode | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateConfig.js",
"new_path": "src/TemplateConfig.js",
"diff": "@@ -49,13 +49,7 @@ class TemplateConfig {\nmerged[key] = localConfig[key] || this.rootConfig[key];\n}\n- for (let key in merged) {\n- let str = merged[key];\n- if (typeof merged[key] === \"o... | JavaScript | MIT License | 11ty/eleventy | Output current config options in DEBUG mode |
699 | 13.01.2018 16:06:40 | 21,600 | 912cc29b20d43adbfa3be35700c252298ba11ab8 | Adds TemplateGlob class for working with globby arguments. | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateData.js",
"new_path": "src/TemplateData.js",
"diff": "@@ -5,6 +5,7 @@ const parsePath = require(\"parse-filepath\");\nconst lodashset = require(\"lodash.set\");\nconst TemplateRender = require(\"./TemplateRender\");\nconst TemplatePath = require(\"... | JavaScript | MIT License | 11ty/eleventy | Adds TemplateGlob class for working with globby arguments. |
699 | 13.01.2018 22:44:54 | 21,600 | 3375edcd790a9251de57862d6d475ea4b30d6b1a | Layouts can now be a full path instead of a filename or basename (including subdirectories). Make a `layouts` folder inside of `_includes` if you want! | [
{
"change_type": "MODIFY",
"old_path": "src/Template.js",
"new_path": "src/Template.js",
"diff": "@@ -8,9 +8,10 @@ const { DateTime } = require(\"luxon\");\nconst TemplateRender = require(\"./TemplateRender\");\nconst TemplatePath = require(\"./TemplatePath\");\nconst TemplatePermalink = require(\".... | JavaScript | MIT License | 11ty/eleventy | Layouts can now be a full path instead of a filename or basename (including subdirectories). Make a `layouts` folder inside of `_includes` if you want! |
699 | 14.01.2018 13:12:43 | 21,600 | 0aa441a16dbbc50cb143952b49fac02477ed6139 | Refactor TemplateWriter to use a formal TemplateMap class, where metadata about all content and collections are stored. | [
{
"change_type": "MODIFY",
"old_path": "src/EleventyConfig.js",
"new_path": "src/EleventyConfig.js",
"diff": "@@ -22,6 +22,12 @@ class EleventyConfig {\n}\naddCollection(name, callback) {\n+ if (this.collections[name]) {\n+ throw new Error(\n+ `config.addCollection(${name}) already exists. Try a dif... | JavaScript | MIT License | 11ty/eleventy | Refactor TemplateWriter to use a formal TemplateMap class, where metadata about all content and collections are stored. |
699 | 14.01.2018 22:12:02 | 21,600 | 1562597e5dfaf6e9d82d0a24ff35c88a8a1cf279 | Adds `templateContent` to template map for RSS feeds to output post content (without layout wraps). | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateMap.js",
"new_path": "src/TemplateMap.js",
"diff": "@@ -9,37 +9,58 @@ class TemplateMap {\nthis.map = [];\nthis.collection = new TemplateCollection();\nthis.collectionsData = null;\n- this.tags = [];\n}\nasync add(template) {\n- this.map.push(await... | JavaScript | MIT License | 11ty/eleventy | Adds `templateContent` to template map for RSS feeds to output post content (without layout wraps). |
699 | 14.01.2018 22:22:08 | 21,600 | d4b40382cb26c94afef2f6eb3cb2d2893ad48d3e | More debugging for Template layouts. | [
{
"change_type": "MODIFY",
"old_path": "src/Template.js",
"new_path": "src/Template.js",
"diff": "@@ -261,12 +261,20 @@ class Template {\ndata = await this.getRenderedData();\n}\n+ if (!this.wrapWithLayouts) {\n+ debug(\n+ \"Template.render is bypassing wrapping content in layouts for %o.\",\n+ this... | JavaScript | MIT License | 11ty/eleventy | More debugging for Template layouts. |
699 | 14.01.2018 22:25:45 | 21,600 | 8f6bf6578a4cb78b57e4c482e38ad6a852b528c5 | There are two filters right now. | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateConfigTest.js",
"new_path": "test/TemplateConfigTest.js",
"diff": "@@ -15,7 +15,7 @@ test(\"Template Config local config overrides base config\", async t => {\nt.true(Object.keys(cfg.keys).length > 1);\nt.is(Object.keys(cfg.handlebarsHelpers).leng... | JavaScript | MIT License | 11ty/eleventy | There are two filters right now. |
699 | 15.01.2018 13:22:43 | 21,600 | bf9dc496a3d0e935dcaf0dc7ab124add99fce336 | Add tests for circular `templateContent` references. | [
{
"change_type": "MODIFY",
"old_path": "src/Template.js",
"new_path": "src/Template.js",
"diff": "@@ -256,6 +256,13 @@ class Template {\nreturn fn(data);\n}\n+ async renderWithoutLayouts(data) {\n+ this.setWrapWithLayouts(false);\n+ let ret = await this.render(data);\n+ this.setWrapWithLayouts(true)... | JavaScript | MIT License | 11ty/eleventy | Add tests for circular `templateContent` references. |
699 | 15.01.2018 13:23:11 | 21,600 | d85cdecfccd3d02b30fa8bc4559877185d2e027b | New code coverage (and npm tasks) | [
{
"change_type": "MODIFY",
"old_path": "docs-src/.eleventy.docs.js",
"new_path": "docs-src/.eleventy.docs.js",
"diff": "const TemplatePath = require(\"../src/TemplatePath\");\n-console.log();\n+\nmodule.exports = {\ntemplateFormats: [\"njk\"],\ndir: {\n"
},
{
"change_type": "MODIFY",
"ol... | JavaScript | MIT License | 11ty/eleventy | New code coverage (and npm tasks) |
699 | 15.01.2018 14:51:13 | 21,600 | b6d25b4cc5f7f966c6cf4ea4200de89bf78ff1eb | Adds `page.url` to global data.
Fixes
Fixes | [
{
"change_type": "MODIFY",
"old_path": "docs/collections.md",
"new_path": "docs/collections.md",
"diff": "@@ -23,6 +23,18 @@ This will place this `mypost.md` into the `post` collection with all other piece\n</ul>\n```\n+### Example: Navigation Links with an `active` class added for on the current pa... | JavaScript | MIT License | 11ty/eleventy | Adds `page.url` to global data.
Fixes #22
Fixes #36 |
699 | 16.01.2018 07:29:47 | 21,600 | 4d800bf07333122d22f79b977e23d87bfb0f4c56 | Adds CLI command to debug output. | [
{
"change_type": "MODIFY",
"old_path": "cmd.js",
"new_path": "cmd.js",
"diff": "#!/usr/bin/env node\nconst argv = require(\"minimist\")(process.argv.slice(2));\nconst EleventyNodeVersionCheck = require(\"./src/VersionCheck\");\n+const debug = require(\"debug\")(\"Eleventy-CLI\");\nEleventyNodeVersio... | JavaScript | MIT License | 11ty/eleventy | Adds CLI command to debug output. |
699 | 16.01.2018 08:01:30 | 21,600 | 247c9c7e48ac2c450f0df44d0295c8fee2f7d6f9 | Fixes for `watch` and writeCount / times | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateWriter.js",
"new_path": "src/TemplateWriter.js",
"diff": "@@ -4,6 +4,7 @@ const parsePath = require(\"parse-filepath\");\nconst Template = require(\"./Template\");\nconst TemplatePath = require(\"./TemplatePath\");\nconst TemplateMap = require(\"./... | JavaScript | MIT License | 11ty/eleventy | Fixes for `watch` and writeCount / times |
699 | 16.01.2018 08:20:10 | 21,600 | bf7781bf1569af5e53e757e831019505a6840df0 | Minor cleanup to TemplateEngine and TemplateRender | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Mustache.js",
"new_path": "src/Engines/Mustache.js",
"diff": "@@ -2,6 +2,12 @@ const MustacheLib = require(\"mustache\");\nconst TemplateEngine = require(\"./TemplateEngine\");\nclass Mustache extends TemplateEngine {\n+ constructor(name, inputDir)... | JavaScript | MIT License | 11ty/eleventy | Minor cleanup to TemplateEngine and TemplateRender |
699 | 16.01.2018 09:03:12 | 21,600 | ec67ef392e9ed3dcb2e68bd86ff7757200c32308 | TemplatePassthrough and `config.passthroughFileCopy` | [
{
"change_type": "MODIFY",
"old_path": "config.js",
"new_path": "config.js",
"diff": "@@ -16,6 +16,7 @@ module.exports = {\nmarkdownTemplateEngine: \"liquid\",\nhtmlTemplateEngine: \"liquid\",\ndataTemplateEngine: \"liquid\",\n+ passthroughFileCopy: false,\nhtmlOutputSuffix: \"-o\",\nkeys: {\npackag... | JavaScript | MIT License | 11ty/eleventy | TemplatePassthrough and `config.passthroughFileCopy` |
699 | 16.01.2018 09:30:42 | 21,600 | 90c43df9e05d09a0af09685cc45e394c0c2e1f21 | Change default to true for passthroughFileCopy | [
{
"change_type": "MODIFY",
"old_path": "config.js",
"new_path": "config.js",
"diff": "@@ -16,7 +16,7 @@ module.exports = {\nmarkdownTemplateEngine: \"liquid\",\nhtmlTemplateEngine: \"liquid\",\ndataTemplateEngine: \"liquid\",\n- passthroughFileCopy: false,\n+ passthroughFileCopy: true,\nhtmlOutputSu... | JavaScript | MIT License | 11ty/eleventy | Change default to true for passthroughFileCopy |
699 | 16.01.2018 20:21:36 | 21,600 | ca270d88df787a4e8cb3d24854c4caec511c26d5 | Wrong variable names. | [
{
"change_type": "MODIFY",
"old_path": "cmd.js",
"new_path": "cmd.js",
"diff": "@@ -9,8 +9,8 @@ EleventyNodeVersionCheck().then(function() {\n\"command: eleventy\" +\n(argv.input ? \" --input=\" + argv.input : \"\") +\n(argv.output ? \" --output=\" + argv.output : \"\") +\n- (argv.formats ? \" --for... | JavaScript | MIT License | 11ty/eleventy | Wrong variable names. |
699 | 16.01.2018 20:21:54 | 21,600 | be4ad8591011c02b4e9a2682005abe6a77531124 | Code coverage for v0.2.7 | [
{
"change_type": "MODIFY",
"old_path": "docs-src/_data/coverage.json",
"new_path": "docs-src/_data/coverage.json",
"diff": "{\n\"total\": {\n- \"lines\": { \"total\": 1007, \"covered\": 874, \"skipped\": 0, \"pct\": 86.79 },\n- \"statements\": { \"total\": 1007, \"covered\": 874, \"skipped\": 0, \"p... | JavaScript | MIT License | 11ty/eleventy | Code coverage for v0.2.7 |
699 | 18.01.2018 21:55:21 | 21,600 | 6f292f42a48e55d38b8f7314ff8d2458365e727f | Move the TemplateRender engine tests into their own files | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "test/TemplateRenderEJSTest.js",
"diff": "+import test from \"ava\";\n+import TemplateRender from \"../src/TemplateRender\";\n+import path from \"path\";\n+\n+// EJS\n+test(\"EJS\", t => {\n+ t.is(new TemplateRender(\"ejs\").getEngineName(), \"ej... | JavaScript | MIT License | 11ty/eleventy | Move the TemplateRender engine tests into their own files |
699 | 19.01.2018 09:34:57 | 21,600 | 4920e3bf257292ea5eec8a72c5e1e9d65469566d | Adds (working) config api stuff for filters/tags/etc. | [
{
"change_type": "MODIFY",
"old_path": "config.js",
"new_path": "config.js",
"diff": "const slugify = require(\"slugify\");\n-module.exports = {\n+module.exports = function(config) {\n+ // universal filter\n+ config.addFilter(\"slug\", str => {\n+ return slugify(str, {\n+ replacement: \"-\",\n+ lowe... | JavaScript | MIT License | 11ty/eleventy | Adds (working) config api stuff for filters/tags/etc. |
699 | 19.01.2018 09:35:40 | 21,600 | bb3e9ec0b8c6cdfe75bc3ea743a6bc245afb7594 | Only output pretty html for html output. | [
{
"change_type": "MODIFY",
"old_path": "test/stubs/config.js",
"new_path": "test/stubs/config.js",
"diff": "@@ -27,8 +27,11 @@ module.exports = function(config) {\n},\nfilters: {\nprettyHtml: function(str, outputPath) {\n- // todo check if HTML output before transforming\n+ if (outputPath.split(\".\... | JavaScript | MIT License | 11ty/eleventy | Only output pretty html for html output. |
699 | 19.01.2018 20:36:56 | 21,600 | f6700d86957480d3678b915b7b56b89105ca86d0 | Adds filter tests for config api | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateConfigTest.js",
"new_path": "test/TemplateConfigTest.js",
"diff": "import test from \"ava\";\nimport TemplateConfig from \"../src/TemplateConfig\";\n-// import eleventyConfig from \"../src/EleventyConfig\";\n+import eleventyConfig from \"../src/El... | JavaScript | MIT License | 11ty/eleventy | Adds filter tests for config api |
699 | 21.01.2018 21:56:05 | 21,600 | 93d09428baec4608f20a5ac957eb94034a83ee1f | Debug an error message if local project config has an error inside of it. | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateConfig.js",
"new_path": "src/TemplateConfig.js",
"diff": "+const chalk = require(\"chalk\");\nconst fs = require(\"fs-extra\");\nconst lodashMerge = require(\"lodash.merge\");\nconst TemplatePath = require(\"./TemplatePath\");\n@@ -15,7 +16,9 @@ cl... | JavaScript | MIT License | 11ty/eleventy | Debug an error message if local project config has an error inside of it. |
699 | 21.01.2018 21:56:49 | 21,600 | a6e0573cc5099c9ce9df3c3223e02f08c07f93e9 | Moderate improvements to custom liquid tag API. | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateRenderLiquidTest.js",
"new_path": "test/TemplateRenderLiquidTest.js",
"diff": "@@ -67,14 +67,16 @@ test(\"Liquid Custom Filter\", async t => {\ntest(\"Liquid Custom Tag prefixWithZach\", async t => {\nlet tr = new TemplateRender(\"liquid\", \"./te... | JavaScript | MIT License | 11ty/eleventy | Moderate improvements to custom liquid tag API. |
699 | 21.01.2018 21:57:03 | 21,600 | e87fab46823b6858bd0476df8d06190cd5d51b76 | Permalink tests | [
{
"change_type": "MODIFY",
"old_path": "test/TemplatePermalinkTest.js",
"new_path": "test/TemplatePermalinkTest.js",
"diff": "@@ -36,6 +36,10 @@ test(\"Permalink without filename\", t => {\nnew TemplatePermalink(\"./permalinksubfolder/\").toString(),\n\"permalinksubfolder/index.html\"\n);\n+ t.is(\n... | JavaScript | MIT License | 11ty/eleventy | Permalink tests |
699 | 22.01.2018 22:02:09 | 21,600 | ddb8d0da68d2ff8ef78b2d2044865ed2c6203a47 | Superfluous debug statements for Adds "commonmark" markdown standards. | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Markdown.js",
"new_path": "src/Engines/Markdown.js",
"diff": "-const mdlib = require(\"markdown-it\")({\n- html: true\n-});\n+const mdlib = require(\"markdown-it\")(\"commonmark\");\nconst TemplateEngine = require(\"./TemplateEngine\");\n+const deb... | JavaScript | MIT License | 11ty/eleventy | Superfluous debug statements for #44. Adds "commonmark" markdown standards. |
699 | 22.01.2018 22:44:51 | 21,600 | 48896c4d7da1a15a3c23f97c62e753eb3b8935ce | Adds `urlPrefix` config option and universal `url` filter for links. Fixes | [
{
"change_type": "MODIFY",
"old_path": "config.js",
"new_path": "config.js",
"diff": "const slugify = require(\"slugify\");\n+const TemplatePath = require(\"./src/TemplatePath\");\nmodule.exports = function(config) {\n// universal filter\n@@ -9,6 +10,24 @@ module.exports = function(config) {\n});\n}... | JavaScript | MIT License | 11ty/eleventy | Adds `urlPrefix` config option and universal `url` filter for links. Fixes #45 |
699 | 22.01.2018 22:45:32 | 21,600 | b6a641fc9dcb6a36b160801f25e4fe947f7de4a2 | Adds more docs. Fixes | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "docs/filters.md",
"diff": "+# Filters, Tags, etc.\n+\n+Various template engines can be extended with custom `filters` or custom tags.\n+\n+_Experimental._ Eleventy provides a few universal filters that can be used in supported template types (cu... | JavaScript | MIT License | 11ty/eleventy | Adds more docs. Fixes #42 |
699 | 22.01.2018 23:00:21 | 21,600 | a2fa7a8e801156816b997d4d87624f32c2379f66 | v0.2.8, 199 tests, 86.3% 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\": 1050, \"covered\": 900, \"skipped\": 0, \"pct\": 85.71 },\n- \"statements\": { \"total\": 1050, \"covered\": 900, \"skipped\": 0, \"p... | JavaScript | MIT License | 11ty/eleventy | v0.2.8, 199 tests, 86.3% code coverage |
690 | 24.01.2018 10:16:09 | -3,600 | 95b01c2209a6987f98dc5db02617f1dd11731120 | Fix read more links in README.md | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -291,12 +291,12 @@ npm run test\n## Read more\n-* [docs/collections.md](Collections)\n-* [docs/pitfalls.md](Common Pitfalls)\n-* [docs/filters.md](Custom Filters and Tags)\n-* [docs/install-local.md](Install ele... | JavaScript | MIT License | 11ty/eleventy | Fix read more links in README.md |
699 | 25.01.2018 20:36:08 | 21,600 | bb01a01c395698563c44684379b77c121abd4f17 | Adds --pathprefix to set the config.pathPrefix configuration at runtime, added to make eleventy-base-blog work with both Netlify and GitHub pages on the same repo. | [
{
"change_type": "MODIFY",
"old_path": "cmd.js",
"new_path": "cmd.js",
"diff": "@@ -11,6 +11,7 @@ EleventyNodeVersionCheck().then(function() {\n(argv.output ? \" --output=\" + argv.output : \"\") +\n(argv.formats ? \" --formats=\" + argv.formats : \"\") +\n(argv.config ? \" --config=\" + argv.config... | JavaScript | MIT License | 11ty/eleventy | Adds --pathprefix to set the config.pathPrefix configuration at runtime, added to make eleventy-base-blog work with both Netlify and GitHub pages on the same repo. |
699 | 25.01.2018 20:45:52 | 21,600 | 01890bb2879dd834ecfe56817f637e4c177081eb | Move url tests to their own file. | [
{
"change_type": "MODIFY",
"old_path": "src/Filters/Url.js",
"new_path": "src/Filters/Url.js",
"diff": "@@ -2,11 +2,6 @@ const validUrl = require(\"valid-url\");\nconst TemplatePath = require(\"../TemplatePath\");\nmodule.exports = function(url, pathPrefix) {\n- if (pathPrefix === undefined || typeo... | JavaScript | MIT License | 11ty/eleventy | Move url tests to their own file. |
699 | 25.01.2018 20:56:06 | 21,600 | bd402150f44312f9a4eac4f044cbd50426e43905 | Tests for EleventyError | [
{
"change_type": "MODIFY",
"old_path": "src/Eleventy.js",
"new_path": "src/Eleventy.js",
"diff": "@@ -205,7 +205,9 @@ I want to hear it! Open an issue: https://github.com/11ty/eleventy/issues/new`);\nconsole.log(\"\\n\" + chalk.red(\"Problem writing eleventy templates: \"));\nif (e instanceof Eleven... | JavaScript | MIT License | 11ty/eleventy | Tests for EleventyError |
699 | 27.01.2018 23:13:19 | 21,600 | 715ae24f9ddbd749f75fa6c4ebdb72fb83312f0f | Debug for collection dates | [
{
"change_type": "MODIFY",
"old_path": "src/Template.js",
"new_path": "src/Template.js",
"diff": "@@ -428,6 +428,11 @@ class Template {\n// should we use Luxon dates everywhere? Right now using built-in `Date`\nif (\"date\" in data) {\n+ debug(\n+ \"getMappedDate: using a date in the data for %o of ... | JavaScript | MIT License | 11ty/eleventy | Debug for collection dates |
699 | 28.01.2018 21:31:10 | 21,600 | 9fc21264c94a8252ed82390baae39b6eb40ecb15 | Adds yellow chalk warnings if tags or filters get overwritten | [
{
"change_type": "MODIFY",
"old_path": "src/EleventyConfig.js",
"new_path": "src/EleventyConfig.js",
"diff": "const EventEmitter = require(\"events\");\nconst lodashget = require(\"lodash.get\");\nconst Sortable = require(\"./Util/Sortable\");\n+const chalk = require(\"chalk\");\nconst debug = requi... | JavaScript | MIT License | 11ty/eleventy | Adds yellow chalk warnings if tags or filters get overwritten |
699 | 28.01.2018 21:43:21 | 21,600 | dd8229d8e8c86f8f91499853a87df79298042943 | Add plugins docs. | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -239,6 +239,10 @@ module.exports = function(eleventyConfig) {\nRead more about this on the [Collections documentation: Advanced Custom Filtering and Sorting](collections.md#advanced-custom-filtering-and-sorting)... | JavaScript | MIT License | 11ty/eleventy | Add plugins docs. |
699 | 31.01.2018 07:34:28 | 21,600 | a3d9cb9731f509208d8c9255a43cf5071d365e82 | Adds liquid test for includes that pass in data (albeit not with the variables scoped to `include` convention that Jekyll uses) | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateRenderLiquidTest.js",
"new_path": "test/TemplateRenderLiquidTest.js",
"diff": "@@ -45,6 +45,18 @@ test(\"Liquid Render Include with HTML Suffix\", async t => {\nt.is(await fn(), \"<p>This is an include.</p>\");\n});\n+test(\"Liquid Render Include ... | JavaScript | MIT License | 11ty/eleventy | Adds liquid test for includes that pass in data (albeit not with the variables scoped to `include` convention that Jekyll uses) |
699 | 03.02.2018 00:21:32 | 21,600 | 2999e19f41d0c795003fd7959d8e13563436a0c2 | Adds copy count to console log output | [
{
"change_type": "MODIFY",
"old_path": "src/Eleventy.js",
"new_path": "src/Eleventy.js",
"diff": "@@ -77,7 +77,15 @@ Eleventy.prototype.logFinished = function() {\nlet ret = [];\nlet writeCount = this.writer.getWriteCount();\n- ret.push(`Wrote ${writeCount} ${simplePlural(writeCount, \"file\", \"fil... | JavaScript | MIT License | 11ty/eleventy | Adds copy count to console log output |
699 | 03.02.2018 00:23:14 | 21,600 | 71e0c4ec2098999c3f1a666bbde9acd0bac0b543 | Simplifying some of the debug output | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateLayout.js",
"new_path": "src/TemplateLayout.js",
"diff": "@@ -18,11 +18,11 @@ TemplateLayout.prototype.init = function() {\n// debug(\"Current layout aliases: %o\", this.aliases);\nif (this.path in this.aliases) {\n- debug(\n- \"Substituting layout... | JavaScript | MIT License | 11ty/eleventy | Simplifying some of the debug output |
699 | 03.02.2018 00:23:49 | 21,600 | 5f8b934b3622d9a0a850716c74724bf0d237b5c9 | Markdown support for `strikethrough`, notably this switches away from the super strict commonmark parsing mode | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Markdown.js",
"new_path": "src/Engines/Markdown.js",
"diff": "-const mdlib = require(\"markdown-it\")(\"commonmark\");\n+const mdlib = require(\"markdown-it\")({\n+ html: true,\n+ langPrefix: \"language-\"\n+});\nconst TemplateEngine = require(\"./... | JavaScript | MIT License | 11ty/eleventy | Markdown support for `strikethrough`, notably this switches away from the super strict commonmark parsing mode |
699 | 03.02.2018 13:17:12 | 21,600 | e5a159a3306c57125a4acdf1d5cf9d8dfd52341e | Adds `time-require` for perf debugging | [
{
"change_type": "MODIFY",
"old_path": "cmd.js",
"new_path": "cmd.js",
"diff": "#!/usr/bin/env node\n+if (process.env.DEBUG) {\n+ require(\"time-require\");\n+}\n+\nconst argv = require(\"minimist\")(process.argv.slice(2));\nconst EleventyNodeVersionCheck = require(\"./src/VersionCheck\");\nconst de... | JavaScript | MIT License | 11ty/eleventy | Adds `time-require` for perf debugging |
699 | 03.02.2018 13:23:38 | 21,600 | 70a4d0c6c36965c4134a87ec4817f8e452561932 | Adds `addPassthroughCopy` option to Config API to allow devs to copy directories to the output automatically. | [
{
"change_type": "MODIFY",
"old_path": "src/EleventyConfig.js",
"new_path": "src/EleventyConfig.js",
"diff": "@@ -15,6 +15,7 @@ class EleventyConfig {\nthis.nunjucksFilters = {};\nthis.nunjucksAsyncFilters = {};\nthis.handlebarsHelpers = {};\n+ this.passthroughCopies = {};\nthis.layoutAliases = {};\... | JavaScript | MIT License | 11ty/eleventy | Adds `addPassthroughCopy` option to Config API to allow devs to copy directories to the output automatically. |
699 | 03.02.2018 13:58:47 | 21,600 | 86ba494e041f839759474980e876798e94ef630a | Ignore `node_modules` by default ONLY IF `.gitignore` does not exist. Fixes | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateWriter.js",
"new_path": "src/TemplateWriter.js",
"diff": "@@ -91,14 +91,17 @@ TemplateWriter.prototype.getFiles = function() {\nreturn this.files;\n};\n-TemplateWriter.getFileIgnores = function(ignoreFile) {\n+TemplateWriter.getFileIgnores = functi... | JavaScript | MIT License | 11ty/eleventy | Ignore `node_modules` by default ONLY IF `.gitignore` does not exist. Fixes #54 |
699 | 03.02.2018 22:09:58 | 21,600 | 57ea109c15070294a62adf042eb18354ba7cd656 | clear template cache on rewatch | [
{
"change_type": "MODIFY",
"old_path": "src/Eleventy.js",
"new_path": "src/Eleventy.js",
"diff": "@@ -3,6 +3,7 @@ const chalk = require(\"chalk\");\nconst parsePath = require(\"parse-filepath\");\nconst TemplateData = require(\"./TemplateData\");\nconst TemplateWriter = require(\"./TemplateWriter\")... | JavaScript | MIT License | 11ty/eleventy | clear template cache on rewatch |
699 | 03.02.2018 22:45:20 | 21,600 | 8b9bb7eb820b182b48598344abc152a9c16a2150 | Adds `getFilteredByGlob` to collection API. Accepts either a glob string or array of glob strings. | [
{
"change_type": "MODIFY",
"old_path": "docs/collections.md",
"new_path": "docs/collections.md",
"diff": "@@ -195,6 +195,16 @@ eleventyConfig.addCollection(\"onlyMarkdown\", function(collection) {\n});\n});\n+// Filter source file names using a glob (new in Eleventy v0.2.14)\n+eleventyConfig.addColl... | JavaScript | MIT License | 11ty/eleventy | Adds `getFilteredByGlob` to collection API. Accepts either a glob string or array of glob strings. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.