From c721ad647cf4f5e089efd69f84056d89974618d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Connor=20B=C3=A4r?= Date: Fri, 1 Dec 2023 16:56:40 +0100 Subject: [PATCH] Remove /coverage dir --- .gitignore | 1 + coverage/base.css | 224 -- coverage/block-navigation.js | 87 - coverage/clover.xml | 2090 ----------------- coverage/coverage-final.json | 27 - coverage/favicon.png | Bin 445 -> 0 bytes coverage/foundry/index.html | 131 -- coverage/foundry/lint-staged.config.js.html | 151 -- coverage/foundry/prettier.config.js.html | 133 -- coverage/foundry/src/cli/defaults.ts.html | 154 -- coverage/foundry/src/cli/index.html | 161 -- coverage/foundry/src/cli/index.ts.html | 304 --- coverage/foundry/src/cli/init.ts.html | 970 -------- coverage/foundry/src/cli/run.ts.html | 514 ---- .../foundry/src/configs/eslint/config.ts.html | 1588 ------------- .../foundry/src/configs/eslint/index.html | 131 -- .../foundry/src/configs/eslint/index.ts.html | 256 -- .../foundry/src/configs/husky/config.ts.html | 178 -- coverage/foundry/src/configs/husky/index.html | 131 -- .../foundry/src/configs/husky/index.ts.html | 154 -- coverage/foundry/src/configs/index.html | 116 - coverage/foundry/src/configs/index.ts.html | 169 -- .../src/configs/lint-staged/config.ts.html | 217 -- .../src/configs/lint-staged/index.html | 131 -- .../src/configs/lint-staged/index.ts.html | 157 -- .../src/configs/prettier/config.ts.html | 187 -- .../foundry/src/configs/prettier/index.html | 131 -- .../src/configs/prettier/index.ts.html | 184 -- coverage/foundry/src/eslint.ts.html | 139 -- coverage/foundry/src/husky.ts.html | 139 -- coverage/foundry/src/index.html | 161 -- coverage/foundry/src/lib/choices.ts.html | 232 -- coverage/foundry/src/lib/files.ts.html | 403 ---- coverage/foundry/src/lib/index.html | 176 -- coverage/foundry/src/lib/logger.ts.html | 265 --- coverage/foundry/src/lib/options.ts.html | 499 ---- coverage/foundry/src/lib/spawn.ts.html | 307 --- coverage/foundry/src/lint-staged.ts.html | 139 -- coverage/foundry/src/presets/index.html | 116 - coverage/foundry/src/presets/index.ts.html | 214 -- coverage/foundry/src/prettier.ts.html | 139 -- coverage/foundry/src/types/index.html | 116 - coverage/foundry/src/types/shared.ts.html | 337 --- coverage/index.html | 266 --- coverage/prettify.css | 1 - coverage/prettify.js | 2 - coverage/sort-arrow-sprite.png | Bin 138 -> 0 bytes coverage/sorter.js | 196 -- 48 files changed, 1 insertion(+), 12523 deletions(-) delete mode 100644 coverage/base.css delete mode 100644 coverage/block-navigation.js delete mode 100644 coverage/clover.xml delete mode 100644 coverage/coverage-final.json delete mode 100644 coverage/favicon.png delete mode 100644 coverage/foundry/index.html delete mode 100644 coverage/foundry/lint-staged.config.js.html delete mode 100644 coverage/foundry/prettier.config.js.html delete mode 100644 coverage/foundry/src/cli/defaults.ts.html delete mode 100644 coverage/foundry/src/cli/index.html delete mode 100644 coverage/foundry/src/cli/index.ts.html delete mode 100644 coverage/foundry/src/cli/init.ts.html delete mode 100644 coverage/foundry/src/cli/run.ts.html delete mode 100644 coverage/foundry/src/configs/eslint/config.ts.html delete mode 100644 coverage/foundry/src/configs/eslint/index.html delete mode 100644 coverage/foundry/src/configs/eslint/index.ts.html delete mode 100644 coverage/foundry/src/configs/husky/config.ts.html delete mode 100644 coverage/foundry/src/configs/husky/index.html delete mode 100644 coverage/foundry/src/configs/husky/index.ts.html delete mode 100644 coverage/foundry/src/configs/index.html delete mode 100644 coverage/foundry/src/configs/index.ts.html delete mode 100644 coverage/foundry/src/configs/lint-staged/config.ts.html delete mode 100644 coverage/foundry/src/configs/lint-staged/index.html delete mode 100644 coverage/foundry/src/configs/lint-staged/index.ts.html delete mode 100644 coverage/foundry/src/configs/prettier/config.ts.html delete mode 100644 coverage/foundry/src/configs/prettier/index.html delete mode 100644 coverage/foundry/src/configs/prettier/index.ts.html delete mode 100644 coverage/foundry/src/eslint.ts.html delete mode 100644 coverage/foundry/src/husky.ts.html delete mode 100644 coverage/foundry/src/index.html delete mode 100644 coverage/foundry/src/lib/choices.ts.html delete mode 100644 coverage/foundry/src/lib/files.ts.html delete mode 100644 coverage/foundry/src/lib/index.html delete mode 100644 coverage/foundry/src/lib/logger.ts.html delete mode 100644 coverage/foundry/src/lib/options.ts.html delete mode 100644 coverage/foundry/src/lib/spawn.ts.html delete mode 100644 coverage/foundry/src/lint-staged.ts.html delete mode 100644 coverage/foundry/src/presets/index.html delete mode 100644 coverage/foundry/src/presets/index.ts.html delete mode 100644 coverage/foundry/src/prettier.ts.html delete mode 100644 coverage/foundry/src/types/index.html delete mode 100644 coverage/foundry/src/types/shared.ts.html delete mode 100644 coverage/index.html delete mode 100644 coverage/prettify.css delete mode 100644 coverage/prettify.js delete mode 100644 coverage/sort-arrow-sprite.png delete mode 100644 coverage/sorter.js diff --git a/.gitignore b/.gitignore index e610967f..63b9a952 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ dist public jest-test-results.json junit.xml +coverage __coverage__ __reports__ .npm diff --git a/coverage/base.css b/coverage/base.css deleted file mode 100644 index f418035b..00000000 --- a/coverage/base.css +++ /dev/null @@ -1,224 +0,0 @@ -body, html { - margin:0; padding: 0; - height: 100%; -} -body { - font-family: Helvetica Neue, Helvetica, Arial; - font-size: 14px; - color:#333; -} -.small { font-size: 12px; } -*, *:after, *:before { - -webkit-box-sizing:border-box; - -moz-box-sizing:border-box; - box-sizing:border-box; - } -h1 { font-size: 20px; margin: 0;} -h2 { font-size: 14px; } -pre { - font: 12px/1.4 Consolas, "Liberation Mono", Menlo, Courier, monospace; - margin: 0; - padding: 0; - -moz-tab-size: 2; - -o-tab-size: 2; - tab-size: 2; -} -a { color:#0074D9; text-decoration:none; } -a:hover { text-decoration:underline; } -.strong { font-weight: bold; } -.space-top1 { padding: 10px 0 0 0; } -.pad2y { padding: 20px 0; } -.pad1y { padding: 10px 0; } -.pad2x { padding: 0 20px; } -.pad2 { padding: 20px; } -.pad1 { padding: 10px; } -.space-left2 { padding-left:55px; } -.space-right2 { padding-right:20px; } -.center { text-align:center; } -.clearfix { display:block; } -.clearfix:after { - content:''; - display:block; - height:0; - clear:both; - visibility:hidden; - } -.fl { float: left; } -@media only screen and (max-width:640px) { - .col3 { width:100%; max-width:100%; } - .hide-mobile { display:none!important; } -} - -.quiet { - color: #7f7f7f; - color: rgba(0,0,0,0.5); -} -.quiet a { opacity: 0.7; } - -.fraction { - font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; - font-size: 10px; - color: #555; - background: #E8E8E8; - padding: 4px 5px; - border-radius: 3px; - vertical-align: middle; -} - -div.path a:link, div.path a:visited { color: #333; } -table.coverage { - border-collapse: collapse; - margin: 10px 0 0 0; - padding: 0; -} - -table.coverage td { - margin: 0; - padding: 0; - vertical-align: top; -} -table.coverage td.line-count { - text-align: right; - padding: 0 5px 0 20px; -} -table.coverage td.line-coverage { - text-align: right; - padding-right: 10px; - min-width:20px; -} - -table.coverage td span.cline-any { - display: inline-block; - padding: 0 5px; - width: 100%; -} -.missing-if-branch { - display: inline-block; - margin-right: 5px; - border-radius: 3px; - position: relative; - padding: 0 4px; - background: #333; - color: yellow; -} - -.skip-if-branch { - display: none; - margin-right: 10px; - position: relative; - padding: 0 4px; - background: #ccc; - color: white; -} -.missing-if-branch .typ, .skip-if-branch .typ { - color: inherit !important; -} -.coverage-summary { - border-collapse: collapse; - width: 100%; -} -.coverage-summary tr { border-bottom: 1px solid #bbb; } -.keyline-all { border: 1px solid #ddd; } -.coverage-summary td, .coverage-summary th { padding: 10px; } -.coverage-summary tbody { border: 1px solid #bbb; } -.coverage-summary td { border-right: 1px solid #bbb; } -.coverage-summary td:last-child { border-right: none; } -.coverage-summary th { - text-align: left; - font-weight: normal; - white-space: nowrap; -} -.coverage-summary th.file { border-right: none !important; } -.coverage-summary th.pct { } -.coverage-summary th.pic, -.coverage-summary th.abs, -.coverage-summary td.pct, -.coverage-summary td.abs { text-align: right; } -.coverage-summary td.file { white-space: nowrap; } -.coverage-summary td.pic { min-width: 120px !important; } -.coverage-summary tfoot td { } - -.coverage-summary .sorter { - height: 10px; - width: 7px; - display: inline-block; - margin-left: 0.5em; - background: url(sort-arrow-sprite.png) no-repeat scroll 0 0 transparent; -} -.coverage-summary .sorted .sorter { - background-position: 0 -20px; -} -.coverage-summary .sorted-desc .sorter { - background-position: 0 -10px; -} -.status-line { height: 10px; } -/* yellow */ -.cbranch-no { background: yellow !important; color: #111; } -/* dark red */ -.red.solid, .status-line.low, .low .cover-fill { background:#C21F39 } -.low .chart { border:1px solid #C21F39 } -.highlighted, -.highlighted .cstat-no, .highlighted .fstat-no, .highlighted .cbranch-no{ - background: #C21F39 !important; -} -/* medium red */ -.cstat-no, .fstat-no, .cbranch-no, .cbranch-no { background:#F6C6CE } -/* light red */ -.low, .cline-no { background:#FCE1E5 } -/* light green */ -.high, .cline-yes { background:rgb(230,245,208) } -/* medium green */ -.cstat-yes { background:rgb(161,215,106) } -/* dark green */ -.status-line.high, .high .cover-fill { background:rgb(77,146,33) } -.high .chart { border:1px solid rgb(77,146,33) } -/* dark yellow (gold) */ -.status-line.medium, .medium .cover-fill { background: #f9cd0b; } -.medium .chart { border:1px solid #f9cd0b; } -/* light yellow */ -.medium { background: #fff4c2; } - -.cstat-skip { background: #ddd; color: #111; } -.fstat-skip { background: #ddd; color: #111 !important; } -.cbranch-skip { background: #ddd !important; color: #111; } - -span.cline-neutral { background: #eaeaea; } - -.coverage-summary td.empty { - opacity: .5; - padding-top: 4px; - padding-bottom: 4px; - line-height: 1; - color: #888; -} - -.cover-fill, .cover-empty { - display:inline-block; - height: 12px; -} -.chart { - line-height: 0; -} -.cover-empty { - background: white; -} -.cover-full { - border-right: none !important; -} -pre.prettyprint { - border: none !important; - padding: 0 !important; - margin: 0 !important; -} -.com { color: #999 !important; } -.ignore-none { color: #999; font-weight: normal; } - -.wrapper { - min-height: 100%; - height: auto !important; - height: 100%; - margin: 0 auto -48px; -} -.footer, .push { - height: 48px; -} diff --git a/coverage/block-navigation.js b/coverage/block-navigation.js deleted file mode 100644 index cc121302..00000000 --- a/coverage/block-navigation.js +++ /dev/null @@ -1,87 +0,0 @@ -/* eslint-disable */ -var jumpToCode = (function init() { - // Classes of code we would like to highlight in the file view - var missingCoverageClasses = ['.cbranch-no', '.cstat-no', '.fstat-no']; - - // Elements to highlight in the file listing view - var fileListingElements = ['td.pct.low']; - - // We don't want to select elements that are direct descendants of another match - var notSelector = ':not(' + missingCoverageClasses.join('):not(') + ') > '; // becomes `:not(a):not(b) > ` - - // Selecter that finds elements on the page to which we can jump - var selector = - fileListingElements.join(', ') + - ', ' + - notSelector + - missingCoverageClasses.join(', ' + notSelector); // becomes `:not(a):not(b) > a, :not(a):not(b) > b` - - // The NodeList of matching elements - var missingCoverageElements = document.querySelectorAll(selector); - - var currentIndex; - - function toggleClass(index) { - missingCoverageElements - .item(currentIndex) - .classList.remove('highlighted'); - missingCoverageElements.item(index).classList.add('highlighted'); - } - - function makeCurrent(index) { - toggleClass(index); - currentIndex = index; - missingCoverageElements.item(index).scrollIntoView({ - behavior: 'smooth', - block: 'center', - inline: 'center' - }); - } - - function goToPrevious() { - var nextIndex = 0; - if (typeof currentIndex !== 'number' || currentIndex === 0) { - nextIndex = missingCoverageElements.length - 1; - } else if (missingCoverageElements.length > 1) { - nextIndex = currentIndex - 1; - } - - makeCurrent(nextIndex); - } - - function goToNext() { - var nextIndex = 0; - - if ( - typeof currentIndex === 'number' && - currentIndex < missingCoverageElements.length - 1 - ) { - nextIndex = currentIndex + 1; - } - - makeCurrent(nextIndex); - } - - return function jump(event) { - if ( - document.getElementById('fileSearch') === document.activeElement && - document.activeElement != null - ) { - // if we're currently focused on the search input, we don't want to navigate - return; - } - - switch (event.which) { - case 78: // n - case 74: // j - goToNext(); - break; - case 66: // b - case 75: // k - case 80: // p - goToPrevious(); - break; - } - }; -})(); -window.addEventListener('keydown', jumpToCode); diff --git a/coverage/clover.xml b/coverage/clover.xml deleted file mode 100644 index 0a03eea4..00000000 --- a/coverage/clover.xml +++ /dev/null @@ -1,2090 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/coverage/coverage-final.json b/coverage/coverage-final.json deleted file mode 100644 index cd87526d..00000000 --- a/coverage/coverage-final.json +++ /dev/null @@ -1,27 +0,0 @@ -{"/home/runner/work/foundry/foundry/lint-staged.config.js": {"path":"/home/runner/work/foundry/foundry/lint-staged.config.js","all":true,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":29}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":66}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":67}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":42}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":2}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":45}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":2}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":70}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":68}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":75}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":70}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":33}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":3}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":0}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":75}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":73}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":32}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":18}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":40}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":54}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":2}}},"s":{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0},"branchMap":{"0":{"type":"branch","line":1,"loc":{"start":{"line":1,"column":0},"end":{"line":22,"column":2}},"locations":[{"start":{"line":1,"column":0},"end":{"line":22,"column":2}}]}},"b":{"0":[0]},"fnMap":{"0":{"name":"(empty-report)","decl":{"start":{"line":1,"column":0},"end":{"line":22,"column":2}},"loc":{"start":{"line":1,"column":0},"end":{"line":22,"column":2}},"line":1}},"f":{"0":0}} -,"/home/runner/work/foundry/foundry/prettier.config.js": {"path":"/home/runner/work/foundry/foundry/prettier.config.js","all":true,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":29}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":66}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":67}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":42}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":2}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":45}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":2}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":70}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":68}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":75}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":70}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":33}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":3}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":0}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":46}}},"s":{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0},"branchMap":{"0":{"type":"branch","line":1,"loc":{"start":{"line":1,"column":0},"end":{"line":16,"column":46}},"locations":[{"start":{"line":1,"column":0},"end":{"line":16,"column":46}}]}},"b":{"0":[0]},"fnMap":{"0":{"name":"(empty-report)","decl":{"start":{"line":1,"column":0},"end":{"line":16,"column":46}},"loc":{"start":{"line":1,"column":0},"end":{"line":16,"column":46}},"line":1}},"f":{"0":0}} -,"/home/runner/work/foundry/foundry/src/eslint.ts": {"path":"/home/runner/work/foundry/foundry/src/eslint.ts","all":true,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":29}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":66}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":67}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":42}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":2}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":45}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":2}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":70}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":68}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":75}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":70}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":33}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":3}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":0}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":55}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":0}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":22}}},"s":{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0},"branchMap":{"0":{"type":"branch","line":1,"loc":{"start":{"line":1,"column":0},"end":{"line":18,"column":22}},"locations":[{"start":{"line":1,"column":0},"end":{"line":18,"column":22}}]}},"b":{"0":[0]},"fnMap":{"0":{"name":"(empty-report)","decl":{"start":{"line":1,"column":0},"end":{"line":18,"column":22}},"loc":{"start":{"line":1,"column":0},"end":{"line":18,"column":22}},"line":1}},"f":{"0":0}} -,"/home/runner/work/foundry/foundry/src/husky.ts": {"path":"/home/runner/work/foundry/foundry/src/husky.ts","all":true,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":29}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":66}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":67}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":42}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":2}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":45}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":2}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":70}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":68}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":75}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":70}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":33}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":3}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":0}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":48}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":0}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":16}}},"s":{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0},"branchMap":{"0":{"type":"branch","line":1,"loc":{"start":{"line":1,"column":0},"end":{"line":18,"column":16}},"locations":[{"start":{"line":1,"column":0},"end":{"line":18,"column":16}}]}},"b":{"0":[0]},"fnMap":{"0":{"name":"(empty-report)","decl":{"start":{"line":1,"column":0},"end":{"line":18,"column":16}},"loc":{"start":{"line":1,"column":0},"end":{"line":18,"column":16}},"line":1}},"f":{"0":0}} -,"/home/runner/work/foundry/foundry/src/lint-staged.ts": {"path":"/home/runner/work/foundry/foundry/src/lint-staged.ts","all":true,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":29}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":66}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":67}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":42}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":2}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":45}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":2}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":70}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":68}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":75}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":70}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":33}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":3}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":0}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":54}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":0}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":16}}},"s":{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0},"branchMap":{"0":{"type":"branch","line":1,"loc":{"start":{"line":1,"column":0},"end":{"line":18,"column":16}},"locations":[{"start":{"line":1,"column":0},"end":{"line":18,"column":16}}]}},"b":{"0":[0]},"fnMap":{"0":{"name":"(empty-report)","decl":{"start":{"line":1,"column":0},"end":{"line":18,"column":16}},"loc":{"start":{"line":1,"column":0},"end":{"line":18,"column":16}},"line":1}},"f":{"0":0}} -,"/home/runner/work/foundry/foundry/src/prettier.ts": {"path":"/home/runner/work/foundry/foundry/src/prettier.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":29}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":66}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":67}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":42}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":2}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":45}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":2}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":70}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":68}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":75}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":70}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":33}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":3}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":0}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":51}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":0}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":16}}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1},"branchMap":{},"b":{},"fnMap":{},"f":{}} -,"/home/runner/work/foundry/foundry/src/cli/defaults.ts": {"path":"/home/runner/work/foundry/foundry/src/cli/defaults.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":29}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":66}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":67}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":42}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":2}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":45}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":2}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":70}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":68}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":75}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":70}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":33}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":3}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":0}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":46}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":0}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":45}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":17}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":20}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":17}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":19}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":2}}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1},"branchMap":{},"b":{},"fnMap":{},"f":{}} -,"/home/runner/work/foundry/foundry/src/cli/index.ts": {"path":"/home/runner/work/foundry/foundry/src/cli/index.ts","all":true,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":19}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":0}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":3}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":29}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":66}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":67}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":42}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":2}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":45}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":2}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":70}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":68}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":75}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":70}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":33}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":3}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":0}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":26}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":0}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":39}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":42}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":45}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":0}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":35}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":10}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":11}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":11}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":49}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":5}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":19}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":19}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":51}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":24}},"33":{"start":{"line":34,"column":0},"end":{"line":34,"column":8}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":16}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":42}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":24}},"37":{"start":{"line":38,"column":0},"end":{"line":38,"column":8}},"38":{"start":{"line":39,"column":0},"end":{"line":39,"column":18}},"39":{"start":{"line":40,"column":0},"end":{"line":40,"column":19}},"40":{"start":{"line":41,"column":0},"end":{"line":41,"column":50}},"41":{"start":{"line":42,"column":0},"end":{"line":42,"column":23}},"42":{"start":{"line":43,"column":0},"end":{"line":43,"column":43}},"43":{"start":{"line":44,"column":0},"end":{"line":44,"column":8}},"44":{"start":{"line":45,"column":0},"end":{"line":45,"column":18}},"45":{"start":{"line":46,"column":0},"end":{"line":46,"column":59}},"46":{"start":{"line":47,"column":0},"end":{"line":47,"column":24}},"47":{"start":{"line":48,"column":0},"end":{"line":48,"column":43}},"48":{"start":{"line":49,"column":0},"end":{"line":49,"column":8}},"49":{"start":{"line":50,"column":0},"end":{"line":50,"column":6}},"50":{"start":{"line":51,"column":0},"end":{"line":51,"column":20}},"51":{"start":{"line":52,"column":0},"end":{"line":52,"column":3}},"52":{"start":{"line":53,"column":0},"end":{"line":53,"column":11}},"53":{"start":{"line":54,"column":0},"end":{"line":54,"column":35}},"54":{"start":{"line":55,"column":0},"end":{"line":55,"column":36}},"55":{"start":{"line":56,"column":0},"end":{"line":56,"column":19}},"56":{"start":{"line":57,"column":0},"end":{"line":57,"column":3}},"57":{"start":{"line":58,"column":0},"end":{"line":58,"column":23}},"58":{"start":{"line":59,"column":0},"end":{"line":59,"column":23}},"59":{"start":{"line":60,"column":0},"end":{"line":60,"column":9}},"60":{"start":{"line":61,"column":0},"end":{"line":61,"column":18}},"61":{"start":{"line":62,"column":0},"end":{"line":62,"column":0}},"62":{"start":{"line":63,"column":0},"end":{"line":63,"column":34}},"63":{"start":{"line":64,"column":0},"end":{"line":64,"column":0}},"64":{"start":{"line":65,"column":0},"end":{"line":65,"column":40}},"65":{"start":{"line":66,"column":0},"end":{"line":66,"column":33}},"66":{"start":{"line":67,"column":0},"end":{"line":67,"column":38}},"67":{"start":{"line":68,"column":0},"end":{"line":68,"column":0}},"68":{"start":{"line":69,"column":0},"end":{"line":69,"column":35}},"69":{"start":{"line":70,"column":0},"end":{"line":70,"column":42}},"70":{"start":{"line":71,"column":0},"end":{"line":71,"column":67}},"71":{"start":{"line":72,"column":0},"end":{"line":72,"column":4}},"72":{"start":{"line":73,"column":0},"end":{"line":73,"column":1}}},"s":{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0},"branchMap":{"0":{"type":"branch","line":1,"loc":{"start":{"line":1,"column":0},"end":{"line":73,"column":1}},"locations":[{"start":{"line":1,"column":0},"end":{"line":73,"column":1}}]}},"b":{"0":[0]},"fnMap":{"0":{"name":"(empty-report)","decl":{"start":{"line":1,"column":0},"end":{"line":73,"column":1}},"loc":{"start":{"line":1,"column":0},"end":{"line":73,"column":1}},"line":1}},"f":{"0":0}} -,"/home/runner/work/foundry/foundry/src/cli/init.ts": {"path":"/home/runner/work/foundry/foundry/src/cli/init.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":29}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":66}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":67}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":42}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":2}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":45}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":2}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":70}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":68}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":75}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":70}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":33}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":3}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":0}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":32}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":31}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":0}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":46}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":48}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":43}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":53}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":26}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":25}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":36}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":0}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":8}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":14}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":9}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":9}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":7}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":14}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":7}},"33":{"start":{"line":34,"column":0},"end":{"line":34,"column":9}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":14}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":25}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":40}},"37":{"start":{"line":38,"column":0},"end":{"line":38,"column":76}},"38":{"start":{"line":39,"column":0},"end":{"line":39,"column":37}},"39":{"start":{"line":40,"column":0},"end":{"line":40,"column":35}},"40":{"start":{"line":41,"column":0},"end":{"line":41,"column":0}},"41":{"start":{"line":42,"column":0},"end":{"line":42,"column":45}},"42":{"start":{"line":43,"column":0},"end":{"line":43,"column":0}},"43":{"start":{"line":44,"column":0},"end":{"line":44,"column":29}},"44":{"start":{"line":45,"column":0},"end":{"line":45,"column":20}},"45":{"start":{"line":46,"column":0},"end":{"line":46,"column":23}},"46":{"start":{"line":47,"column":0},"end":{"line":47,"column":20}},"47":{"start":{"line":48,"column":0},"end":{"line":48,"column":22}},"48":{"start":{"line":49,"column":0},"end":{"line":49,"column":14}},"49":{"start":{"line":50,"column":0},"end":{"line":50,"column":15}},"50":{"start":{"line":51,"column":0},"end":{"line":51,"column":1}},"51":{"start":{"line":52,"column":0},"end":{"line":52,"column":0}},"52":{"start":{"line":53,"column":0},"end":{"line":53,"column":75}},"53":{"start":{"line":54,"column":0},"end":{"line":54,"column":27}},"54":{"start":{"line":55,"column":0},"end":{"line":55,"column":0}},"55":{"start":{"line":56,"column":0},"end":{"line":56,"column":40}},"56":{"start":{"line":57,"column":0},"end":{"line":57,"column":0}},"57":{"start":{"line":58,"column":0},"end":{"line":58,"column":14}},"58":{"start":{"line":59,"column":0},"end":{"line":59,"column":21}},"59":{"start":{"line":60,"column":0},"end":{"line":60,"column":29}},"60":{"start":{"line":61,"column":0},"end":{"line":61,"column":24}},"61":{"start":{"line":62,"column":0},"end":{"line":62,"column":27}},"62":{"start":{"line":63,"column":0},"end":{"line":63,"column":62}},"63":{"start":{"line":64,"column":0},"end":{"line":64,"column":44}},"64":{"start":{"line":65,"column":0},"end":{"line":65,"column":68}},"65":{"start":{"line":66,"column":0},"end":{"line":66,"column":8}},"66":{"start":{"line":67,"column":0},"end":{"line":67,"column":6}},"67":{"start":{"line":68,"column":0},"end":{"line":68,"column":0}},"68":{"start":{"line":69,"column":0},"end":{"line":69,"column":77}},"69":{"start":{"line":70,"column":0},"end":{"line":70,"column":71}},"70":{"start":{"line":71,"column":0},"end":{"line":71,"column":0}},"71":{"start":{"line":72,"column":0},"end":{"line":72,"column":48}},"72":{"start":{"line":73,"column":0},"end":{"line":73,"column":10}},"73":{"start":{"line":74,"column":0},"end":{"line":74,"column":19}},"74":{"start":{"line":75,"column":0},"end":{"line":75,"column":77}},"75":{"start":{"line":76,"column":0},"end":{"line":76,"column":0}},"76":{"start":{"line":77,"column":0},"end":{"line":77,"column":46}},"77":{"start":{"line":78,"column":0},"end":{"line":78,"column":3}},"78":{"start":{"line":79,"column":0},"end":{"line":79,"column":0}},"79":{"start":{"line":80,"column":0},"end":{"line":80,"column":60}},"80":{"start":{"line":81,"column":0},"end":{"line":81,"column":57}},"81":{"start":{"line":82,"column":0},"end":{"line":82,"column":61}},"82":{"start":{"line":83,"column":0},"end":{"line":83,"column":0}},"83":{"start":{"line":84,"column":0},"end":{"line":84,"column":17}},"84":{"start":{"line":85,"column":0},"end":{"line":85,"column":0}},"85":{"start":{"line":86,"column":0},"end":{"line":86,"column":27}},"86":{"start":{"line":87,"column":0},"end":{"line":87,"column":5}},"87":{"start":{"line":88,"column":0},"end":{"line":88,"column":36}},"88":{"start":{"line":89,"column":0},"end":{"line":89,"column":31}},"89":{"start":{"line":90,"column":0},"end":{"line":90,"column":18}},"90":{"start":{"line":91,"column":0},"end":{"line":91,"column":32}},"91":{"start":{"line":92,"column":0},"end":{"line":92,"column":42}},"92":{"start":{"line":93,"column":0},"end":{"line":93,"column":57}},"93":{"start":{"line":94,"column":0},"end":{"line":94,"column":24}},"94":{"start":{"line":95,"column":0},"end":{"line":95,"column":34}},"95":{"start":{"line":96,"column":0},"end":{"line":96,"column":26}},"96":{"start":{"line":97,"column":0},"end":{"line":97,"column":29}},"97":{"start":{"line":98,"column":0},"end":{"line":98,"column":34}},"98":{"start":{"line":99,"column":0},"end":{"line":99,"column":29}},"99":{"start":{"line":100,"column":0},"end":{"line":100,"column":67}},"100":{"start":{"line":101,"column":0},"end":{"line":101,"column":27}},"101":{"start":{"line":102,"column":0},"end":{"line":102,"column":67}},"102":{"start":{"line":103,"column":0},"end":{"line":103,"column":39}},"103":{"start":{"line":104,"column":0},"end":{"line":104,"column":35}},"104":{"start":{"line":105,"column":0},"end":{"line":105,"column":17}},"105":{"start":{"line":106,"column":0},"end":{"line":106,"column":114}},"106":{"start":{"line":107,"column":0},"end":{"line":107,"column":37}},"107":{"start":{"line":108,"column":0},"end":{"line":108,"column":19}},"108":{"start":{"line":109,"column":0},"end":{"line":109,"column":21}},"109":{"start":{"line":110,"column":0},"end":{"line":110,"column":38}},"110":{"start":{"line":111,"column":0},"end":{"line":111,"column":40}},"111":{"start":{"line":112,"column":0},"end":{"line":112,"column":57}},"112":{"start":{"line":113,"column":0},"end":{"line":113,"column":94}},"113":{"start":{"line":114,"column":0},"end":{"line":114,"column":37}},"114":{"start":{"line":115,"column":0},"end":{"line":115,"column":22}},"115":{"start":{"line":116,"column":0},"end":{"line":116,"column":20}},"116":{"start":{"line":117,"column":0},"end":{"line":117,"column":62}},"117":{"start":{"line":118,"column":0},"end":{"line":118,"column":76}},"118":{"start":{"line":119,"column":0},"end":{"line":119,"column":37}},"119":{"start":{"line":120,"column":0},"end":{"line":120,"column":43}},"120":{"start":{"line":121,"column":0},"end":{"line":121,"column":39}},"121":{"start":{"line":122,"column":0},"end":{"line":122,"column":21}},"122":{"start":{"line":123,"column":0},"end":{"line":123,"column":37}},"123":{"start":{"line":124,"column":0},"end":{"line":124,"column":40}},"124":{"start":{"line":125,"column":0},"end":{"line":125,"column":32}},"125":{"start":{"line":126,"column":0},"end":{"line":126,"column":35}},"126":{"start":{"line":127,"column":0},"end":{"line":127,"column":27}},"127":{"start":{"line":128,"column":0},"end":{"line":128,"column":22}},"128":{"start":{"line":129,"column":0},"end":{"line":129,"column":20}},"129":{"start":{"line":130,"column":0},"end":{"line":130,"column":18}},"130":{"start":{"line":131,"column":0},"end":{"line":131,"column":17}},"131":{"start":{"line":132,"column":0},"end":{"line":132,"column":14}},"132":{"start":{"line":133,"column":0},"end":{"line":133,"column":10}},"133":{"start":{"line":134,"column":0},"end":{"line":134,"column":6}},"134":{"start":{"line":135,"column":0},"end":{"line":135,"column":5}},"135":{"start":{"line":136,"column":0},"end":{"line":136,"column":37}},"136":{"start":{"line":137,"column":0},"end":{"line":137,"column":66}},"137":{"start":{"line":138,"column":0},"end":{"line":138,"column":41}},"138":{"start":{"line":139,"column":0},"end":{"line":139,"column":24}},"139":{"start":{"line":140,"column":0},"end":{"line":140,"column":30}},"140":{"start":{"line":141,"column":0},"end":{"line":141,"column":35}},"141":{"start":{"line":142,"column":0},"end":{"line":142,"column":10}},"142":{"start":{"line":143,"column":0},"end":{"line":143,"column":35}},"143":{"start":{"line":144,"column":0},"end":{"line":144,"column":11}},"144":{"start":{"line":145,"column":0},"end":{"line":145,"column":39}},"145":{"start":{"line":146,"column":0},"end":{"line":146,"column":49}},"146":{"start":{"line":147,"column":0},"end":{"line":147,"column":44}},"147":{"start":{"line":148,"column":0},"end":{"line":148,"column":0}},"148":{"start":{"line":149,"column":0},"end":{"line":149,"column":25}},"149":{"start":{"line":150,"column":0},"end":{"line":150,"column":73}},"150":{"start":{"line":151,"column":0},"end":{"line":151,"column":15}},"151":{"start":{"line":152,"column":0},"end":{"line":152,"column":0}},"152":{"start":{"line":153,"column":0},"end":{"line":153,"column":41}},"153":{"start":{"line":154,"column":0},"end":{"line":154,"column":48}},"154":{"start":{"line":155,"column":0},"end":{"line":155,"column":14}},"155":{"start":{"line":156,"column":0},"end":{"line":156,"column":12}},"156":{"start":{"line":157,"column":0},"end":{"line":157,"column":11}},"157":{"start":{"line":158,"column":0},"end":{"line":158,"column":39}},"158":{"start":{"line":159,"column":0},"end":{"line":159,"column":55}},"159":{"start":{"line":160,"column":0},"end":{"line":160,"column":34}},"160":{"start":{"line":161,"column":0},"end":{"line":161,"column":53}},"161":{"start":{"line":162,"column":0},"end":{"line":162,"column":14}},"162":{"start":{"line":163,"column":0},"end":{"line":163,"column":12}},"163":{"start":{"line":164,"column":0},"end":{"line":164,"column":50}},"164":{"start":{"line":165,"column":0},"end":{"line":165,"column":42}},"165":{"start":{"line":166,"column":0},"end":{"line":166,"column":19}},"166":{"start":{"line":167,"column":0},"end":{"line":167,"column":27}},"167":{"start":{"line":168,"column":0},"end":{"line":168,"column":46}},"168":{"start":{"line":169,"column":0},"end":{"line":169,"column":45}},"169":{"start":{"line":170,"column":0},"end":{"line":170,"column":19}},"170":{"start":{"line":171,"column":0},"end":{"line":171,"column":33}},"171":{"start":{"line":172,"column":0},"end":{"line":172,"column":34}},"172":{"start":{"line":173,"column":0},"end":{"line":173,"column":23}},"173":{"start":{"line":174,"column":0},"end":{"line":174,"column":26}},"174":{"start":{"line":175,"column":0},"end":{"line":175,"column":36}},"175":{"start":{"line":176,"column":0},"end":{"line":176,"column":18}},"176":{"start":{"line":177,"column":0},"end":{"line":177,"column":33}},"177":{"start":{"line":178,"column":0},"end":{"line":178,"column":31}},"178":{"start":{"line":179,"column":0},"end":{"line":179,"column":64}},"179":{"start":{"line":180,"column":0},"end":{"line":180,"column":27}},"180":{"start":{"line":181,"column":0},"end":{"line":181,"column":67}},"181":{"start":{"line":182,"column":0},"end":{"line":182,"column":39}},"182":{"start":{"line":183,"column":0},"end":{"line":183,"column":35}},"183":{"start":{"line":184,"column":0},"end":{"line":184,"column":17}},"184":{"start":{"line":185,"column":0},"end":{"line":185,"column":114}},"185":{"start":{"line":186,"column":0},"end":{"line":186,"column":37}},"186":{"start":{"line":187,"column":0},"end":{"line":187,"column":19}},"187":{"start":{"line":188,"column":0},"end":{"line":188,"column":21}},"188":{"start":{"line":189,"column":0},"end":{"line":189,"column":38}},"189":{"start":{"line":190,"column":0},"end":{"line":190,"column":46}},"190":{"start":{"line":191,"column":0},"end":{"line":191,"column":57}},"191":{"start":{"line":192,"column":0},"end":{"line":192,"column":89}},"192":{"start":{"line":193,"column":0},"end":{"line":193,"column":37}},"193":{"start":{"line":194,"column":0},"end":{"line":194,"column":22}},"194":{"start":{"line":195,"column":0},"end":{"line":195,"column":20}},"195":{"start":{"line":196,"column":0},"end":{"line":196,"column":74}},"196":{"start":{"line":197,"column":0},"end":{"line":197,"column":33}},"197":{"start":{"line":198,"column":0},"end":{"line":198,"column":72}},"198":{"start":{"line":199,"column":0},"end":{"line":199,"column":22}},"199":{"start":{"line":200,"column":0},"end":{"line":200,"column":43}},"200":{"start":{"line":201,"column":0},"end":{"line":201,"column":43}},"201":{"start":{"line":202,"column":0},"end":{"line":202,"column":29}},"202":{"start":{"line":203,"column":0},"end":{"line":203,"column":21}},"203":{"start":{"line":204,"column":0},"end":{"line":204,"column":75}},"204":{"start":{"line":205,"column":0},"end":{"line":205,"column":20}},"205":{"start":{"line":206,"column":0},"end":{"line":206,"column":18}},"206":{"start":{"line":207,"column":0},"end":{"line":207,"column":15}},"207":{"start":{"line":208,"column":0},"end":{"line":208,"column":14}},"208":{"start":{"line":209,"column":0},"end":{"line":209,"column":14}},"209":{"start":{"line":210,"column":0},"end":{"line":210,"column":11}},"210":{"start":{"line":211,"column":0},"end":{"line":211,"column":39}},"211":{"start":{"line":212,"column":0},"end":{"line":212,"column":41}},"212":{"start":{"line":213,"column":0},"end":{"line":213,"column":64}},"213":{"start":{"line":214,"column":0},"end":{"line":214,"column":12}},"214":{"start":{"line":215,"column":0},"end":{"line":215,"column":11}},"215":{"start":{"line":216,"column":0},"end":{"line":216,"column":8}},"216":{"start":{"line":217,"column":0},"end":{"line":217,"column":6}},"217":{"start":{"line":218,"column":0},"end":{"line":218,"column":5}},"218":{"start":{"line":219,"column":0},"end":{"line":219,"column":0}},"219":{"start":{"line":220,"column":0},"end":{"line":220,"column":7}},"220":{"start":{"line":221,"column":0},"end":{"line":221,"column":10}},"221":{"start":{"line":222,"column":0},"end":{"line":222,"column":17}},"222":{"start":{"line":223,"column":0},"end":{"line":223,"column":21}},"223":{"start":{"line":224,"column":0},"end":{"line":224,"column":68}},"224":{"start":{"line":225,"column":0},"end":{"line":225,"column":21}},"225":{"start":{"line":226,"column":0},"end":{"line":226,"column":50}},"226":{"start":{"line":227,"column":0},"end":{"line":227,"column":67}},"227":{"start":{"line":228,"column":0},"end":{"line":228,"column":9}},"228":{"start":{"line":229,"column":0},"end":{"line":229,"column":6}},"229":{"start":{"line":230,"column":0},"end":{"line":230,"column":31}},"230":{"start":{"line":231,"column":0},"end":{"line":231,"column":26}},"231":{"start":{"line":232,"column":0},"end":{"line":232,"column":22}},"232":{"start":{"line":233,"column":0},"end":{"line":233,"column":7}},"233":{"start":{"line":234,"column":0},"end":{"line":234,"column":1}},"234":{"start":{"line":235,"column":0},"end":{"line":235,"column":0}},"235":{"start":{"line":236,"column":0},"end":{"line":236,"column":30}},"236":{"start":{"line":237,"column":0},"end":{"line":237,"column":28}},"237":{"start":{"line":238,"column":0},"end":{"line":238,"column":41}},"238":{"start":{"line":239,"column":0},"end":{"line":239,"column":15}},"239":{"start":{"line":240,"column":0},"end":{"line":240,"column":14}},"240":{"start":{"line":241,"column":0},"end":{"line":241,"column":59}},"241":{"start":{"line":242,"column":0},"end":{"line":242,"column":12}},"242":{"start":{"line":243,"column":0},"end":{"line":243,"column":9}},"243":{"start":{"line":244,"column":0},"end":{"line":244,"column":45}},"244":{"start":{"line":245,"column":0},"end":{"line":245,"column":21}},"245":{"start":{"line":246,"column":0},"end":{"line":246,"column":1}},"246":{"start":{"line":247,"column":0},"end":{"line":247,"column":0}},"247":{"start":{"line":248,"column":0},"end":{"line":248,"column":71}},"248":{"start":{"line":249,"column":0},"end":{"line":249,"column":14}},"249":{"start":{"line":250,"column":0},"end":{"line":250,"column":59}},"250":{"start":{"line":251,"column":0},"end":{"line":251,"column":12}},"251":{"start":{"line":252,"column":0},"end":{"line":252,"column":9}},"252":{"start":{"line":253,"column":0},"end":{"line":253,"column":37}},"253":{"start":{"line":254,"column":0},"end":{"line":254,"column":38}},"254":{"start":{"line":255,"column":0},"end":{"line":255,"column":1}},"255":{"start":{"line":256,"column":0},"end":{"line":256,"column":0}},"256":{"start":{"line":257,"column":0},"end":{"line":257,"column":26}},"257":{"start":{"line":258,"column":0},"end":{"line":258,"column":23}},"258":{"start":{"line":259,"column":0},"end":{"line":259,"column":31}},"259":{"start":{"line":260,"column":0},"end":{"line":260,"column":11}},"260":{"start":{"line":261,"column":0},"end":{"line":261,"column":59}},"261":{"start":{"line":262,"column":0},"end":{"line":262,"column":21}},"262":{"start":{"line":263,"column":0},"end":{"line":263,"column":47}},"263":{"start":{"line":264,"column":0},"end":{"line":264,"column":37}},"264":{"start":{"line":265,"column":0},"end":{"line":265,"column":5}},"265":{"start":{"line":266,"column":0},"end":{"line":266,"column":20}},"266":{"start":{"line":267,"column":0},"end":{"line":267,"column":9}},"267":{"start":{"line":268,"column":0},"end":{"line":268,"column":1}},"268":{"start":{"line":269,"column":0},"end":{"line":269,"column":0}},"269":{"start":{"line":270,"column":0},"end":{"line":270,"column":28}},"270":{"start":{"line":271,"column":0},"end":{"line":271,"column":23}},"271":{"start":{"line":272,"column":0},"end":{"line":272,"column":31}},"272":{"start":{"line":273,"column":0},"end":{"line":273,"column":13}},"273":{"start":{"line":274,"column":0},"end":{"line":274,"column":63}},"274":{"start":{"line":275,"column":0},"end":{"line":275,"column":23}},"275":{"start":{"line":276,"column":0},"end":{"line":276,"column":51}},"276":{"start":{"line":277,"column":0},"end":{"line":277,"column":48}},"277":{"start":{"line":278,"column":0},"end":{"line":278,"column":5}},"278":{"start":{"line":279,"column":0},"end":{"line":279,"column":22}},"279":{"start":{"line":280,"column":0},"end":{"line":280,"column":9}},"280":{"start":{"line":281,"column":0},"end":{"line":281,"column":1}},"281":{"start":{"line":282,"column":0},"end":{"line":282,"column":0}},"282":{"start":{"line":283,"column":0},"end":{"line":283,"column":63}},"283":{"start":{"line":284,"column":0},"end":{"line":284,"column":14}},"284":{"start":{"line":285,"column":0},"end":{"line":285,"column":17}},"285":{"start":{"line":286,"column":0},"end":{"line":286,"column":3}},"286":{"start":{"line":287,"column":0},"end":{"line":287,"column":0}},"287":{"start":{"line":288,"column":0},"end":{"line":288,"column":37}},"288":{"start":{"line":289,"column":0},"end":{"line":289,"column":0}},"289":{"start":{"line":290,"column":0},"end":{"line":290,"column":34}},"290":{"start":{"line":291,"column":0},"end":{"line":291,"column":79}},"291":{"start":{"line":292,"column":0},"end":{"line":292,"column":3}},"292":{"start":{"line":293,"column":0},"end":{"line":293,"column":0}},"293":{"start":{"line":294,"column":0},"end":{"line":294,"column":14}},"294":{"start":{"line":295,"column":0},"end":{"line":295,"column":1}}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0,"77":0,"78":0,"79":0,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0,"93":0,"94":0,"95":0,"96":0,"97":0,"98":0,"99":0,"100":0,"101":0,"102":0,"103":0,"104":0,"105":0,"106":0,"107":0,"108":0,"109":0,"110":0,"111":0,"112":0,"113":0,"114":0,"115":0,"116":0,"117":0,"118":0,"119":0,"120":0,"121":0,"122":0,"123":0,"124":0,"125":0,"126":0,"127":0,"128":0,"129":0,"130":0,"131":0,"132":0,"133":0,"134":0,"135":0,"136":0,"137":0,"138":0,"139":0,"140":0,"141":0,"142":0,"143":0,"144":0,"145":0,"146":0,"147":0,"148":0,"149":0,"150":0,"151":0,"152":0,"153":0,"154":0,"155":0,"156":0,"157":0,"158":0,"159":0,"160":0,"161":0,"162":0,"163":0,"164":0,"165":0,"166":0,"167":0,"168":0,"169":0,"170":0,"171":0,"172":0,"173":0,"174":0,"175":0,"176":0,"177":0,"178":0,"179":0,"180":0,"181":0,"182":0,"183":0,"184":0,"185":0,"186":0,"187":0,"188":0,"189":0,"190":0,"191":0,"192":0,"193":0,"194":0,"195":0,"196":0,"197":0,"198":0,"199":0,"200":0,"201":0,"202":0,"203":0,"204":0,"205":0,"206":0,"207":0,"208":0,"209":0,"210":0,"211":0,"212":0,"213":0,"214":0,"215":0,"216":0,"217":0,"218":0,"219":0,"220":0,"221":0,"222":0,"223":0,"224":0,"225":0,"226":0,"227":0,"228":0,"229":0,"230":0,"231":0,"232":0,"233":0,"234":1,"235":0,"236":0,"237":0,"238":0,"239":0,"240":0,"241":0,"242":0,"243":0,"244":0,"245":0,"246":1,"247":0,"248":0,"249":0,"250":0,"251":0,"252":0,"253":0,"254":0,"255":1,"256":0,"257":0,"258":0,"259":0,"260":0,"261":0,"262":0,"263":0,"264":0,"265":0,"266":0,"267":0,"268":1,"269":0,"270":0,"271":0,"272":0,"273":0,"274":0,"275":0,"276":0,"277":0,"278":0,"279":0,"280":0,"281":1,"282":1,"283":3,"284":1,"285":1,"286":2,"287":2,"288":2,"289":3,"290":1,"291":1,"292":1,"293":1,"294":1},"branchMap":{"0":{"type":"branch","line":283,"loc":{"start":{"line":283,"column":7},"end":{"line":295,"column":1}},"locations":[{"start":{"line":283,"column":7},"end":{"line":295,"column":1}}]},"1":{"type":"branch","line":284,"loc":{"start":{"line":284,"column":13},"end":{"line":286,"column":3}},"locations":[{"start":{"line":284,"column":13},"end":{"line":286,"column":3}}]},"2":{"type":"branch","line":286,"loc":{"start":{"line":286,"column":2},"end":{"line":290,"column":33}},"locations":[{"start":{"line":286,"column":2},"end":{"line":290,"column":33}}]},"3":{"type":"branch","line":290,"loc":{"start":{"line":290,"column":33},"end":{"line":295,"column":1}},"locations":[{"start":{"line":290,"column":33},"end":{"line":295,"column":1}}]}},"b":{"0":[3],"1":[1],"2":[2],"3":[1]},"fnMap":{"0":{"name":"init","decl":{"start":{"line":53,"column":0},"end":{"line":234,"column":1}},"loc":{"start":{"line":53,"column":0},"end":{"line":234,"column":1}},"line":53},"1":{"name":"getPromptsForPresets","decl":{"start":{"line":236,"column":0},"end":{"line":246,"column":1}},"loc":{"start":{"line":236,"column":0},"end":{"line":246,"column":1}},"line":236},"2":{"name":"getToolsForPresets","decl":{"start":{"line":248,"column":0},"end":{"line":255,"column":1}},"loc":{"start":{"line":248,"column":0},"end":{"line":255,"column":1}},"line":248},"3":{"name":"getFilesForTools","decl":{"start":{"line":257,"column":0},"end":{"line":268,"column":1}},"loc":{"start":{"line":257,"column":0},"end":{"line":268,"column":1}},"line":257},"4":{"name":"getScriptsForTools","decl":{"start":{"line":270,"column":0},"end":{"line":281,"column":1}},"loc":{"start":{"line":270,"column":0},"end":{"line":281,"column":1}},"line":270},"5":{"name":"validatePath","decl":{"start":{"line":283,"column":7},"end":{"line":295,"column":1}},"loc":{"start":{"line":283,"column":7},"end":{"line":295,"column":1}},"line":283}},"f":{"0":0,"1":0,"2":0,"3":0,"4":0,"5":3}} -,"/home/runner/work/foundry/foundry/src/cli/run.ts": {"path":"/home/runner/work/foundry/foundry/src/cli/run.ts","all":true,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":29}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":66}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":67}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":42}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":2}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":45}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":2}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":70}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":68}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":75}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":70}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":33}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":3}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":0}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":56}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":38}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":33}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":0}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":37}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":0}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":46}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":37}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":40}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":0}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":42}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":38}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":0}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":53}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":39}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":1}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":0}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":71}},"33":{"start":{"line":34,"column":0},"end":{"line":34,"column":34}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":14}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":3}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":0}},"37":{"start":{"line":38,"column":0},"end":{"line":38,"column":43}},"38":{"start":{"line":39,"column":0},"end":{"line":39,"column":0}},"39":{"start":{"line":40,"column":0},"end":{"line":40,"column":7}},"40":{"start":{"line":41,"column":0},"end":{"line":41,"column":39}},"41":{"start":{"line":42,"column":0},"end":{"line":42,"column":27}},"42":{"start":{"line":43,"column":0},"end":{"line":43,"column":17}},"43":{"start":{"line":44,"column":0},"end":{"line":44,"column":43}},"44":{"start":{"line":45,"column":0},"end":{"line":45,"column":39}},"45":{"start":{"line":46,"column":0},"end":{"line":46,"column":3}},"46":{"start":{"line":47,"column":0},"end":{"line":47,"column":1}},"47":{"start":{"line":48,"column":0},"end":{"line":48,"column":0}},"48":{"start":{"line":49,"column":0},"end":{"line":49,"column":34}},"49":{"start":{"line":50,"column":0},"end":{"line":50,"column":15}},"50":{"start":{"line":51,"column":0},"end":{"line":51,"column":22}},"51":{"start":{"line":52,"column":0},"end":{"line":52,"column":20}},"52":{"start":{"line":53,"column":0},"end":{"line":53,"column":49}},"53":{"start":{"line":54,"column":0},"end":{"line":54,"column":72}},"54":{"start":{"line":55,"column":0},"end":{"line":55,"column":70}},"55":{"start":{"line":56,"column":0},"end":{"line":56,"column":1}},"56":{"start":{"line":57,"column":0},"end":{"line":57,"column":0}},"57":{"start":{"line":58,"column":0},"end":{"line":58,"column":48}},"58":{"start":{"line":59,"column":0},"end":{"line":59,"column":38}},"59":{"start":{"line":60,"column":0},"end":{"line":60,"column":27}},"60":{"start":{"line":61,"column":0},"end":{"line":61,"column":1}},"61":{"start":{"line":62,"column":0},"end":{"line":62,"column":0}},"62":{"start":{"line":63,"column":0},"end":{"line":63,"column":61}},"63":{"start":{"line":64,"column":0},"end":{"line":64,"column":42}},"64":{"start":{"line":65,"column":0},"end":{"line":65,"column":19}},"65":{"start":{"line":66,"column":0},"end":{"line":66,"column":69}},"66":{"start":{"line":67,"column":0},"end":{"line":67,"column":3}},"67":{"start":{"line":68,"column":0},"end":{"line":68,"column":7}},"68":{"start":{"line":69,"column":0},"end":{"line":69,"column":43}},"69":{"start":{"line":70,"column":0},"end":{"line":70,"column":54}},"70":{"start":{"line":71,"column":0},"end":{"line":71,"column":17}},"71":{"start":{"line":72,"column":0},"end":{"line":72,"column":52}},"72":{"start":{"line":73,"column":0},"end":{"line":73,"column":3}},"73":{"start":{"line":74,"column":0},"end":{"line":74,"column":1}},"74":{"start":{"line":75,"column":0},"end":{"line":75,"column":0}},"75":{"start":{"line":76,"column":0},"end":{"line":76,"column":33}},"76":{"start":{"line":77,"column":0},"end":{"line":77,"column":15}},"77":{"start":{"line":78,"column":0},"end":{"line":78,"column":22}},"78":{"start":{"line":79,"column":0},"end":{"line":79,"column":27}},"79":{"start":{"line":80,"column":0},"end":{"line":80,"column":7}},"80":{"start":{"line":81,"column":0},"end":{"line":81,"column":80}},"81":{"start":{"line":82,"column":0},"end":{"line":82,"column":36}},"82":{"start":{"line":83,"column":0},"end":{"line":83,"column":72}},"83":{"start":{"line":84,"column":0},"end":{"line":84,"column":64}},"84":{"start":{"line":85,"column":0},"end":{"line":85,"column":0}},"85":{"start":{"line":86,"column":0},"end":{"line":86,"column":22}},"86":{"start":{"line":87,"column":0},"end":{"line":87,"column":18}},"87":{"start":{"line":88,"column":0},"end":{"line":88,"column":5}},"88":{"start":{"line":89,"column":0},"end":{"line":89,"column":0}},"89":{"start":{"line":90,"column":0},"end":{"line":90,"column":76}},"90":{"start":{"line":91,"column":0},"end":{"line":91,"column":0}},"91":{"start":{"line":92,"column":0},"end":{"line":92,"column":22}},"92":{"start":{"line":93,"column":0},"end":{"line":93,"column":18}},"93":{"start":{"line":94,"column":0},"end":{"line":94,"column":5}},"94":{"start":{"line":95,"column":0},"end":{"line":95,"column":0}},"95":{"start":{"line":96,"column":0},"end":{"line":96,"column":57}},"96":{"start":{"line":97,"column":0},"end":{"line":97,"column":17}},"97":{"start":{"line":98,"column":0},"end":{"line":98,"column":16}},"98":{"start":{"line":99,"column":0},"end":{"line":99,"column":3}},"99":{"start":{"line":100,"column":0},"end":{"line":100,"column":1}},"100":{"start":{"line":101,"column":0},"end":{"line":101,"column":0}},"101":{"start":{"line":102,"column":0},"end":{"line":102,"column":39}},"102":{"start":{"line":103,"column":0},"end":{"line":103,"column":65}},"103":{"start":{"line":104,"column":0},"end":{"line":104,"column":43}},"104":{"start":{"line":105,"column":0},"end":{"line":105,"column":23}},"105":{"start":{"line":106,"column":0},"end":{"line":106,"column":27}},"106":{"start":{"line":107,"column":0},"end":{"line":107,"column":32}},"107":{"start":{"line":108,"column":0},"end":{"line":108,"column":1}},"108":{"start":{"line":109,"column":0},"end":{"line":109,"column":0}},"109":{"start":{"line":110,"column":0},"end":{"line":110,"column":77}},"110":{"start":{"line":111,"column":0},"end":{"line":111,"column":28}},"111":{"start":{"line":112,"column":0},"end":{"line":112,"column":21}},"112":{"start":{"line":113,"column":0},"end":{"line":113,"column":5}},"113":{"start":{"line":114,"column":0},"end":{"line":114,"column":1}},"114":{"start":{"line":115,"column":0},"end":{"line":115,"column":0}},"115":{"start":{"line":116,"column":0},"end":{"line":116,"column":28}},"116":{"start":{"line":117,"column":0},"end":{"line":117,"column":9}},"117":{"start":{"line":118,"column":0},"end":{"line":118,"column":16}},"118":{"start":{"line":119,"column":0},"end":{"line":119,"column":4}},"119":{"start":{"line":120,"column":0},"end":{"line":120,"column":1}},"120":{"start":{"line":121,"column":0},"end":{"line":121,"column":0}},"121":{"start":{"line":122,"column":0},"end":{"line":122,"column":63}},"122":{"start":{"line":123,"column":0},"end":{"line":123,"column":34}},"123":{"start":{"line":124,"column":0},"end":{"line":124,"column":31}},"124":{"start":{"line":125,"column":0},"end":{"line":125,"column":48}},"125":{"start":{"line":126,"column":0},"end":{"line":126,"column":0}},"126":{"start":{"line":127,"column":0},"end":{"line":127,"column":17}},"127":{"start":{"line":128,"column":0},"end":{"line":128,"column":52}},"128":{"start":{"line":129,"column":0},"end":{"line":129,"column":20}},"129":{"start":{"line":130,"column":0},"end":{"line":130,"column":3}},"130":{"start":{"line":131,"column":0},"end":{"line":131,"column":0}},"131":{"start":{"line":132,"column":0},"end":{"line":132,"column":37}},"132":{"start":{"line":133,"column":0},"end":{"line":133,"column":0}},"133":{"start":{"line":134,"column":0},"end":{"line":134,"column":7}},"134":{"start":{"line":135,"column":0},"end":{"line":135,"column":42}},"135":{"start":{"line":136,"column":0},"end":{"line":136,"column":17}},"136":{"start":{"line":137,"column":0},"end":{"line":137,"column":17}},"137":{"start":{"line":138,"column":0},"end":{"line":138,"column":71}},"138":{"start":{"line":139,"column":0},"end":{"line":139,"column":6}},"139":{"start":{"line":140,"column":0},"end":{"line":140,"column":32}},"140":{"start":{"line":141,"column":0},"end":{"line":141,"column":20}},"141":{"start":{"line":142,"column":0},"end":{"line":142,"column":3}},"142":{"start":{"line":143,"column":0},"end":{"line":143,"column":1}}},"s":{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0,"77":0,"78":0,"79":0,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0,"93":0,"94":0,"95":0,"96":0,"97":0,"98":0,"99":0,"100":0,"101":0,"102":0,"103":0,"104":0,"105":0,"106":0,"107":0,"108":0,"109":0,"110":0,"111":0,"112":0,"113":0,"114":0,"115":0,"116":0,"117":0,"118":0,"119":0,"120":0,"121":0,"122":0,"123":0,"124":0,"125":0,"126":0,"127":0,"128":0,"129":0,"130":0,"131":0,"132":0,"133":0,"134":0,"135":0,"136":0,"137":0,"138":0,"139":0,"140":0,"141":0,"142":0},"branchMap":{"0":{"type":"branch","line":1,"loc":{"start":{"line":1,"column":0},"end":{"line":143,"column":1}},"locations":[{"start":{"line":1,"column":0},"end":{"line":143,"column":1}}]}},"b":{"0":[0]},"fnMap":{"0":{"name":"(empty-report)","decl":{"start":{"line":1,"column":0},"end":{"line":143,"column":1}},"loc":{"start":{"line":1,"column":0},"end":{"line":143,"column":1}},"line":1}},"f":{"0":0}} -,"/home/runner/work/foundry/foundry/src/configs/index.ts": {"path":"/home/runner/work/foundry/foundry/src/configs/index.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":29}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":66}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":67}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":42}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":2}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":45}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":2}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":70}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":68}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":75}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":70}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":33}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":3}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":0}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":52}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":0}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":35}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":33}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":44}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":39}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":0}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":55}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":24}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":22}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":33}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":28}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":2}}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1},"branchMap":{},"b":{},"fnMap":{},"f":{}} -,"/home/runner/work/foundry/foundry/src/configs/eslint/config.ts": {"path":"/home/runner/work/foundry/foundry/src/configs/eslint/config.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":29}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":66}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":67}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":42}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":2}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":45}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":2}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":70}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":68}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":75}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":70}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":33}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":3}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":0}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":30}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":0}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":78}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":0}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":70}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":43}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":47}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":0}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":68}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":66}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":28}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":0}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":53}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":0}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":63}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":24}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":1}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":0}},"33":{"start":{"line":34,"column":0},"end":{"line":34,"column":20}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":20}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":20}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":14}},"37":{"start":{"line":38,"column":0},"end":{"line":38,"column":12}},"38":{"start":{"line":39,"column":0},"end":{"line":39,"column":65}},"39":{"start":{"line":40,"column":0},"end":{"line":40,"column":44}},"40":{"start":{"line":41,"column":0},"end":{"line":41,"column":3}},"41":{"start":{"line":42,"column":0},"end":{"line":42,"column":49}},"42":{"start":{"line":43,"column":0},"end":{"line":43,"column":70}},"43":{"start":{"line":44,"column":0},"end":{"line":44,"column":3}},"44":{"start":{"line":45,"column":0},"end":{"line":45,"column":19}},"45":{"start":{"line":46,"column":0},"end":{"line":46,"column":1}},"46":{"start":{"line":47,"column":0},"end":{"line":47,"column":0}},"47":{"start":{"line":48,"column":0},"end":{"line":48,"column":25}},"48":{"start":{"line":49,"column":0},"end":{"line":49,"column":16}},"49":{"start":{"line":50,"column":0},"end":{"line":50,"column":13}},"50":{"start":{"line":51,"column":0},"end":{"line":51,"column":20}},"51":{"start":{"line":52,"column":0},"end":{"line":52,"column":20}},"52":{"start":{"line":53,"column":0},"end":{"line":53,"column":19}},"53":{"start":{"line":54,"column":0},"end":{"line":54,"column":25}},"54":{"start":{"line":55,"column":0},"end":{"line":55,"column":22}},"55":{"start":{"line":56,"column":0},"end":{"line":56,"column":2}},"56":{"start":{"line":57,"column":0},"end":{"line":57,"column":0}},"57":{"start":{"line":58,"column":0},"end":{"line":58,"column":72}},"58":{"start":{"line":59,"column":0},"end":{"line":59,"column":0}},"59":{"start":{"line":60,"column":0},"end":{"line":60,"column":21}},"60":{"start":{"line":61,"column":0},"end":{"line":61,"column":28}},"61":{"start":{"line":62,"column":0},"end":{"line":62,"column":32}},"62":{"start":{"line":63,"column":0},"end":{"line":63,"column":30}},"63":{"start":{"line":64,"column":0},"end":{"line":64,"column":14}},"64":{"start":{"line":65,"column":0},"end":{"line":65,"column":12}},"65":{"start":{"line":66,"column":0},"end":{"line":66,"column":5}},"66":{"start":{"line":67,"column":0},"end":{"line":67,"column":15}},"67":{"start":{"line":68,"column":0},"end":{"line":68,"column":18}},"68":{"start":{"line":69,"column":0},"end":{"line":69,"column":27}},"69":{"start":{"line":70,"column":0},"end":{"line":70,"column":23}},"70":{"start":{"line":71,"column":0},"end":{"line":71,"column":26}},"71":{"start":{"line":72,"column":0},"end":{"line":72,"column":35}},"72":{"start":{"line":73,"column":0},"end":{"line":73,"column":33}},"73":{"start":{"line":74,"column":0},"end":{"line":74,"column":79}},"74":{"start":{"line":75,"column":0},"end":{"line":75,"column":6}},"75":{"start":{"line":76,"column":0},"end":{"line":76,"column":4}},"76":{"start":{"line":77,"column":0},"end":{"line":77,"column":34}},"77":{"start":{"line":78,"column":0},"end":{"line":78,"column":40}},"78":{"start":{"line":79,"column":0},"end":{"line":79,"column":48}},"79":{"start":{"line":80,"column":0},"end":{"line":80,"column":62}},"80":{"start":{"line":81,"column":0},"end":{"line":81,"column":29}},"81":{"start":{"line":82,"column":0},"end":{"line":82,"column":53}},"82":{"start":{"line":83,"column":0},"end":{"line":83,"column":23}},"83":{"start":{"line":84,"column":0},"end":{"line":84,"column":24}},"84":{"start":{"line":85,"column":0},"end":{"line":85,"column":32}},"85":{"start":{"line":86,"column":0},"end":{"line":86,"column":36}},"86":{"start":{"line":87,"column":0},"end":{"line":87,"column":34}},"87":{"start":{"line":88,"column":0},"end":{"line":88,"column":30}},"88":{"start":{"line":89,"column":0},"end":{"line":89,"column":18}},"89":{"start":{"line":90,"column":0},"end":{"line":90,"column":51}},"90":{"start":{"line":91,"column":0},"end":{"line":91,"column":2}},"91":{"start":{"line":92,"column":0},"end":{"line":92,"column":0}},"92":{"start":{"line":93,"column":0},"end":{"line":93,"column":25}},"93":{"start":{"line":94,"column":0},"end":{"line":94,"column":3}},"94":{"start":{"line":95,"column":0},"end":{"line":95,"column":38}},"95":{"start":{"line":96,"column":0},"end":{"line":96,"column":12}},"96":{"start":{"line":97,"column":0},"end":{"line":97,"column":49}},"97":{"start":{"line":98,"column":0},"end":{"line":98,"column":50}},"98":{"start":{"line":99,"column":0},"end":{"line":99,"column":24}},"99":{"start":{"line":100,"column":0},"end":{"line":100,"column":6}},"100":{"start":{"line":101,"column":0},"end":{"line":101,"column":4}},"101":{"start":{"line":102,"column":0},"end":{"line":102,"column":3}},"102":{"start":{"line":103,"column":0},"end":{"line":103,"column":76}},"103":{"start":{"line":104,"column":0},"end":{"line":104,"column":12}},"104":{"start":{"line":105,"column":0},"end":{"line":105,"column":49}},"105":{"start":{"line":106,"column":0},"end":{"line":106,"column":34}},"106":{"start":{"line":107,"column":0},"end":{"line":107,"column":32}},"107":{"start":{"line":108,"column":0},"end":{"line":108,"column":6}},"108":{"start":{"line":109,"column":0},"end":{"line":109,"column":4}},"109":{"start":{"line":110,"column":0},"end":{"line":110,"column":2}},"110":{"start":{"line":111,"column":0},"end":{"line":111,"column":0}},"111":{"start":{"line":112,"column":0},"end":{"line":112,"column":14}},"112":{"start":{"line":113,"column":0},"end":{"line":113,"column":13}},"113":{"start":{"line":114,"column":0},"end":{"line":114,"column":80}},"114":{"start":{"line":115,"column":0},"end":{"line":115,"column":24}},"115":{"start":{"line":116,"column":0},"end":{"line":116,"column":33}},"116":{"start":{"line":117,"column":0},"end":{"line":117,"column":18}},"117":{"start":{"line":118,"column":0},"end":{"line":118,"column":25}},"118":{"start":{"line":119,"column":0},"end":{"line":119,"column":19}},"119":{"start":{"line":120,"column":0},"end":{"line":120,"column":19}},"120":{"start":{"line":121,"column":0},"end":{"line":121,"column":20}},"121":{"start":{"line":122,"column":0},"end":{"line":122,"column":26}},"122":{"start":{"line":123,"column":0},"end":{"line":123,"column":6}},"123":{"start":{"line":124,"column":0},"end":{"line":124,"column":38}},"124":{"start":{"line":125,"column":0},"end":{"line":125,"column":4}},"125":{"start":{"line":126,"column":0},"end":{"line":126,"column":13}},"126":{"start":{"line":127,"column":0},"end":{"line":127,"column":24}},"127":{"start":{"line":128,"column":0},"end":{"line":128,"column":13}},"128":{"start":{"line":129,"column":0},"end":{"line":129,"column":51}},"129":{"start":{"line":130,"column":0},"end":{"line":130,"column":8}},"130":{"start":{"line":131,"column":0},"end":{"line":131,"column":6}},"131":{"start":{"line":132,"column":0},"end":{"line":132,"column":4}},"132":{"start":{"line":133,"column":0},"end":{"line":133,"column":21}},"133":{"start":{"line":134,"column":0},"end":{"line":134,"column":14}},"134":{"start":{"line":135,"column":0},"end":{"line":135,"column":5}},"135":{"start":{"line":136,"column":0},"end":{"line":136,"column":27}},"136":{"start":{"line":137,"column":0},"end":{"line":137,"column":43}},"137":{"start":{"line":138,"column":0},"end":{"line":138,"column":14}},"138":{"start":{"line":139,"column":0},"end":{"line":139,"column":31}},"139":{"start":{"line":140,"column":0},"end":{"line":140,"column":8}},"140":{"start":{"line":141,"column":0},"end":{"line":141,"column":6}},"141":{"start":{"line":142,"column":0},"end":{"line":142,"column":5}},"142":{"start":{"line":143,"column":0},"end":{"line":143,"column":24}},"143":{"start":{"line":144,"column":0},"end":{"line":144,"column":14}},"144":{"start":{"line":145,"column":0},"end":{"line":145,"column":28}},"145":{"start":{"line":146,"column":0},"end":{"line":146,"column":8}},"146":{"start":{"line":147,"column":0},"end":{"line":147,"column":6}},"147":{"start":{"line":148,"column":0},"end":{"line":148,"column":4}},"148":{"start":{"line":149,"column":0},"end":{"line":149,"column":2}},"149":{"start":{"line":150,"column":0},"end":{"line":150,"column":0}},"150":{"start":{"line":151,"column":0},"end":{"line":151,"column":49}},"151":{"start":{"line":152,"column":0},"end":{"line":152,"column":23}},"152":{"start":{"line":153,"column":0},"end":{"line":153,"column":28}},"153":{"start":{"line":154,"column":0},"end":{"line":154,"column":33}},"154":{"start":{"line":155,"column":0},"end":{"line":155,"column":6}},"155":{"start":{"line":156,"column":0},"end":{"line":156,"column":28}},"156":{"start":{"line":157,"column":0},"end":{"line":157,"column":18}},"157":{"start":{"line":158,"column":0},"end":{"line":158,"column":9}},"158":{"start":{"line":159,"column":0},"end":{"line":159,"column":35}},"159":{"start":{"line":160,"column":0},"end":{"line":160,"column":20}},"160":{"start":{"line":161,"column":0},"end":{"line":161,"column":37}},"161":{"start":{"line":162,"column":0},"end":{"line":162,"column":59}},"162":{"start":{"line":163,"column":0},"end":{"line":163,"column":52}},"163":{"start":{"line":164,"column":0},"end":{"line":164,"column":76}},"164":{"start":{"line":165,"column":0},"end":{"line":165,"column":12}},"165":{"start":{"line":166,"column":0},"end":{"line":166,"column":42}},"166":{"start":{"line":167,"column":0},"end":{"line":167,"column":46}},"167":{"start":{"line":168,"column":0},"end":{"line":168,"column":26}},"168":{"start":{"line":169,"column":0},"end":{"line":169,"column":35}},"169":{"start":{"line":170,"column":0},"end":{"line":170,"column":41}},"170":{"start":{"line":171,"column":0},"end":{"line":171,"column":43}},"171":{"start":{"line":172,"column":0},"end":{"line":172,"column":33}},"172":{"start":{"line":173,"column":0},"end":{"line":173,"column":27}},"173":{"start":{"line":174,"column":0},"end":{"line":174,"column":27}},"174":{"start":{"line":175,"column":0},"end":{"line":175,"column":28}},"175":{"start":{"line":176,"column":0},"end":{"line":176,"column":14}},"176":{"start":{"line":177,"column":0},"end":{"line":177,"column":12}},"177":{"start":{"line":178,"column":0},"end":{"line":178,"column":18}},"178":{"start":{"line":179,"column":0},"end":{"line":179,"column":27}},"179":{"start":{"line":180,"column":0},"end":{"line":180,"column":70}},"180":{"start":{"line":181,"column":0},"end":{"line":181,"column":47}},"181":{"start":{"line":182,"column":0},"end":{"line":182,"column":57}},"182":{"start":{"line":183,"column":0},"end":{"line":183,"column":55}},"183":{"start":{"line":184,"column":0},"end":{"line":184,"column":22}},"184":{"start":{"line":185,"column":0},"end":{"line":185,"column":42}},"185":{"start":{"line":186,"column":0},"end":{"line":186,"column":14}},"186":{"start":{"line":187,"column":0},"end":{"line":187,"column":56}},"187":{"start":{"line":188,"column":0},"end":{"line":188,"column":22}},"188":{"start":{"line":189,"column":0},"end":{"line":189,"column":35}},"189":{"start":{"line":190,"column":0},"end":{"line":190,"column":14}},"190":{"start":{"line":191,"column":0},"end":{"line":191,"column":38}},"191":{"start":{"line":192,"column":0},"end":{"line":192,"column":12}},"192":{"start":{"line":193,"column":0},"end":{"line":193,"column":10}},"193":{"start":{"line":194,"column":0},"end":{"line":194,"column":9}},"194":{"start":{"line":195,"column":0},"end":{"line":195,"column":31}},"195":{"start":{"line":196,"column":0},"end":{"line":196,"column":18}},"196":{"start":{"line":197,"column":0},"end":{"line":197,"column":36}},"197":{"start":{"line":198,"column":0},"end":{"line":198,"column":47}},"198":{"start":{"line":199,"column":0},"end":{"line":199,"column":50}},"199":{"start":{"line":200,"column":0},"end":{"line":200,"column":22}},"200":{"start":{"line":201,"column":0},"end":{"line":201,"column":40}},"201":{"start":{"line":202,"column":0},"end":{"line":202,"column":14}},"202":{"start":{"line":203,"column":0},"end":{"line":203,"column":12}},"203":{"start":{"line":204,"column":0},"end":{"line":204,"column":10}},"204":{"start":{"line":205,"column":0},"end":{"line":205,"column":9}},"205":{"start":{"line":206,"column":0},"end":{"line":206,"column":51}},"206":{"start":{"line":207,"column":0},"end":{"line":207,"column":18}},"207":{"start":{"line":208,"column":0},"end":{"line":208,"column":71}},"208":{"start":{"line":209,"column":0},"end":{"line":209,"column":12}},"209":{"start":{"line":210,"column":0},"end":{"line":210,"column":10}},"210":{"start":{"line":211,"column":0},"end":{"line":211,"column":9}},"211":{"start":{"line":212,"column":0},"end":{"line":212,"column":18}},"212":{"start":{"line":213,"column":0},"end":{"line":213,"column":32}},"213":{"start":{"line":214,"column":0},"end":{"line":214,"column":37}},"214":{"start":{"line":215,"column":0},"end":{"line":215,"column":37}},"215":{"start":{"line":216,"column":0},"end":{"line":216,"column":12}},"216":{"start":{"line":217,"column":0},"end":{"line":217,"column":18}},"217":{"start":{"line":218,"column":0},"end":{"line":218,"column":56}},"218":{"start":{"line":219,"column":0},"end":{"line":219,"column":58}},"219":{"start":{"line":220,"column":0},"end":{"line":220,"column":56}},"220":{"start":{"line":221,"column":0},"end":{"line":221,"column":61}},"221":{"start":{"line":222,"column":0},"end":{"line":222,"column":55}},"222":{"start":{"line":223,"column":0},"end":{"line":223,"column":12}},"223":{"start":{"line":224,"column":0},"end":{"line":224,"column":10}},"224":{"start":{"line":225,"column":0},"end":{"line":225,"column":27}},"225":{"start":{"line":226,"column":0},"end":{"line":226,"column":8}},"226":{"start":{"line":227,"column":0},"end":{"line":227,"column":6}},"227":{"start":{"line":228,"column":0},"end":{"line":228,"column":4}},"228":{"start":{"line":229,"column":0},"end":{"line":229,"column":50}},"229":{"start":{"line":230,"column":0},"end":{"line":230,"column":20}},"230":{"start":{"line":231,"column":0},"end":{"line":231,"column":20}},"231":{"start":{"line":232,"column":0},"end":{"line":232,"column":5}},"232":{"start":{"line":233,"column":0},"end":{"line":233,"column":44}},"233":{"start":{"line":234,"column":0},"end":{"line":234,"column":46}},"234":{"start":{"line":235,"column":0},"end":{"line":235,"column":4}},"235":{"start":{"line":236,"column":0},"end":{"line":236,"column":1}},"236":{"start":{"line":237,"column":0},"end":{"line":237,"column":0}},"237":{"start":{"line":238,"column":0},"end":{"line":238,"column":62}},"238":{"start":{"line":239,"column":0},"end":{"line":239,"column":26}},"239":{"start":{"line":240,"column":0},"end":{"line":240,"column":28}},"240":{"start":{"line":241,"column":0},"end":{"line":241,"column":45}},"241":{"start":{"line":242,"column":0},"end":{"line":242,"column":29}},"242":{"start":{"line":243,"column":0},"end":{"line":243,"column":17}},"243":{"start":{"line":244,"column":0},"end":{"line":244,"column":28}},"244":{"start":{"line":245,"column":0},"end":{"line":245,"column":45}},"245":{"start":{"line":246,"column":0},"end":{"line":246,"column":37}},"246":{"start":{"line":247,"column":0},"end":{"line":247,"column":8}},"247":{"start":{"line":248,"column":0},"end":{"line":248,"column":18}},"248":{"start":{"line":249,"column":0},"end":{"line":249,"column":9}},"249":{"start":{"line":250,"column":0},"end":{"line":250,"column":53}},"250":{"start":{"line":251,"column":0},"end":{"line":251,"column":18}},"251":{"start":{"line":252,"column":0},"end":{"line":252,"column":35}},"252":{"start":{"line":253,"column":0},"end":{"line":253,"column":12}},"253":{"start":{"line":254,"column":0},"end":{"line":254,"column":10}},"254":{"start":{"line":255,"column":0},"end":{"line":255,"column":8}},"255":{"start":{"line":256,"column":0},"end":{"line":256,"column":6}},"256":{"start":{"line":257,"column":0},"end":{"line":257,"column":25}},"257":{"start":{"line":258,"column":0},"end":{"line":258,"column":74}},"258":{"start":{"line":259,"column":0},"end":{"line":259,"column":26}},"259":{"start":{"line":260,"column":0},"end":{"line":260,"column":14}},"260":{"start":{"line":261,"column":0},"end":{"line":261,"column":71}},"261":{"start":{"line":262,"column":0},"end":{"line":262,"column":56}},"262":{"start":{"line":263,"column":0},"end":{"line":263,"column":68}},"263":{"start":{"line":264,"column":0},"end":{"line":264,"column":58}},"264":{"start":{"line":265,"column":0},"end":{"line":265,"column":40}},"265":{"start":{"line":266,"column":0},"end":{"line":266,"column":64}},"266":{"start":{"line":267,"column":0},"end":{"line":267,"column":43}},"267":{"start":{"line":268,"column":0},"end":{"line":268,"column":8}},"268":{"start":{"line":269,"column":0},"end":{"line":269,"column":18}},"269":{"start":{"line":270,"column":0},"end":{"line":270,"column":9}},"270":{"start":{"line":271,"column":0},"end":{"line":271,"column":18}},"271":{"start":{"line":272,"column":0},"end":{"line":272,"column":26}},"272":{"start":{"line":273,"column":0},"end":{"line":273,"column":23}},"273":{"start":{"line":274,"column":0},"end":{"line":274,"column":30}},"274":{"start":{"line":275,"column":0},"end":{"line":275,"column":30}},"275":{"start":{"line":276,"column":0},"end":{"line":276,"column":12}},"276":{"start":{"line":277,"column":0},"end":{"line":277,"column":18}},"277":{"start":{"line":278,"column":0},"end":{"line":278,"column":48}},"278":{"start":{"line":279,"column":0},"end":{"line":279,"column":49}},"279":{"start":{"line":280,"column":0},"end":{"line":280,"column":45}},"280":{"start":{"line":281,"column":0},"end":{"line":281,"column":48}},"281":{"start":{"line":282,"column":0},"end":{"line":282,"column":12}},"282":{"start":{"line":283,"column":0},"end":{"line":283,"column":10}},"283":{"start":{"line":284,"column":0},"end":{"line":284,"column":8}},"284":{"start":{"line":285,"column":0},"end":{"line":285,"column":6}},"285":{"start":{"line":286,"column":0},"end":{"line":286,"column":4}},"286":{"start":{"line":287,"column":0},"end":{"line":287,"column":50}},"287":{"start":{"line":288,"column":0},"end":{"line":288,"column":49}},"288":{"start":{"line":289,"column":0},"end":{"line":289,"column":20}},"289":{"start":{"line":290,"column":0},"end":{"line":290,"column":5}},"290":{"start":{"line":291,"column":0},"end":{"line":291,"column":67}},"291":{"start":{"line":292,"column":0},"end":{"line":292,"column":52}},"292":{"start":{"line":293,"column":0},"end":{"line":293,"column":45}},"293":{"start":{"line":294,"column":0},"end":{"line":294,"column":15}},"294":{"start":{"line":295,"column":0},"end":{"line":295,"column":4}},"295":{"start":{"line":296,"column":0},"end":{"line":296,"column":1}},"296":{"start":{"line":297,"column":0},"end":{"line":297,"column":0}},"297":{"start":{"line":298,"column":0},"end":{"line":298,"column":55}},"298":{"start":{"line":299,"column":0},"end":{"line":299,"column":24}},"299":{"start":{"line":300,"column":0},"end":{"line":300,"column":24}},"300":{"start":{"line":301,"column":0},"end":{"line":301,"column":16}},"301":{"start":{"line":302,"column":0},"end":{"line":302,"column":35}},"302":{"start":{"line":303,"column":0},"end":{"line":303,"column":41}},"303":{"start":{"line":304,"column":0},"end":{"line":304,"column":38}},"304":{"start":{"line":305,"column":0},"end":{"line":305,"column":8}},"305":{"start":{"line":306,"column":0},"end":{"line":306,"column":52}},"306":{"start":{"line":307,"column":0},"end":{"line":307,"column":14}},"307":{"start":{"line":308,"column":0},"end":{"line":308,"column":62}},"308":{"start":{"line":309,"column":0},"end":{"line":309,"column":42}},"309":{"start":{"line":310,"column":0},"end":{"line":310,"column":36}},"310":{"start":{"line":311,"column":0},"end":{"line":311,"column":8}},"311":{"start":{"line":312,"column":0},"end":{"line":312,"column":53}},"312":{"start":{"line":313,"column":0},"end":{"line":313,"column":49}},"313":{"start":{"line":314,"column":0},"end":{"line":314,"column":6}},"314":{"start":{"line":315,"column":0},"end":{"line":315,"column":26}},"315":{"start":{"line":316,"column":0},"end":{"line":316,"column":24}},"316":{"start":{"line":317,"column":0},"end":{"line":317,"column":17}},"317":{"start":{"line":318,"column":0},"end":{"line":318,"column":119}},"318":{"start":{"line":319,"column":0},"end":{"line":319,"column":122}},"319":{"start":{"line":320,"column":0},"end":{"line":320,"column":20}},"320":{"start":{"line":321,"column":0},"end":{"line":321,"column":39}},"321":{"start":{"line":322,"column":0},"end":{"line":322,"column":33}},"322":{"start":{"line":323,"column":0},"end":{"line":323,"column":33}},"323":{"start":{"line":324,"column":0},"end":{"line":324,"column":38}},"324":{"start":{"line":325,"column":0},"end":{"line":325,"column":36}},"325":{"start":{"line":326,"column":0},"end":{"line":326,"column":33}},"326":{"start":{"line":327,"column":0},"end":{"line":327,"column":23}},"327":{"start":{"line":328,"column":0},"end":{"line":328,"column":37}},"328":{"start":{"line":329,"column":0},"end":{"line":329,"column":21}},"329":{"start":{"line":330,"column":0},"end":{"line":330,"column":26}},"330":{"start":{"line":331,"column":0},"end":{"line":331,"column":16}},"331":{"start":{"line":332,"column":0},"end":{"line":332,"column":27}},"332":{"start":{"line":333,"column":0},"end":{"line":333,"column":28}},"333":{"start":{"line":334,"column":0},"end":{"line":334,"column":29}},"334":{"start":{"line":335,"column":0},"end":{"line":335,"column":25}},"335":{"start":{"line":336,"column":0},"end":{"line":336,"column":33}},"336":{"start":{"line":337,"column":0},"end":{"line":337,"column":36}},"337":{"start":{"line":338,"column":0},"end":{"line":338,"column":36}},"338":{"start":{"line":339,"column":0},"end":{"line":339,"column":30}},"339":{"start":{"line":340,"column":0},"end":{"line":340,"column":28}},"340":{"start":{"line":341,"column":0},"end":{"line":341,"column":26}},"341":{"start":{"line":342,"column":0},"end":{"line":342,"column":27}},"342":{"start":{"line":343,"column":0},"end":{"line":343,"column":45}},"343":{"start":{"line":344,"column":0},"end":{"line":344,"column":24}},"344":{"start":{"line":345,"column":0},"end":{"line":345,"column":22}},"345":{"start":{"line":346,"column":0},"end":{"line":346,"column":26}},"346":{"start":{"line":347,"column":0},"end":{"line":347,"column":20}},"347":{"start":{"line":348,"column":0},"end":{"line":348,"column":19}},"348":{"start":{"line":349,"column":0},"end":{"line":349,"column":16}},"349":{"start":{"line":350,"column":0},"end":{"line":350,"column":19}},"350":{"start":{"line":351,"column":0},"end":{"line":351,"column":41}},"351":{"start":{"line":352,"column":0},"end":{"line":352,"column":38}},"352":{"start":{"line":353,"column":0},"end":{"line":353,"column":43}},"353":{"start":{"line":354,"column":0},"end":{"line":354,"column":38}},"354":{"start":{"line":355,"column":0},"end":{"line":355,"column":38}},"355":{"start":{"line":356,"column":0},"end":{"line":356,"column":36}},"356":{"start":{"line":357,"column":0},"end":{"line":357,"column":33}},"357":{"start":{"line":358,"column":0},"end":{"line":358,"column":36}},"358":{"start":{"line":359,"column":0},"end":{"line":359,"column":40}},"359":{"start":{"line":360,"column":0},"end":{"line":360,"column":38}},"360":{"start":{"line":361,"column":0},"end":{"line":361,"column":39}},"361":{"start":{"line":362,"column":0},"end":{"line":362,"column":16}},"362":{"start":{"line":363,"column":0},"end":{"line":363,"column":28}},"363":{"start":{"line":364,"column":0},"end":{"line":364,"column":20}},"364":{"start":{"line":365,"column":0},"end":{"line":365,"column":20}},"365":{"start":{"line":366,"column":0},"end":{"line":366,"column":20}},"366":{"start":{"line":367,"column":0},"end":{"line":367,"column":18}},"367":{"start":{"line":368,"column":0},"end":{"line":368,"column":10}},"368":{"start":{"line":369,"column":0},"end":{"line":369,"column":8}},"369":{"start":{"line":370,"column":0},"end":{"line":370,"column":6}},"370":{"start":{"line":371,"column":0},"end":{"line":371,"column":26}},"371":{"start":{"line":372,"column":0},"end":{"line":372,"column":28}},"372":{"start":{"line":373,"column":0},"end":{"line":373,"column":14}},"373":{"start":{"line":374,"column":0},"end":{"line":374,"column":48}},"374":{"start":{"line":375,"column":0},"end":{"line":375,"column":37}},"375":{"start":{"line":376,"column":0},"end":{"line":376,"column":39}},"376":{"start":{"line":377,"column":0},"end":{"line":377,"column":41}},"377":{"start":{"line":378,"column":0},"end":{"line":378,"column":42}},"378":{"start":{"line":379,"column":0},"end":{"line":379,"column":68}},"379":{"start":{"line":380,"column":0},"end":{"line":380,"column":8}},"380":{"start":{"line":381,"column":0},"end":{"line":381,"column":6}},"381":{"start":{"line":382,"column":0},"end":{"line":382,"column":23}},"382":{"start":{"line":383,"column":0},"end":{"line":383,"column":18}},"383":{"start":{"line":384,"column":0},"end":{"line":384,"column":9}},"384":{"start":{"line":385,"column":0},"end":{"line":385,"column":33}},"385":{"start":{"line":386,"column":0},"end":{"line":386,"column":47}},"386":{"start":{"line":387,"column":0},"end":{"line":387,"column":28}},"387":{"start":{"line":388,"column":0},"end":{"line":388,"column":40}},"388":{"start":{"line":389,"column":0},"end":{"line":389,"column":10}},"389":{"start":{"line":390,"column":0},"end":{"line":390,"column":8}},"390":{"start":{"line":391,"column":0},"end":{"line":391,"column":6}},"391":{"start":{"line":392,"column":0},"end":{"line":392,"column":34}},"392":{"start":{"line":393,"column":0},"end":{"line":393,"column":18}},"393":{"start":{"line":394,"column":0},"end":{"line":394,"column":9}},"394":{"start":{"line":395,"column":0},"end":{"line":395,"column":33}},"395":{"start":{"line":396,"column":0},"end":{"line":396,"column":52}},"396":{"start":{"line":397,"column":0},"end":{"line":397,"column":39}},"397":{"start":{"line":398,"column":0},"end":{"line":398,"column":10}},"398":{"start":{"line":399,"column":0},"end":{"line":399,"column":8}},"399":{"start":{"line":400,"column":0},"end":{"line":400,"column":6}},"400":{"start":{"line":401,"column":0},"end":{"line":401,"column":26}},"401":{"start":{"line":402,"column":0},"end":{"line":402,"column":18}},"402":{"start":{"line":403,"column":0},"end":{"line":403,"column":9}},"403":{"start":{"line":404,"column":0},"end":{"line":404,"column":58}},"404":{"start":{"line":405,"column":0},"end":{"line":405,"column":50}},"405":{"start":{"line":406,"column":0},"end":{"line":406,"column":31}},"406":{"start":{"line":407,"column":0},"end":{"line":407,"column":43}},"407":{"start":{"line":408,"column":0},"end":{"line":408,"column":10}},"408":{"start":{"line":409,"column":0},"end":{"line":409,"column":8}},"409":{"start":{"line":410,"column":0},"end":{"line":410,"column":6}},"410":{"start":{"line":411,"column":0},"end":{"line":411,"column":29}},"411":{"start":{"line":412,"column":0},"end":{"line":412,"column":18}},"412":{"start":{"line":413,"column":0},"end":{"line":413,"column":9}},"413":{"start":{"line":414,"column":0},"end":{"line":414,"column":58}},"414":{"start":{"line":415,"column":0},"end":{"line":415,"column":57}},"415":{"start":{"line":416,"column":0},"end":{"line":416,"column":10}},"416":{"start":{"line":417,"column":0},"end":{"line":417,"column":8}},"417":{"start":{"line":418,"column":0},"end":{"line":418,"column":6}},"418":{"start":{"line":419,"column":0},"end":{"line":419,"column":28}},"419":{"start":{"line":420,"column":0},"end":{"line":420,"column":48}},"420":{"start":{"line":421,"column":0},"end":{"line":421,"column":6}},"421":{"start":{"line":422,"column":0},"end":{"line":422,"column":4}},"422":{"start":{"line":423,"column":0},"end":{"line":423,"column":50}},"423":{"start":{"line":424,"column":0},"end":{"line":424,"column":45}},"424":{"start":{"line":425,"column":0},"end":{"line":425,"column":20}},"425":{"start":{"line":426,"column":0},"end":{"line":426,"column":5}},"426":{"start":{"line":427,"column":0},"end":{"line":427,"column":0}},"427":{"start":{"line":428,"column":0},"end":{"line":428,"column":8}},"428":{"start":{"line":429,"column":0},"end":{"line":429,"column":47}},"429":{"start":{"line":430,"column":0},"end":{"line":430,"column":42}},"430":{"start":{"line":431,"column":0},"end":{"line":431,"column":7}},"431":{"start":{"line":432,"column":0},"end":{"line":432,"column":18}},"432":{"start":{"line":433,"column":0},"end":{"line":433,"column":147}},"433":{"start":{"line":434,"column":0},"end":{"line":434,"column":8}},"434":{"start":{"line":435,"column":0},"end":{"line":435,"column":51}},"435":{"start":{"line":436,"column":0},"end":{"line":436,"column":37}},"436":{"start":{"line":437,"column":0},"end":{"line":437,"column":53}},"437":{"start":{"line":438,"column":0},"end":{"line":438,"column":8}},"438":{"start":{"line":439,"column":0},"end":{"line":439,"column":5}},"439":{"start":{"line":440,"column":0},"end":{"line":440,"column":0}},"440":{"start":{"line":441,"column":0},"end":{"line":441,"column":61}},"441":{"start":{"line":442,"column":0},"end":{"line":442,"column":48}},"442":{"start":{"line":443,"column":0},"end":{"line":443,"column":45}},"443":{"start":{"line":444,"column":0},"end":{"line":444,"column":15}},"444":{"start":{"line":445,"column":0},"end":{"line":445,"column":4}},"445":{"start":{"line":446,"column":0},"end":{"line":446,"column":1}},"446":{"start":{"line":447,"column":0},"end":{"line":447,"column":0}},"447":{"start":{"line":448,"column":0},"end":{"line":448,"column":51}},"448":{"start":{"line":449,"column":0},"end":{"line":449,"column":50}},"449":{"start":{"line":450,"column":0},"end":{"line":450,"column":22}},"450":{"start":{"line":451,"column":0},"end":{"line":451,"column":20}},"451":{"start":{"line":452,"column":0},"end":{"line":452,"column":5}},"452":{"start":{"line":453,"column":0},"end":{"line":453,"column":29}},"453":{"start":{"line":454,"column":0},"end":{"line":454,"column":26}},"454":{"start":{"line":455,"column":0},"end":{"line":455,"column":14}},"455":{"start":{"line":456,"column":0},"end":{"line":456,"column":26}},"456":{"start":{"line":457,"column":0},"end":{"line":457,"column":18}},"457":{"start":{"line":458,"column":0},"end":{"line":458,"column":11}},"458":{"start":{"line":459,"column":0},"end":{"line":459,"column":26}},"459":{"start":{"line":460,"column":0},"end":{"line":460,"column":37}},"460":{"start":{"line":461,"column":0},"end":{"line":461,"column":66}},"461":{"start":{"line":462,"column":0},"end":{"line":462,"column":67}},"462":{"start":{"line":463,"column":0},"end":{"line":463,"column":42}},"463":{"start":{"line":464,"column":0},"end":{"line":464,"column":2}},"464":{"start":{"line":465,"column":0},"end":{"line":465,"column":45}},"465":{"start":{"line":466,"column":0},"end":{"line":466,"column":2}},"466":{"start":{"line":467,"column":0},"end":{"line":467,"column":70}},"467":{"start":{"line":468,"column":0},"end":{"line":468,"column":68}},"468":{"start":{"line":469,"column":0},"end":{"line":469,"column":75}},"469":{"start":{"line":470,"column":0},"end":{"line":470,"column":70}},"470":{"start":{"line":471,"column":0},"end":{"line":471,"column":33}},"471":{"start":{"line":472,"column":0},"end":{"line":472,"column":3}},"472":{"start":{"line":473,"column":0},"end":{"line":473,"column":0}},"473":{"start":{"line":474,"column":0},"end":{"line":474,"column":2}},"474":{"start":{"line":475,"column":0},"end":{"line":475,"column":49}},"475":{"start":{"line":476,"column":0},"end":{"line":476,"column":48}},"476":{"start":{"line":477,"column":0},"end":{"line":477,"column":43}},"477":{"start":{"line":478,"column":0},"end":{"line":478,"column":12}},"478":{"start":{"line":479,"column":0},"end":{"line":479,"column":10}},"479":{"start":{"line":480,"column":0},"end":{"line":480,"column":8}},"480":{"start":{"line":481,"column":0},"end":{"line":481,"column":6}},"481":{"start":{"line":482,"column":0},"end":{"line":482,"column":52}},"482":{"start":{"line":483,"column":0},"end":{"line":483,"column":4}},"483":{"start":{"line":484,"column":0},"end":{"line":484,"column":1}},"484":{"start":{"line":485,"column":0},"end":{"line":485,"column":0}},"485":{"start":{"line":486,"column":0},"end":{"line":486,"column":50}},"486":{"start":{"line":487,"column":0},"end":{"line":487,"column":48}},"487":{"start":{"line":488,"column":0},"end":{"line":488,"column":39}},"488":{"start":{"line":489,"column":0},"end":{"line":489,"column":1}},"489":{"start":{"line":490,"column":0},"end":{"line":490,"column":0}},"490":{"start":{"line":491,"column":0},"end":{"line":491,"column":74}},"491":{"start":{"line":492,"column":0},"end":{"line":492,"column":31}},"492":{"start":{"line":493,"column":0},"end":{"line":493,"column":0}},"493":{"start":{"line":494,"column":0},"end":{"line":494,"column":14}},"494":{"start":{"line":495,"column":0},"end":{"line":495,"column":40}},"495":{"start":{"line":496,"column":0},"end":{"line":496,"column":48}},"496":{"start":{"line":497,"column":0},"end":{"line":497,"column":43}},"497":{"start":{"line":498,"column":0},"end":{"line":498,"column":43}},"498":{"start":{"line":499,"column":0},"end":{"line":499,"column":30}},"499":{"start":{"line":500,"column":0},"end":{"line":500,"column":10}},"500":{"start":{"line":501,"column":0},"end":{"line":501,"column":1}}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":557,"30":557,"31":557,"32":1,"33":418,"34":418,"35":418,"36":418,"37":418,"38":418,"39":139,"40":139,"41":418,"42":59,"43":59,"44":220,"45":220,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"58":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"76":1,"77":1,"78":1,"79":1,"80":1,"81":1,"82":1,"83":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"93":1,"94":1,"95":1,"96":1,"97":1,"98":1,"99":1,"100":1,"101":1,"102":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"131":1,"132":1,"133":1,"134":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"142":1,"143":1,"144":1,"145":1,"146":1,"147":1,"148":1,"149":1,"150":34,"151":34,"152":34,"153":34,"154":34,"155":34,"156":34,"157":34,"158":34,"159":34,"160":34,"161":34,"162":34,"163":34,"164":34,"165":34,"166":34,"167":34,"168":34,"169":34,"170":34,"171":34,"172":34,"173":34,"174":34,"175":34,"176":34,"177":34,"178":34,"179":34,"180":34,"181":34,"182":34,"183":34,"184":34,"185":34,"186":34,"187":34,"188":34,"189":34,"190":34,"191":34,"192":34,"193":34,"194":34,"195":34,"196":34,"197":34,"198":34,"199":34,"200":34,"201":34,"202":34,"203":34,"204":34,"205":34,"206":34,"207":34,"208":34,"209":34,"210":34,"211":34,"212":34,"213":34,"214":34,"215":34,"216":34,"217":34,"218":34,"219":34,"220":34,"221":34,"222":34,"223":34,"224":34,"225":34,"226":34,"227":34,"228":34,"229":34,"230":2,"231":2,"232":32,"233":32,"234":34,"235":34,"236":1,"237":34,"238":34,"239":34,"240":34,"241":34,"242":34,"243":34,"244":34,"245":34,"246":34,"247":34,"248":34,"249":34,"250":34,"251":34,"252":34,"253":34,"254":34,"255":34,"256":34,"257":34,"258":34,"259":34,"260":34,"261":34,"262":34,"263":34,"264":34,"265":34,"266":34,"267":34,"268":34,"269":34,"270":34,"271":34,"272":34,"273":34,"274":34,"275":34,"276":34,"277":34,"278":34,"279":34,"280":34,"281":34,"282":34,"283":34,"284":34,"285":34,"286":34,"287":34,"288":2,"289":2,"290":32,"291":32,"292":32,"293":32,"294":34,"295":34,"296":1,"297":34,"298":34,"299":34,"300":34,"301":34,"302":34,"303":34,"304":34,"305":34,"306":34,"307":34,"308":34,"309":34,"310":34,"311":34,"312":34,"313":34,"314":34,"315":34,"316":34,"317":34,"318":34,"319":34,"320":34,"321":34,"322":34,"323":34,"324":34,"325":34,"326":34,"327":34,"328":34,"329":34,"330":34,"331":34,"332":34,"333":34,"334":34,"335":34,"336":34,"337":34,"338":34,"339":34,"340":34,"341":34,"342":34,"343":34,"344":34,"345":34,"346":34,"347":34,"348":34,"349":34,"350":34,"351":34,"352":34,"353":34,"354":34,"355":34,"356":34,"357":34,"358":34,"359":34,"360":34,"361":34,"362":34,"363":34,"364":34,"365":34,"366":34,"367":34,"368":34,"369":34,"370":34,"371":34,"372":34,"373":34,"374":34,"375":34,"376":34,"377":34,"378":34,"379":34,"380":34,"381":34,"382":34,"383":34,"384":34,"385":34,"386":34,"387":34,"388":34,"389":34,"390":34,"391":34,"392":34,"393":34,"394":34,"395":34,"396":34,"397":34,"398":34,"399":34,"400":34,"401":34,"402":34,"403":34,"404":34,"405":34,"406":34,"407":34,"408":34,"409":34,"410":34,"411":34,"412":34,"413":34,"414":34,"415":34,"416":34,"417":34,"418":34,"419":34,"420":34,"421":34,"422":34,"423":34,"424":2,"425":2,"426":32,"427":32,"428":32,"429":4,"430":34,"431":0,"432":0,"433":0,"434":0,"435":0,"436":0,"437":0,"438":0,"439":32,"440":32,"441":32,"442":32,"443":32,"444":34,"445":34,"446":1,"447":34,"448":34,"449":34,"450":32,"451":32,"452":2,"453":2,"454":2,"455":2,"456":2,"457":2,"458":2,"459":2,"460":2,"461":2,"462":2,"463":2,"464":2,"465":2,"466":2,"467":2,"468":2,"469":2,"470":2,"471":2,"472":2,"473":2,"474":2,"475":2,"476":2,"477":2,"478":2,"479":2,"480":2,"481":2,"482":34,"483":34,"484":1,"485":34,"486":34,"487":34,"488":34,"489":1,"490":1,"491":34,"492":34,"493":34,"494":34,"495":34,"496":34,"497":34,"498":34,"499":34,"500":34},"branchMap":{"0":{"type":"branch","line":30,"loc":{"start":{"line":30,"column":0},"end":{"line":32,"column":1}},"locations":[{"start":{"line":30,"column":0},"end":{"line":32,"column":1}}]},"1":{"type":"branch","line":34,"loc":{"start":{"line":34,"column":0},"end":{"line":46,"column":1}},"locations":[{"start":{"line":34,"column":0},"end":{"line":46,"column":1}}]},"2":{"type":"branch","line":39,"loc":{"start":{"line":39,"column":31},"end":{"line":39,"column":64}},"locations":[{"start":{"line":39,"column":31},"end":{"line":39,"column":64}}]},"3":{"type":"branch","line":39,"loc":{"start":{"line":39,"column":64},"end":{"line":41,"column":3}},"locations":[{"start":{"line":39,"column":64},"end":{"line":41,"column":3}}]},"4":{"type":"branch","line":41,"loc":{"start":{"line":41,"column":2},"end":{"line":42,"column":28}},"locations":[{"start":{"line":41,"column":2},"end":{"line":42,"column":28}}]},"5":{"type":"branch","line":42,"loc":{"start":{"line":42,"column":23},"end":{"line":42,"column":48}},"locations":[{"start":{"line":42,"column":23},"end":{"line":42,"column":48}}]},"6":{"type":"branch","line":42,"loc":{"start":{"line":42,"column":48},"end":{"line":44,"column":3}},"locations":[{"start":{"line":42,"column":48},"end":{"line":44,"column":3}}]},"7":{"type":"branch","line":43,"loc":{"start":{"line":43,"column":19},"end":{"line":43,"column":60}},"locations":[{"start":{"line":43,"column":19},"end":{"line":43,"column":60}}]},"8":{"type":"branch","line":43,"loc":{"start":{"line":43,"column":56},"end":{"line":43,"column":70}},"locations":[{"start":{"line":43,"column":56},"end":{"line":43,"column":70}}]},"9":{"type":"branch","line":44,"loc":{"start":{"line":44,"column":2},"end":{"line":46,"column":1}},"locations":[{"start":{"line":44,"column":2},"end":{"line":46,"column":1}}]},"10":{"type":"branch","line":151,"loc":{"start":{"line":151,"column":0},"end":{"line":236,"column":1}},"locations":[{"start":{"line":151,"column":0},"end":{"line":236,"column":1}}]},"11":{"type":"branch","line":229,"loc":{"start":{"line":229,"column":9},"end":{"line":235,"column":4}},"locations":[{"start":{"line":229,"column":9},"end":{"line":235,"column":4}}]},"12":{"type":"branch","line":230,"loc":{"start":{"line":230,"column":19},"end":{"line":232,"column":5}},"locations":[{"start":{"line":230,"column":19},"end":{"line":232,"column":5}}]},"13":{"type":"branch","line":232,"loc":{"start":{"line":232,"column":4},"end":{"line":234,"column":46}},"locations":[{"start":{"line":232,"column":4},"end":{"line":234,"column":46}}]},"14":{"type":"branch","line":238,"loc":{"start":{"line":238,"column":0},"end":{"line":296,"column":1}},"locations":[{"start":{"line":238,"column":0},"end":{"line":296,"column":1}}]},"15":{"type":"branch","line":287,"loc":{"start":{"line":287,"column":9},"end":{"line":295,"column":4}},"locations":[{"start":{"line":287,"column":9},"end":{"line":295,"column":4}}]},"16":{"type":"branch","line":288,"loc":{"start":{"line":288,"column":9},"end":{"line":288,"column":48}},"locations":[{"start":{"line":288,"column":9},"end":{"line":288,"column":48}}]},"17":{"type":"branch","line":288,"loc":{"start":{"line":288,"column":48},"end":{"line":290,"column":5}},"locations":[{"start":{"line":288,"column":48},"end":{"line":290,"column":5}}]},"18":{"type":"branch","line":290,"loc":{"start":{"line":290,"column":4},"end":{"line":294,"column":15}},"locations":[{"start":{"line":290,"column":4},"end":{"line":294,"column":15}}]},"19":{"type":"branch","line":291,"loc":{"start":{"line":291,"column":31},"end":{"line":294,"column":7}},"locations":[{"start":{"line":291,"column":31},"end":{"line":294,"column":7}}]},"20":{"type":"branch","line":298,"loc":{"start":{"line":298,"column":0},"end":{"line":446,"column":1}},"locations":[{"start":{"line":298,"column":0},"end":{"line":446,"column":1}}]},"21":{"type":"branch","line":423,"loc":{"start":{"line":423,"column":9},"end":{"line":445,"column":4}},"locations":[{"start":{"line":423,"column":9},"end":{"line":445,"column":4}}]},"22":{"type":"branch","line":424,"loc":{"start":{"line":424,"column":44},"end":{"line":426,"column":5}},"locations":[{"start":{"line":424,"column":44},"end":{"line":426,"column":5}}]},"23":{"type":"branch","line":426,"loc":{"start":{"line":426,"column":4},"end":{"line":429,"column":47}},"locations":[{"start":{"line":426,"column":4},"end":{"line":429,"column":47}}]},"24":{"type":"branch","line":429,"loc":{"start":{"line":429,"column":43},"end":{"line":430,"column":42}},"locations":[{"start":{"line":429,"column":43},"end":{"line":430,"column":42}}]},"25":{"type":"branch","line":431,"loc":{"start":{"line":431,"column":6},"end":{"line":439,"column":5}},"locations":[{"start":{"line":431,"column":6},"end":{"line":439,"column":5}}]},"26":{"type":"branch","line":439,"loc":{"start":{"line":439,"column":4},"end":{"line":444,"column":15}},"locations":[{"start":{"line":439,"column":4},"end":{"line":444,"column":15}}]},"27":{"type":"branch","line":441,"loc":{"start":{"line":441,"column":29},"end":{"line":444,"column":7}},"locations":[{"start":{"line":441,"column":29},"end":{"line":444,"column":7}}]},"28":{"type":"branch","line":448,"loc":{"start":{"line":448,"column":0},"end":{"line":484,"column":1}},"locations":[{"start":{"line":448,"column":0},"end":{"line":484,"column":1}}]},"29":{"type":"branch","line":449,"loc":{"start":{"line":449,"column":9},"end":{"line":483,"column":4}},"locations":[{"start":{"line":449,"column":9},"end":{"line":483,"column":4}}]},"30":{"type":"branch","line":450,"loc":{"start":{"line":450,"column":21},"end":{"line":452,"column":5}},"locations":[{"start":{"line":450,"column":21},"end":{"line":452,"column":5}}]},"31":{"type":"branch","line":452,"loc":{"start":{"line":452,"column":4},"end":{"line":482,"column":52}},"locations":[{"start":{"line":452,"column":4},"end":{"line":482,"column":52}}]},"32":{"type":"branch","line":486,"loc":{"start":{"line":486,"column":0},"end":{"line":489,"column":1}},"locations":[{"start":{"line":486,"column":0},"end":{"line":489,"column":1}}]},"33":{"type":"branch","line":487,"loc":{"start":{"line":487,"column":9},"end":{"line":488,"column":39}},"locations":[{"start":{"line":487,"column":9},"end":{"line":488,"column":39}}]},"34":{"type":"branch","line":491,"loc":{"start":{"line":491,"column":7},"end":{"line":501,"column":1}},"locations":[{"start":{"line":491,"column":7},"end":{"line":501,"column":1}}]}},"b":{"0":[557],"1":[418],"2":[139],"3":[139],"4":[279],"5":[59],"6":[59],"7":[27],"8":[32],"9":[220],"10":[34],"11":[34],"12":[2],"13":[32],"14":[34],"15":[34],"16":[32],"17":[2],"18":[32],"19":[32],"20":[34],"21":[34],"22":[2],"23":[32],"24":[4],"25":[0],"26":[32],"27":[32],"28":[34],"29":[34],"30":[32],"31":[2],"32":[34],"33":[34],"34":[34]},"fnMap":{"0":{"name":"isArrayTypeGuard","decl":{"start":{"line":30,"column":0},"end":{"line":32,"column":1}},"loc":{"start":{"line":30,"column":0},"end":{"line":32,"column":1}},"line":30},"1":{"name":"customizer","decl":{"start":{"line":34,"column":0},"end":{"line":46,"column":1}},"loc":{"start":{"line":34,"column":0},"end":{"line":46,"column":1}},"line":34},"2":{"name":"customizeLanguage","decl":{"start":{"line":151,"column":0},"end":{"line":236,"column":1}},"loc":{"start":{"line":151,"column":0},"end":{"line":236,"column":1}},"line":151},"3":{"name":"customizeEnvironments","decl":{"start":{"line":238,"column":0},"end":{"line":296,"column":1}},"loc":{"start":{"line":238,"column":0},"end":{"line":296,"column":1}},"line":238},"4":{"name":"customizeFramework","decl":{"start":{"line":298,"column":0},"end":{"line":446,"column":1}},"loc":{"start":{"line":298,"column":0},"end":{"line":446,"column":1}},"line":298},"5":{"name":"addCopyrightNotice","decl":{"start":{"line":448,"column":0},"end":{"line":484,"column":1}},"loc":{"start":{"line":448,"column":0},"end":{"line":484,"column":1}},"line":448},"6":{"name":"applyOverrides","decl":{"start":{"line":486,"column":0},"end":{"line":489,"column":1}},"loc":{"start":{"line":486,"column":0},"end":{"line":489,"column":1}},"line":486},"7":{"name":"createConfig","decl":{"start":{"line":491,"column":7},"end":{"line":501,"column":1}},"loc":{"start":{"line":491,"column":7},"end":{"line":501,"column":1}},"line":491}},"f":{"0":557,"1":418,"2":34,"3":34,"4":34,"5":34,"6":34,"7":34}} -,"/home/runner/work/foundry/foundry/src/configs/eslint/index.ts": {"path":"/home/runner/work/foundry/foundry/src/configs/eslint/index.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":29}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":66}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":67}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":42}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":2}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":45}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":2}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":70}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":68}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":75}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":70}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":33}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":3}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":0}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":28}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":0}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":50}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":0}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":36}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":3}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":25}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":14}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":57}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":4}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":3}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":26}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":23}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":19}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":12}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":11}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":12}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":11}},"33":{"start":{"line":34,"column":0},"end":{"line":34,"column":13}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":13}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":15}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":19}},"37":{"start":{"line":38,"column":0},"end":{"line":38,"column":18}},"38":{"start":{"line":39,"column":0},"end":{"line":39,"column":18}},"39":{"start":{"line":40,"column":0},"end":{"line":40,"column":13}},"40":{"start":{"line":41,"column":0},"end":{"line":41,"column":19}},"41":{"start":{"line":42,"column":0},"end":{"line":42,"column":10}},"42":{"start":{"line":43,"column":0},"end":{"line":43,"column":4}},"43":{"start":{"line":44,"column":0},"end":{"line":44,"column":2}},"44":{"start":{"line":45,"column":0},"end":{"line":45,"column":0}},"45":{"start":{"line":46,"column":0},"end":{"line":46,"column":40}},"46":{"start":{"line":47,"column":0},"end":{"line":47,"column":3}},"47":{"start":{"line":48,"column":0},"end":{"line":48,"column":17}},"48":{"start":{"line":49,"column":0},"end":{"line":49,"column":66}},"49":{"start":{"line":50,"column":0},"end":{"line":50,"column":72}},"50":{"start":{"line":51,"column":0},"end":{"line":51,"column":4}},"51":{"start":{"line":52,"column":0},"end":{"line":52,"column":3}},"52":{"start":{"line":53,"column":0},"end":{"line":53,"column":21}},"53":{"start":{"line":54,"column":0},"end":{"line":54,"column":37}},"54":{"start":{"line":55,"column":0},"end":{"line":55,"column":66}},"55":{"start":{"line":56,"column":0},"end":{"line":56,"column":4}},"56":{"start":{"line":57,"column":0},"end":{"line":57,"column":2}}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":1,"45":1,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0},"branchMap":{},"b":{},"fnMap":{"0":{"name":"files","decl":{"start":{"line":20,"column":21},"end":{"line":44,"column":2}},"loc":{"start":{"line":20,"column":21},"end":{"line":44,"column":2}},"line":20},"1":{"name":"scripts","decl":{"start":{"line":46,"column":23},"end":{"line":57,"column":2}},"loc":{"start":{"line":46,"column":23},"end":{"line":57,"column":2}},"line":46}},"f":{"0":0,"1":0}} -,"/home/runner/work/foundry/foundry/src/configs/husky/config.ts": {"path":"/home/runner/work/foundry/foundry/src/configs/husky/config.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":29}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":66}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":67}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":42}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":2}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":45}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":2}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":70}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":68}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":75}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":70}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":33}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":3}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":0}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":34}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":0}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":23}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":19}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":36}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":1}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":0}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":34}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":10}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":44}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":4}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":2}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":0}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":66}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":32}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":1}}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":2,"30":2},"branchMap":{"0":{"type":"branch","line":29,"loc":{"start":{"line":29,"column":7},"end":{"line":31,"column":1}},"locations":[{"start":{"line":29,"column":7},"end":{"line":31,"column":1}}]}},"b":{"0":[2]},"fnMap":{"0":{"name":"config","decl":{"start":{"line":29,"column":7},"end":{"line":31,"column":1}},"loc":{"start":{"line":29,"column":7},"end":{"line":31,"column":1}},"line":29}},"f":{"0":2}} -,"/home/runner/work/foundry/foundry/src/configs/husky/index.ts": {"path":"/home/runner/work/foundry/foundry/src/configs/husky/index.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":29}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":66}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":67}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":42}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":2}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":45}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":2}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":70}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":68}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":75}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":70}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":33}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":3}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":0}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":42}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":0}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":36}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":3}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":24}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":66}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":4}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":2}}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":0,"19":0,"20":0,"21":0,"22":0},"branchMap":{},"b":{},"fnMap":{"0":{"name":"files","decl":{"start":{"line":18,"column":21},"end":{"line":23,"column":2}},"loc":{"start":{"line":18,"column":21},"end":{"line":23,"column":2}},"line":18}},"f":{"0":0}} -,"/home/runner/work/foundry/foundry/src/configs/lint-staged/config.ts": {"path":"/home/runner/work/foundry/foundry/src/configs/lint-staged/config.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":29}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":66}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":67}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":42}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":2}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":45}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":2}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":70}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":68}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":75}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":70}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":33}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":3}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":0}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":47}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":46}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":0}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":39}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":55}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":0}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":28}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":42}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":1}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":0}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":45}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":50}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":2}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":0}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":45}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":57}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":54}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":2}},"33":{"start":{"line":34,"column":0},"end":{"line":34,"column":0}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":19}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":36}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":36}},"37":{"start":{"line":38,"column":0},"end":{"line":38,"column":2}},"38":{"start":{"line":39,"column":0},"end":{"line":39,"column":0}},"39":{"start":{"line":40,"column":0},"end":{"line":40,"column":76}},"40":{"start":{"line":41,"column":0},"end":{"line":41,"column":31}},"41":{"start":{"line":42,"column":0},"end":{"line":42,"column":49}},"42":{"start":{"line":43,"column":0},"end":{"line":43,"column":41}},"43":{"start":{"line":44,"column":0},"end":{"line":44,"column":1}}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"38":1,"39":1,"40":3,"41":3,"42":3,"43":3},"branchMap":{"0":{"type":"branch","line":40,"loc":{"start":{"line":40,"column":7},"end":{"line":44,"column":1}},"locations":[{"start":{"line":40,"column":7},"end":{"line":44,"column":1}}]}},"b":{"0":[3]},"fnMap":{"0":{"name":"*.(ts|tsx)","decl":{"start":{"line":32,"column":16},"end":{"line":32,"column":54}},"loc":{"start":{"line":32,"column":16},"end":{"line":32,"column":54}},"line":32},"1":{"name":"config","decl":{"start":{"line":40,"column":7},"end":{"line":44,"column":1}},"loc":{"start":{"line":40,"column":7},"end":{"line":44,"column":1}},"line":40}},"f":{"0":0,"1":3}} -,"/home/runner/work/foundry/foundry/src/configs/lint-staged/index.ts": {"path":"/home/runner/work/foundry/foundry/src/configs/lint-staged/index.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":29}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":66}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":67}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":42}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":2}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":45}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":2}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":70}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":68}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":75}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":70}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":33}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":3}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":0}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":42}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":0}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":36}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":3}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":34}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":14}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":62}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":4}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":2}}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0},"branchMap":{},"b":{},"fnMap":{"0":{"name":"files","decl":{"start":{"line":18,"column":21},"end":{"line":24,"column":2}},"loc":{"start":{"line":18,"column":21},"end":{"line":24,"column":2}},"line":18}},"f":{"0":0}} -,"/home/runner/work/foundry/foundry/src/configs/prettier/config.ts": {"path":"/home/runner/work/foundry/foundry/src/configs/prettier/config.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":29}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":66}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":67}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":42}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":2}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":45}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":2}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":70}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":68}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":75}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":70}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":33}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":3}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":0}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":53}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":0}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":72}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":32}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":19}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":16}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":19}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":15}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":22}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":29}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":25}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":26}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":27}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":25}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":26}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":20}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":4}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":35}},"33":{"start":{"line":34,"column":0},"end":{"line":34,"column":1}}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":6,"19":6,"20":6,"21":6,"22":6,"23":6,"24":6,"25":6,"26":6,"27":6,"28":6,"29":6,"30":6,"31":6,"32":6,"33":6},"branchMap":{"0":{"type":"branch","line":18,"loc":{"start":{"line":18,"column":7},"end":{"line":34,"column":1}},"locations":[{"start":{"line":18,"column":7},"end":{"line":34,"column":1}}]}},"b":{"0":[6]},"fnMap":{"0":{"name":"config","decl":{"start":{"line":18,"column":7},"end":{"line":34,"column":1}},"loc":{"start":{"line":18,"column":7},"end":{"line":34,"column":1}},"line":18}},"f":{"0":6}} -,"/home/runner/work/foundry/foundry/src/configs/prettier/index.ts": {"path":"/home/runner/work/foundry/foundry/src/configs/prettier/index.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":29}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":66}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":67}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":42}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":2}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":45}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":2}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":70}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":68}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":75}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":70}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":33}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":3}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":0}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":28}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":0}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":42}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":0}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":36}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":3}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":31}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":14}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":59}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":4}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":3}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":28}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":23}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":19}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":18}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":10}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":4}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":2}}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0},"branchMap":{},"b":{},"fnMap":{"0":{"name":"files","decl":{"start":{"line":20,"column":21},"end":{"line":33,"column":2}},"loc":{"start":{"line":20,"column":21},"end":{"line":33,"column":2}},"line":20}},"f":{"0":0}} -,"/home/runner/work/foundry/foundry/src/lib/choices.ts": {"path":"/home/runner/work/foundry/foundry/src/lib/choices.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":29}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":66}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":67}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":42}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":2}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":45}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":2}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":70}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":68}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":75}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":70}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":33}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":3}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":0}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":36}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":0}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":38}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":48}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":56}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":0}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":63}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":24}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":1}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":0}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":41}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":27}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":18}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":48}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":37}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":74}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":57}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":48}},"33":{"start":{"line":34,"column":0},"end":{"line":34,"column":0}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":49}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":45}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":69}},"37":{"start":{"line":38,"column":0},"end":{"line":38,"column":32}},"38":{"start":{"line":39,"column":0},"end":{"line":39,"column":27}},"39":{"start":{"line":40,"column":0},"end":{"line":40,"column":33}},"40":{"start":{"line":41,"column":0},"end":{"line":41,"column":13}},"41":{"start":{"line":42,"column":0},"end":{"line":42,"column":11}},"42":{"start":{"line":43,"column":0},"end":{"line":43,"column":9}},"43":{"start":{"line":44,"column":0},"end":{"line":44,"column":0}},"44":{"start":{"line":45,"column":0},"end":{"line":45,"column":29}},"45":{"start":{"line":46,"column":0},"end":{"line":46,"column":6}},"46":{"start":{"line":47,"column":0},"end":{"line":47,"column":9}},"47":{"start":{"line":48,"column":0},"end":{"line":48,"column":4}},"48":{"start":{"line":49,"column":0},"end":{"line":49,"column":1}}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":44,"22":44,"23":44,"24":1,"25":1,"26":2,"27":2,"28":2,"29":2,"30":4,"31":4,"32":4,"33":4,"34":4,"35":8,"36":40,"37":40,"38":40,"39":40,"40":40,"41":8,"42":4,"43":4,"44":4,"45":4,"46":2,"47":2,"48":2},"branchMap":{"0":{"type":"branch","line":22,"loc":{"start":{"line":22,"column":0},"end":{"line":24,"column":1}},"locations":[{"start":{"line":22,"column":0},"end":{"line":24,"column":1}}]},"1":{"type":"branch","line":26,"loc":{"start":{"line":26,"column":7},"end":{"line":49,"column":1}},"locations":[{"start":{"line":26,"column":7},"end":{"line":49,"column":1}}]},"2":{"type":"branch","line":30,"loc":{"start":{"line":30,"column":4},"end":{"line":46,"column":6}},"locations":[{"start":{"line":30,"column":4},"end":{"line":46,"column":6}}]},"3":{"type":"branch","line":31,"loc":{"start":{"line":31,"column":49},"end":{"line":31,"column":66}},"locations":[{"start":{"line":31,"column":49},"end":{"line":31,"column":66}}]},"4":{"type":"branch","line":31,"loc":{"start":{"line":31,"column":62},"end":{"line":31,"column":74}},"locations":[{"start":{"line":31,"column":62},"end":{"line":31,"column":74}}]},"5":{"type":"branch","line":35,"loc":{"start":{"line":35,"column":18},"end":{"line":43,"column":7}},"locations":[{"start":{"line":35,"column":18},"end":{"line":43,"column":7}}]},"6":{"type":"branch","line":36,"loc":{"start":{"line":36,"column":33},"end":{"line":42,"column":9}},"locations":[{"start":{"line":36,"column":33},"end":{"line":42,"column":9}}]},"7":{"type":"branch","line":37,"loc":{"start":{"line":37,"column":49},"end":{"line":37,"column":63}},"locations":[{"start":{"line":37,"column":49},"end":{"line":37,"column":63}}]},"8":{"type":"branch","line":37,"loc":{"start":{"line":37,"column":59},"end":{"line":37,"column":69}},"locations":[{"start":{"line":37,"column":59},"end":{"line":37,"column":69}}]}},"b":{"0":[44],"1":[2],"2":[4],"3":[2],"4":[2],"5":[8],"6":[40],"7":[36],"8":[4]},"fnMap":{"0":{"name":"isArrayTypeGuard","decl":{"start":{"line":22,"column":0},"end":{"line":24,"column":1}},"loc":{"start":{"line":22,"column":0},"end":{"line":24,"column":1}},"line":22},"1":{"name":"getAllChoiceCombinations","decl":{"start":{"line":26,"column":7},"end":{"line":49,"column":1}},"loc":{"start":{"line":26,"column":7},"end":{"line":49,"column":1}},"line":26}},"f":{"0":44,"1":2}} -,"/home/runner/work/foundry/foundry/src/lib/files.ts": {"path":"/home/runner/work/foundry/foundry/src/lib/files.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":29}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":66}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":67}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":42}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":2}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":45}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":2}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":70}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":68}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":75}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":70}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":33}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":3}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":0}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":64}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":24}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":33}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":0}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":33}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":61}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":36}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":0}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":46}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":41}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":0}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":46}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":38}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":0}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":30}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":19}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":18}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":20}},"33":{"start":{"line":34,"column":0},"end":{"line":34,"column":56}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":47}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":32}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":32}},"37":{"start":{"line":38,"column":0},"end":{"line":38,"column":4}},"38":{"start":{"line":39,"column":0},"end":{"line":39,"column":0}},"39":{"start":{"line":40,"column":0},"end":{"line":40,"column":43}},"40":{"start":{"line":41,"column":0},"end":{"line":41,"column":44}},"41":{"start":{"line":42,"column":0},"end":{"line":42,"column":0}},"42":{"start":{"line":43,"column":0},"end":{"line":43,"column":22}},"43":{"start":{"line":44,"column":0},"end":{"line":44,"column":36}},"44":{"start":{"line":45,"column":0},"end":{"line":45,"column":3}},"45":{"start":{"line":46,"column":0},"end":{"line":46,"column":0}},"46":{"start":{"line":47,"column":0},"end":{"line":47,"column":39}},"47":{"start":{"line":48,"column":0},"end":{"line":48,"column":1}},"48":{"start":{"line":49,"column":0},"end":{"line":49,"column":0}},"49":{"start":{"line":50,"column":0},"end":{"line":50,"column":32}},"50":{"start":{"line":51,"column":0},"end":{"line":51,"column":20}},"51":{"start":{"line":52,"column":0},"end":{"line":52,"column":19}},"52":{"start":{"line":53,"column":0},"end":{"line":53,"column":18}},"53":{"start":{"line":54,"column":0},"end":{"line":54,"column":26}},"54":{"start":{"line":55,"column":0},"end":{"line":55,"column":18}},"55":{"start":{"line":56,"column":0},"end":{"line":56,"column":61}},"56":{"start":{"line":57,"column":0},"end":{"line":57,"column":50}},"57":{"start":{"line":58,"column":0},"end":{"line":58,"column":43}},"58":{"start":{"line":59,"column":0},"end":{"line":59,"column":39}},"59":{"start":{"line":60,"column":0},"end":{"line":60,"column":53}},"60":{"start":{"line":61,"column":0},"end":{"line":61,"column":3}},"61":{"start":{"line":62,"column":0},"end":{"line":62,"column":44}},"62":{"start":{"line":63,"column":0},"end":{"line":63,"column":0}},"63":{"start":{"line":64,"column":0},"end":{"line":64,"column":57}},"64":{"start":{"line":65,"column":0},"end":{"line":65,"column":1}},"65":{"start":{"line":66,"column":0},"end":{"line":66,"column":0}},"66":{"start":{"line":67,"column":0},"end":{"line":67,"column":33}},"67":{"start":{"line":68,"column":0},"end":{"line":68,"column":27}},"68":{"start":{"line":69,"column":0},"end":{"line":69,"column":15}},"69":{"start":{"line":70,"column":0},"end":{"line":70,"column":18}},"70":{"start":{"line":71,"column":0},"end":{"line":71,"column":26}},"71":{"start":{"line":72,"column":0},"end":{"line":72,"column":16}},"72":{"start":{"line":73,"column":0},"end":{"line":73,"column":29}},"73":{"start":{"line":74,"column":0},"end":{"line":74,"column":49}},"74":{"start":{"line":75,"column":0},"end":{"line":75,"column":46}},"75":{"start":{"line":76,"column":0},"end":{"line":76,"column":23}},"76":{"start":{"line":77,"column":0},"end":{"line":77,"column":3}},"77":{"start":{"line":78,"column":0},"end":{"line":78,"column":0}},"78":{"start":{"line":79,"column":0},"end":{"line":79,"column":57}},"79":{"start":{"line":80,"column":0},"end":{"line":80,"column":40}},"80":{"start":{"line":81,"column":0},"end":{"line":81,"column":72}},"81":{"start":{"line":82,"column":0},"end":{"line":82,"column":3}},"82":{"start":{"line":83,"column":0},"end":{"line":83,"column":47}},"83":{"start":{"line":84,"column":0},"end":{"line":84,"column":38}},"84":{"start":{"line":85,"column":0},"end":{"line":85,"column":21}},"85":{"start":{"line":86,"column":0},"end":{"line":86,"column":1}},"86":{"start":{"line":87,"column":0},"end":{"line":87,"column":0}},"87":{"start":{"line":88,"column":0},"end":{"line":88,"column":48}},"88":{"start":{"line":89,"column":0},"end":{"line":89,"column":31}},"89":{"start":{"line":90,"column":0},"end":{"line":90,"column":0}},"90":{"start":{"line":91,"column":0},"end":{"line":91,"column":13}},"91":{"start":{"line":92,"column":0},"end":{"line":92,"column":60}},"92":{"start":{"line":93,"column":0},"end":{"line":93,"column":3}},"93":{"start":{"line":94,"column":0},"end":{"line":94,"column":0}},"94":{"start":{"line":95,"column":0},"end":{"line":95,"column":25}},"95":{"start":{"line":96,"column":0},"end":{"line":96,"column":1}},"96":{"start":{"line":97,"column":0},"end":{"line":97,"column":0}},"97":{"start":{"line":98,"column":0},"end":{"line":98,"column":38}},"98":{"start":{"line":99,"column":0},"end":{"line":99,"column":22}},"99":{"start":{"line":100,"column":0},"end":{"line":100,"column":27}},"100":{"start":{"line":101,"column":0},"end":{"line":101,"column":18}},"101":{"start":{"line":102,"column":0},"end":{"line":102,"column":44}},"102":{"start":{"line":103,"column":0},"end":{"line":103,"column":56}},"103":{"start":{"line":104,"column":0},"end":{"line":104,"column":71}},"104":{"start":{"line":105,"column":0},"end":{"line":105,"column":61}},"105":{"start":{"line":106,"column":0},"end":{"line":106,"column":1}}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":4,"31":4,"32":4,"33":4,"34":4,"35":4,"36":4,"37":4,"38":4,"39":4,"40":4,"41":4,"42":4,"43":0,"44":0,"45":4,"46":4,"47":4,"48":1,"49":4,"50":4,"51":4,"52":4,"53":4,"54":4,"55":4,"56":4,"57":4,"58":4,"59":2,"60":2,"61":4,"62":4,"63":4,"64":4,"65":1,"66":1,"67":4,"68":4,"69":4,"70":4,"71":4,"72":4,"73":1,"74":1,"75":1,"76":1,"77":3,"78":3,"79":4,"80":1,"81":1,"82":2,"83":2,"84":2,"85":2,"86":1,"87":1,"88":0,"89":0,"90":0,"91":0,"92":0,"93":0,"94":0,"95":0,"96":1,"97":1,"98":1,"99":1,"100":1,"101":1,"102":1,"103":1,"104":1,"105":1},"branchMap":{"0":{"type":"branch","line":30,"loc":{"start":{"line":30,"column":7},"end":{"line":48,"column":1}},"locations":[{"start":{"line":30,"column":7},"end":{"line":48,"column":1}}]},"1":{"type":"branch","line":43,"loc":{"start":{"line":43,"column":21},"end":{"line":45,"column":3}},"locations":[{"start":{"line":43,"column":21},"end":{"line":45,"column":3}}]},"2":{"type":"branch","line":50,"loc":{"start":{"line":50,"column":0},"end":{"line":65,"column":1}},"locations":[{"start":{"line":50,"column":0},"end":{"line":65,"column":1}}]},"3":{"type":"branch","line":59,"loc":{"start":{"line":59,"column":38},"end":{"line":61,"column":3}},"locations":[{"start":{"line":59,"column":38},"end":{"line":61,"column":3}}]},"4":{"type":"branch","line":62,"loc":{"start":{"line":62,"column":15},"end":{"line":62,"column":39}},"locations":[{"start":{"line":62,"column":15},"end":{"line":62,"column":39}}]},"5":{"type":"branch","line":62,"loc":{"start":{"line":62,"column":33},"end":{"line":62,"column":44}},"locations":[{"start":{"line":62,"column":33},"end":{"line":62,"column":44}}]},"6":{"type":"branch","line":67,"loc":{"start":{"line":67,"column":7},"end":{"line":86,"column":1}},"locations":[{"start":{"line":67,"column":7},"end":{"line":86,"column":1}}]},"7":{"type":"branch","line":73,"loc":{"start":{"line":73,"column":28},"end":{"line":77,"column":3}},"locations":[{"start":{"line":73,"column":28},"end":{"line":77,"column":3}}]},"8":{"type":"branch","line":77,"loc":{"start":{"line":77,"column":2},"end":{"line":80,"column":21}},"locations":[{"start":{"line":77,"column":2},"end":{"line":80,"column":21}}]},"9":{"type":"branch","line":80,"loc":{"start":{"line":80,"column":6},"end":{"line":80,"column":39}},"locations":[{"start":{"line":80,"column":6},"end":{"line":80,"column":39}}]},"10":{"type":"branch","line":80,"loc":{"start":{"line":80,"column":39},"end":{"line":82,"column":3}},"locations":[{"start":{"line":80,"column":39},"end":{"line":82,"column":3}}]},"11":{"type":"branch","line":82,"loc":{"start":{"line":82,"column":2},"end":{"line":86,"column":1}},"locations":[{"start":{"line":82,"column":2},"end":{"line":86,"column":1}}]},"12":{"type":"branch","line":98,"loc":{"start":{"line":98,"column":0},"end":{"line":106,"column":1}},"locations":[{"start":{"line":98,"column":0},"end":{"line":106,"column":1}}]}},"b":{"0":[4],"1":[0],"2":[4],"3":[2],"4":[2],"5":[2],"6":[4],"7":[1],"8":[3],"9":[2],"10":[1],"11":[2],"12":[1]},"fnMap":{"0":{"name":"formatContent","decl":{"start":{"line":30,"column":7},"end":{"line":48,"column":1}},"loc":{"start":{"line":30,"column":7},"end":{"line":48,"column":1}},"line":30},"1":{"name":"writeFile","decl":{"start":{"line":50,"column":0},"end":{"line":65,"column":1}},"loc":{"start":{"line":50,"column":0},"end":{"line":65,"column":1}},"line":50},"2":{"name":"addPackageScript","decl":{"start":{"line":67,"column":7},"end":{"line":86,"column":1}},"loc":{"start":{"line":67,"column":7},"end":{"line":86,"column":1}},"line":67},"3":{"name":"readPackageJson","decl":{"start":{"line":88,"column":7},"end":{"line":96,"column":1}},"loc":{"start":{"line":88,"column":7},"end":{"line":96,"column":1}},"line":88},"4":{"name":"savePackageJson","decl":{"start":{"line":98,"column":0},"end":{"line":106,"column":1}},"loc":{"start":{"line":98,"column":0},"end":{"line":106,"column":1}},"line":98}},"f":{"0":4,"1":4,"2":4,"3":0,"4":1}} -,"/home/runner/work/foundry/foundry/src/lib/logger.ts": {"path":"/home/runner/work/foundry/foundry/src/lib/logger.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":29}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":66}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":67}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":42}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":2}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":45}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":2}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":70}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":68}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":75}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":70}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":33}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":3}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":0}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":31}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":26}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":0}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":36}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":0}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":16}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":71}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":0}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":49}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":60}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":17}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":2}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":0}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":49}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":30}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":40}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":2}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":0}},"33":{"start":{"line":34,"column":0},"end":{"line":34,"column":48}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":30}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":42}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":2}},"37":{"start":{"line":38,"column":0},"end":{"line":38,"column":0}},"38":{"start":{"line":39,"column":0},"end":{"line":39,"column":47}},"39":{"start":{"line":40,"column":0},"end":{"line":40,"column":30}},"40":{"start":{"line":41,"column":0},"end":{"line":41,"column":19}},"41":{"start":{"line":42,"column":0},"end":{"line":42,"column":2}},"42":{"start":{"line":43,"column":0},"end":{"line":43,"column":0}},"43":{"start":{"line":44,"column":0},"end":{"line":44,"column":48}},"44":{"start":{"line":45,"column":0},"end":{"line":45,"column":30}},"45":{"start":{"line":46,"column":0},"end":{"line":46,"column":27}},"46":{"start":{"line":47,"column":0},"end":{"line":47,"column":2}},"47":{"start":{"line":48,"column":0},"end":{"line":48,"column":0}},"48":{"start":{"line":49,"column":0},"end":{"line":49,"column":49}},"49":{"start":{"line":50,"column":0},"end":{"line":50,"column":18}},"50":{"start":{"line":51,"column":0},"end":{"line":51,"column":11}},"51":{"start":{"line":52,"column":0},"end":{"line":52,"column":3}},"52":{"start":{"line":53,"column":0},"end":{"line":53,"column":0}},"53":{"start":{"line":54,"column":0},"end":{"line":54,"column":30}},"54":{"start":{"line":55,"column":0},"end":{"line":55,"column":42}},"55":{"start":{"line":56,"column":0},"end":{"line":56,"column":2}},"56":{"start":{"line":57,"column":0},"end":{"line":57,"column":0}},"57":{"start":{"line":58,"column":0},"end":{"line":58,"column":34}},"58":{"start":{"line":59,"column":0},"end":{"line":59,"column":18}},"59":{"start":{"line":60,"column":0},"end":{"line":60,"column":2}}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":0,"25":0,"26":0,"27":1,"28":1,"29":0,"30":0,"31":0,"32":1,"33":1,"34":0,"35":0,"36":0,"37":1,"38":1,"39":0,"40":0,"41":0,"42":1,"43":1,"44":0,"45":0,"46":0,"47":1,"48":1,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":1,"57":1,"58":0,"59":0},"branchMap":{},"b":{},"fnMap":{"0":{"name":"getMessage","decl":{"start":{"line":24,"column":19},"end":{"line":27,"column":2}},"loc":{"start":{"line":24,"column":19},"end":{"line":27,"column":2}},"line":24},"1":{"name":"error","decl":{"start":{"line":29,"column":21},"end":{"line":32,"column":2}},"loc":{"start":{"line":29,"column":21},"end":{"line":32,"column":2}},"line":29},"2":{"name":"warn","decl":{"start":{"line":34,"column":20},"end":{"line":37,"column":2}},"loc":{"start":{"line":34,"column":20},"end":{"line":37,"column":2}},"line":34},"3":{"name":"log","decl":{"start":{"line":39,"column":19},"end":{"line":42,"column":2}},"loc":{"start":{"line":39,"column":19},"end":{"line":42,"column":2}},"line":39},"4":{"name":"info","decl":{"start":{"line":44,"column":20},"end":{"line":47,"column":2}},"loc":{"start":{"line":44,"column":20},"end":{"line":47,"column":2}},"line":44},"5":{"name":"debug","decl":{"start":{"line":49,"column":21},"end":{"line":56,"column":2}},"loc":{"start":{"line":49,"column":21},"end":{"line":56,"column":2}},"line":49},"6":{"name":"empty","decl":{"start":{"line":58,"column":21},"end":{"line":60,"column":2}},"loc":{"start":{"line":58,"column":21},"end":{"line":60,"column":2}},"line":58}},"f":{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0}} -,"/home/runner/work/foundry/foundry/src/lib/options.ts": {"path":"/home/runner/work/foundry/foundry/src/lib/options.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":29}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":66}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":67}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":42}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":2}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":45}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":2}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":70}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":68}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":75}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":70}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":33}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":3}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":0}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":8}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":14}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":12}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":11}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":10}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":14}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":25}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":0}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":42}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":0}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":70}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":31}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":9}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":18}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":9}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":12}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":8}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":2}},"33":{"start":{"line":34,"column":0},"end":{"line":34,"column":78}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":0}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":49}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":40}},"37":{"start":{"line":38,"column":0},"end":{"line":38,"column":56}},"38":{"start":{"line":39,"column":0},"end":{"line":39,"column":0}},"39":{"start":{"line":40,"column":0},"end":{"line":40,"column":47}},"40":{"start":{"line":41,"column":0},"end":{"line":41,"column":0}},"41":{"start":{"line":42,"column":0},"end":{"line":42,"column":10}},"42":{"start":{"line":43,"column":0},"end":{"line":43,"column":52}},"43":{"start":{"line":44,"column":0},"end":{"line":44,"column":64}},"44":{"start":{"line":45,"column":0},"end":{"line":45,"column":58}},"45":{"start":{"line":46,"column":0},"end":{"line":46,"column":58}},"46":{"start":{"line":47,"column":0},"end":{"line":47,"column":37}},"47":{"start":{"line":48,"column":0},"end":{"line":48,"column":4}},"48":{"start":{"line":49,"column":0},"end":{"line":49,"column":1}},"49":{"start":{"line":50,"column":0},"end":{"line":50,"column":0}},"50":{"start":{"line":51,"column":0},"end":{"line":51,"column":62}},"51":{"start":{"line":52,"column":0},"end":{"line":52,"column":18}},"52":{"start":{"line":53,"column":0},"end":{"line":53,"column":33}},"53":{"start":{"line":54,"column":0},"end":{"line":54,"column":51}},"54":{"start":{"line":55,"column":0},"end":{"line":55,"column":67}},"55":{"start":{"line":56,"column":0},"end":{"line":56,"column":1}},"56":{"start":{"line":57,"column":0},"end":{"line":57,"column":0}},"57":{"start":{"line":58,"column":0},"end":{"line":58,"column":80}},"58":{"start":{"line":59,"column":0},"end":{"line":59,"column":66}},"59":{"start":{"line":60,"column":0},"end":{"line":60,"column":0}},"60":{"start":{"line":61,"column":0},"end":{"line":61,"column":62}},"61":{"start":{"line":62,"column":0},"end":{"line":62,"column":1}},"62":{"start":{"line":63,"column":0},"end":{"line":63,"column":0}},"63":{"start":{"line":64,"column":0},"end":{"line":64,"column":68}},"64":{"start":{"line":65,"column":0},"end":{"line":65,"column":49}},"65":{"start":{"line":66,"column":0},"end":{"line":66,"column":25}},"66":{"start":{"line":67,"column":0},"end":{"line":67,"column":26}},"67":{"start":{"line":68,"column":0},"end":{"line":68,"column":1}},"68":{"start":{"line":69,"column":0},"end":{"line":69,"column":0}},"69":{"start":{"line":70,"column":0},"end":{"line":70,"column":77}},"70":{"start":{"line":71,"column":0},"end":{"line":71,"column":61}},"71":{"start":{"line":72,"column":0},"end":{"line":72,"column":40}},"72":{"start":{"line":73,"column":0},"end":{"line":73,"column":4}},"73":{"start":{"line":74,"column":0},"end":{"line":74,"column":0}},"74":{"start":{"line":75,"column":0},"end":{"line":75,"column":64}},"75":{"start":{"line":76,"column":0},"end":{"line":76,"column":40}},"76":{"start":{"line":77,"column":0},"end":{"line":77,"column":4}},"77":{"start":{"line":78,"column":0},"end":{"line":78,"column":0}},"78":{"start":{"line":79,"column":0},"end":{"line":79,"column":41}},"79":{"start":{"line":80,"column":0},"end":{"line":80,"column":49}},"80":{"start":{"line":81,"column":0},"end":{"line":81,"column":0}},"81":{"start":{"line":82,"column":0},"end":{"line":82,"column":41}},"82":{"start":{"line":83,"column":0},"end":{"line":83,"column":0}},"83":{"start":{"line":84,"column":0},"end":{"line":84,"column":36}},"84":{"start":{"line":85,"column":0},"end":{"line":85,"column":40}},"85":{"start":{"line":86,"column":0},"end":{"line":86,"column":3}},"86":{"start":{"line":87,"column":0},"end":{"line":87,"column":0}},"87":{"start":{"line":88,"column":0},"end":{"line":88,"column":40}},"88":{"start":{"line":89,"column":0},"end":{"line":89,"column":43}},"89":{"start":{"line":90,"column":0},"end":{"line":90,"column":3}},"90":{"start":{"line":91,"column":0},"end":{"line":91,"column":0}},"91":{"start":{"line":92,"column":0},"end":{"line":92,"column":22}},"92":{"start":{"line":93,"column":0},"end":{"line":93,"column":1}},"93":{"start":{"line":94,"column":0},"end":{"line":94,"column":0}},"94":{"start":{"line":95,"column":0},"end":{"line":95,"column":73}},"95":{"start":{"line":96,"column":0},"end":{"line":96,"column":37}},"96":{"start":{"line":97,"column":0},"end":{"line":97,"column":0}},"97":{"start":{"line":98,"column":0},"end":{"line":98,"column":43}},"98":{"start":{"line":99,"column":0},"end":{"line":99,"column":39}},"99":{"start":{"line":100,"column":0},"end":{"line":100,"column":3}},"100":{"start":{"line":101,"column":0},"end":{"line":101,"column":0}},"101":{"start":{"line":102,"column":0},"end":{"line":102,"column":6}},"102":{"start":{"line":103,"column":0},"end":{"line":103,"column":42}},"103":{"start":{"line":104,"column":0},"end":{"line":104,"column":39}},"104":{"start":{"line":105,"column":0},"end":{"line":105,"column":5}},"105":{"start":{"line":106,"column":0},"end":{"line":106,"column":37}},"106":{"start":{"line":107,"column":0},"end":{"line":107,"column":3}},"107":{"start":{"line":108,"column":0},"end":{"line":108,"column":0}},"108":{"start":{"line":109,"column":0},"end":{"line":109,"column":53}},"109":{"start":{"line":110,"column":0},"end":{"line":110,"column":39}},"110":{"start":{"line":111,"column":0},"end":{"line":111,"column":3}},"111":{"start":{"line":112,"column":0},"end":{"line":112,"column":0}},"112":{"start":{"line":113,"column":0},"end":{"line":113,"column":43}},"113":{"start":{"line":114,"column":0},"end":{"line":114,"column":36}},"114":{"start":{"line":115,"column":0},"end":{"line":115,"column":3}},"115":{"start":{"line":116,"column":0},"end":{"line":116,"column":0}},"116":{"start":{"line":117,"column":0},"end":{"line":117,"column":61}},"117":{"start":{"line":118,"column":0},"end":{"line":118,"column":47}},"118":{"start":{"line":119,"column":0},"end":{"line":119,"column":3}},"119":{"start":{"line":120,"column":0},"end":{"line":120,"column":0}},"120":{"start":{"line":121,"column":0},"end":{"line":121,"column":46}},"121":{"start":{"line":122,"column":0},"end":{"line":122,"column":39}},"122":{"start":{"line":123,"column":0},"end":{"line":123,"column":3}},"123":{"start":{"line":124,"column":0},"end":{"line":124,"column":0}},"124":{"start":{"line":125,"column":0},"end":{"line":125,"column":49}},"125":{"start":{"line":126,"column":0},"end":{"line":126,"column":42}},"126":{"start":{"line":127,"column":0},"end":{"line":127,"column":3}},"127":{"start":{"line":128,"column":0},"end":{"line":128,"column":0}},"128":{"start":{"line":129,"column":0},"end":{"line":129,"column":48}},"129":{"start":{"line":130,"column":0},"end":{"line":130,"column":41}},"130":{"start":{"line":131,"column":0},"end":{"line":131,"column":3}},"131":{"start":{"line":132,"column":0},"end":{"line":132,"column":0}},"132":{"start":{"line":133,"column":0},"end":{"line":133,"column":20}},"133":{"start":{"line":134,"column":0},"end":{"line":134,"column":1}},"134":{"start":{"line":135,"column":0},"end":{"line":135,"column":0}},"135":{"start":{"line":136,"column":0},"end":{"line":136,"column":60}},"136":{"start":{"line":137,"column":0},"end":{"line":137,"column":46}},"137":{"start":{"line":138,"column":0},"end":{"line":138,"column":1}}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":1,"50":1,"51":2,"52":2,"53":2,"54":2,"55":2,"56":1,"57":1,"58":176,"59":176,"60":176,"61":176,"62":1,"63":1,"64":2,"65":1,"66":1,"67":2,"68":1,"69":1,"70":12,"71":46,"72":12,"73":12,"74":12,"75":46,"76":12,"77":12,"78":12,"79":12,"80":12,"81":12,"82":12,"83":12,"84":7,"85":7,"86":12,"87":12,"88":7,"89":7,"90":12,"91":12,"92":12,"93":1,"94":1,"95":9,"96":9,"97":9,"98":2,"99":2,"100":9,"101":9,"102":9,"103":7,"104":9,"105":1,"106":1,"107":9,"108":9,"109":1,"110":1,"111":9,"112":9,"113":1,"114":1,"115":9,"116":9,"117":1,"118":1,"119":9,"120":9,"121":1,"122":1,"123":9,"124":9,"125":1,"126":1,"127":9,"128":9,"129":1,"130":1,"131":9,"132":9,"133":9,"134":1,"135":1,"136":3,"137":3},"branchMap":{"0":{"type":"branch","line":51,"loc":{"start":{"line":51,"column":7},"end":{"line":56,"column":1}},"locations":[{"start":{"line":51,"column":7},"end":{"line":56,"column":1}}]},"1":{"type":"branch","line":52,"loc":{"start":{"line":52,"column":9},"end":{"line":55,"column":67}},"locations":[{"start":{"line":52,"column":9},"end":{"line":55,"column":67}}]},"2":{"type":"branch","line":55,"loc":{"start":{"line":55,"column":21},"end":{"line":55,"column":44}},"locations":[{"start":{"line":55,"column":21},"end":{"line":55,"column":44}}]},"3":{"type":"branch","line":55,"loc":{"start":{"line":55,"column":33},"end":{"line":55,"column":67}},"locations":[{"start":{"line":55,"column":33},"end":{"line":55,"column":67}}]},"4":{"type":"branch","line":58,"loc":{"start":{"line":58,"column":7},"end":{"line":62,"column":1}},"locations":[{"start":{"line":58,"column":7},"end":{"line":62,"column":1}}]},"5":{"type":"branch","line":61,"loc":{"start":{"line":61,"column":34},"end":{"line":61,"column":60}},"locations":[{"start":{"line":61,"column":34},"end":{"line":61,"column":60}}]},"6":{"type":"branch","line":64,"loc":{"start":{"line":64,"column":7},"end":{"line":68,"column":1}},"locations":[{"start":{"line":64,"column":7},"end":{"line":68,"column":1}}]},"7":{"type":"branch","line":65,"loc":{"start":{"line":65,"column":48},"end":{"line":66,"column":25}},"locations":[{"start":{"line":65,"column":48},"end":{"line":66,"column":25}}]},"8":{"type":"branch","line":66,"loc":{"start":{"line":66,"column":15},"end":{"line":67,"column":26}},"locations":[{"start":{"line":66,"column":15},"end":{"line":67,"column":26}}]},"9":{"type":"branch","line":70,"loc":{"start":{"line":70,"column":7},"end":{"line":93,"column":1}},"locations":[{"start":{"line":70,"column":7},"end":{"line":93,"column":1}}]},"10":{"type":"branch","line":84,"loc":{"start":{"line":84,"column":6},"end":{"line":84,"column":35}},"locations":[{"start":{"line":84,"column":6},"end":{"line":84,"column":35}}]},"11":{"type":"branch","line":84,"loc":{"start":{"line":84,"column":35},"end":{"line":86,"column":3}},"locations":[{"start":{"line":84,"column":35},"end":{"line":86,"column":3}}]},"12":{"type":"branch","line":88,"loc":{"start":{"line":88,"column":6},"end":{"line":88,"column":39}},"locations":[{"start":{"line":88,"column":6},"end":{"line":88,"column":39}}]},"13":{"type":"branch","line":88,"loc":{"start":{"line":88,"column":39},"end":{"line":90,"column":3}},"locations":[{"start":{"line":88,"column":39},"end":{"line":90,"column":3}}]},"14":{"type":"branch","line":71,"loc":{"start":{"line":71,"column":49},"end":{"line":72,"column":40}},"locations":[{"start":{"line":71,"column":49},"end":{"line":72,"column":40}}]},"15":{"type":"branch","line":75,"loc":{"start":{"line":75,"column":52},"end":{"line":76,"column":40}},"locations":[{"start":{"line":75,"column":52},"end":{"line":76,"column":40}}]},"16":{"type":"branch","line":95,"loc":{"start":{"line":95,"column":7},"end":{"line":134,"column":1}},"locations":[{"start":{"line":95,"column":7},"end":{"line":134,"column":1}}]},"17":{"type":"branch","line":98,"loc":{"start":{"line":98,"column":42},"end":{"line":100,"column":3}},"locations":[{"start":{"line":98,"column":42},"end":{"line":100,"column":3}}]},"18":{"type":"branch","line":103,"loc":{"start":{"line":103,"column":38},"end":{"line":104,"column":39}},"locations":[{"start":{"line":103,"column":38},"end":{"line":104,"column":39}}]},"19":{"type":"branch","line":105,"loc":{"start":{"line":105,"column":4},"end":{"line":107,"column":3}},"locations":[{"start":{"line":105,"column":4},"end":{"line":107,"column":3}}]},"20":{"type":"branch","line":109,"loc":{"start":{"line":109,"column":52},"end":{"line":111,"column":3}},"locations":[{"start":{"line":109,"column":52},"end":{"line":111,"column":3}}]},"21":{"type":"branch","line":113,"loc":{"start":{"line":113,"column":42},"end":{"line":115,"column":3}},"locations":[{"start":{"line":113,"column":42},"end":{"line":115,"column":3}}]},"22":{"type":"branch","line":117,"loc":{"start":{"line":117,"column":60},"end":{"line":119,"column":3}},"locations":[{"start":{"line":117,"column":60},"end":{"line":119,"column":3}}]},"23":{"type":"branch","line":121,"loc":{"start":{"line":121,"column":45},"end":{"line":123,"column":3}},"locations":[{"start":{"line":121,"column":45},"end":{"line":123,"column":3}}]},"24":{"type":"branch","line":125,"loc":{"start":{"line":125,"column":48},"end":{"line":127,"column":3}},"locations":[{"start":{"line":125,"column":48},"end":{"line":127,"column":3}}]},"25":{"type":"branch","line":129,"loc":{"start":{"line":129,"column":47},"end":{"line":131,"column":3}},"locations":[{"start":{"line":129,"column":47},"end":{"line":131,"column":3}}]},"26":{"type":"branch","line":136,"loc":{"start":{"line":136,"column":7},"end":{"line":138,"column":1}},"locations":[{"start":{"line":136,"column":7},"end":{"line":138,"column":1}}]}},"b":{"0":[2],"1":[2],"2":[1],"3":[1],"4":[176],"5":[164],"6":[2],"7":[1],"8":[1],"9":[12],"10":[6],"11":[7],"12":[6],"13":[7],"14":[46],"15":[46],"16":[9],"17":[2],"18":[7],"19":[1],"20":[1],"21":[1],"22":[1],"23":[1],"24":[1],"25":[1],"26":[3]},"fnMap":{"0":{"name":"getOptions","decl":{"start":{"line":36,"column":7},"end":{"line":49,"column":1}},"loc":{"start":{"line":36,"column":7},"end":{"line":49,"column":1}},"line":36},"1":{"name":"pickConfigOrDetect","decl":{"start":{"line":51,"column":7},"end":{"line":56,"column":1}},"loc":{"start":{"line":51,"column":7},"end":{"line":56,"column":1}},"line":51},"2":{"name":"hasDependency","decl":{"start":{"line":58,"column":7},"end":{"line":62,"column":1}},"loc":{"start":{"line":58,"column":7},"end":{"line":62,"column":1}},"line":58},"3":{"name":"detectLanguage","decl":{"start":{"line":64,"column":7},"end":{"line":68,"column":1}},"loc":{"start":{"line":64,"column":7},"end":{"line":68,"column":1}},"line":64},"4":{"name":"detectEnvironments","decl":{"start":{"line":70,"column":7},"end":{"line":93,"column":1}},"loc":{"start":{"line":70,"column":7},"end":{"line":93,"column":1}},"line":70},"5":{"name":"detectFrameworks","decl":{"start":{"line":95,"column":7},"end":{"line":134,"column":1}},"loc":{"start":{"line":95,"column":7},"end":{"line":134,"column":1}},"line":95},"6":{"name":"detectOpenSource","decl":{"start":{"line":136,"column":7},"end":{"line":138,"column":1}},"loc":{"start":{"line":136,"column":7},"end":{"line":138,"column":1}},"line":136}},"f":{"0":0,"1":2,"2":176,"3":2,"4":12,"5":9,"6":3}} -,"/home/runner/work/foundry/foundry/src/lib/spawn.ts": {"path":"/home/runner/work/foundry/foundry/src/lib/spawn.ts","all":true,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":29}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":66}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":67}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":42}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":2}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":45}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":2}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":70}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":68}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":75}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":70}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":33}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":3}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":0}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":37}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":0}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":53}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":55}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":0}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":24}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":15}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":21}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":22}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":1}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":0}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":39}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":21}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":17}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":19}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":2}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":0}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":57}},"33":{"start":{"line":34,"column":0},"end":{"line":34,"column":48}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":1}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":0}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":22}},"37":{"start":{"line":38,"column":0},"end":{"line":38,"column":14}},"38":{"start":{"line":39,"column":0},"end":{"line":39,"column":17}},"39":{"start":{"line":40,"column":0},"end":{"line":40,"column":24}},"40":{"start":{"line":41,"column":0},"end":{"line":41,"column":20}},"41":{"start":{"line":42,"column":0},"end":{"line":42,"column":34}},"42":{"start":{"line":43,"column":0},"end":{"line":43,"column":0}},"43":{"start":{"line":44,"column":0},"end":{"line":44,"column":43}},"44":{"start":{"line":45,"column":0},"end":{"line":45,"column":64}},"45":{"start":{"line":46,"column":0},"end":{"line":46,"column":25}},"46":{"start":{"line":47,"column":0},"end":{"line":47,"column":17}},"47":{"start":{"line":48,"column":0},"end":{"line":48,"column":7}},"48":{"start":{"line":49,"column":0},"end":{"line":49,"column":0}},"49":{"start":{"line":50,"column":0},"end":{"line":50,"column":23}},"50":{"start":{"line":51,"column":0},"end":{"line":51,"column":54}},"51":{"start":{"line":52,"column":0},"end":{"line":52,"column":27}},"52":{"start":{"line":53,"column":0},"end":{"line":53,"column":9}},"53":{"start":{"line":54,"column":0},"end":{"line":54,"column":5}},"54":{"start":{"line":55,"column":0},"end":{"line":55,"column":0}},"55":{"start":{"line":56,"column":0},"end":{"line":56,"column":33}},"56":{"start":{"line":57,"column":0},"end":{"line":57,"column":23}},"57":{"start":{"line":58,"column":0},"end":{"line":58,"column":30}},"58":{"start":{"line":59,"column":0},"end":{"line":59,"column":47}},"59":{"start":{"line":60,"column":0},"end":{"line":60,"column":46}},"60":{"start":{"line":61,"column":0},"end":{"line":61,"column":15}},"61":{"start":{"line":62,"column":0},"end":{"line":62,"column":10}},"62":{"start":{"line":63,"column":0},"end":{"line":63,"column":20}},"63":{"start":{"line":64,"column":0},"end":{"line":64,"column":15}},"64":{"start":{"line":65,"column":0},"end":{"line":65,"column":7}},"65":{"start":{"line":66,"column":0},"end":{"line":66,"column":0}},"66":{"start":{"line":67,"column":0},"end":{"line":67,"column":40}},"67":{"start":{"line":68,"column":0},"end":{"line":68,"column":7}},"68":{"start":{"line":69,"column":0},"end":{"line":69,"column":0}},"69":{"start":{"line":70,"column":0},"end":{"line":70,"column":32}},"70":{"start":{"line":71,"column":0},"end":{"line":71,"column":18}},"71":{"start":{"line":72,"column":0},"end":{"line":72,"column":7}},"72":{"start":{"line":73,"column":0},"end":{"line":73,"column":5}},"73":{"start":{"line":74,"column":0},"end":{"line":74,"column":1}}},"s":{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0},"branchMap":{"0":{"type":"branch","line":1,"loc":{"start":{"line":1,"column":0},"end":{"line":74,"column":1}},"locations":[{"start":{"line":1,"column":0},"end":{"line":74,"column":1}}]}},"b":{"0":[0]},"fnMap":{"0":{"name":"(empty-report)","decl":{"start":{"line":1,"column":0},"end":{"line":74,"column":1}},"loc":{"start":{"line":1,"column":0},"end":{"line":74,"column":1}},"line":1}},"f":{"0":0}} -,"/home/runner/work/foundry/foundry/src/presets/index.ts": {"path":"/home/runner/work/foundry/foundry/src/presets/index.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":29}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":66}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":67}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":42}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":2}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":45}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":2}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":70}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":68}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":75}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":70}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":33}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":3}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":0}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":26}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":0}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":55}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":0}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":21}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":15}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":16}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":16}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":16}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":21}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":2}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":0}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":28}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":19}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":11}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":63}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":4}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":21}},"33":{"start":{"line":34,"column":0},"end":{"line":34,"column":16}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":68}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":32}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":2}},"37":{"start":{"line":38,"column":0},"end":{"line":38,"column":0}},"38":{"start":{"line":39,"column":0},"end":{"line":39,"column":64}},"39":{"start":{"line":40,"column":0},"end":{"line":40,"column":57}},"40":{"start":{"line":41,"column":0},"end":{"line":41,"column":1}},"41":{"start":{"line":42,"column":0},"end":{"line":42,"column":0}},"42":{"start":{"line":43,"column":0},"end":{"line":43,"column":32}}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1},"branchMap":{"0":{"type":"branch","line":39,"loc":{"start":{"line":39,"column":0},"end":{"line":41,"column":1}},"locations":[{"start":{"line":39,"column":0},"end":{"line":41,"column":1}}]}},"b":{"0":[1]},"fnMap":{"0":{"name":"formatName","decl":{"start":{"line":39,"column":0},"end":{"line":41,"column":1}},"loc":{"start":{"line":39,"column":0},"end":{"line":41,"column":1}},"line":39}},"f":{"0":1}} -,"/home/runner/work/foundry/foundry/src/types/shared.ts": {"path":"/home/runner/work/foundry/foundry/src/types/shared.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":3}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":29}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":66}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":67}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":42}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":2}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":45}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":2}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":70}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":68}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":75}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":70}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":33}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":3}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":0}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":57}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":0}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":20}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":16}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":1}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":0}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":18}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":20}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":24}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":18}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":30}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":1}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":0}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":20}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":30}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":1}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":0}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":22}},"33":{"start":{"line":34,"column":0},"end":{"line":34,"column":28}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":28}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":1}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":0}},"37":{"start":{"line":38,"column":0},"end":{"line":38,"column":25}},"38":{"start":{"line":39,"column":0},"end":{"line":39,"column":16}},"39":{"start":{"line":40,"column":0},"end":{"line":40,"column":22}},"40":{"start":{"line":41,"column":0},"end":{"line":41,"column":1}},"41":{"start":{"line":42,"column":0},"end":{"line":42,"column":0}},"42":{"start":{"line":43,"column":0},"end":{"line":43,"column":23}},"43":{"start":{"line":44,"column":0},"end":{"line":44,"column":18}},"44":{"start":{"line":45,"column":0},"end":{"line":45,"column":22}},"45":{"start":{"line":46,"column":0},"end":{"line":46,"column":22}},"46":{"start":{"line":47,"column":0},"end":{"line":47,"column":16}},"47":{"start":{"line":48,"column":0},"end":{"line":48,"column":38}},"48":{"start":{"line":49,"column":0},"end":{"line":49,"column":22}},"49":{"start":{"line":50,"column":0},"end":{"line":50,"column":28}},"50":{"start":{"line":51,"column":0},"end":{"line":51,"column":26}},"51":{"start":{"line":52,"column":0},"end":{"line":52,"column":1}},"52":{"start":{"line":53,"column":0},"end":{"line":53,"column":0}},"53":{"start":{"line":54,"column":0},"end":{"line":54,"column":26}},"54":{"start":{"line":55,"column":0},"end":{"line":55,"column":22}},"55":{"start":{"line":56,"column":0},"end":{"line":56,"column":31}},"56":{"start":{"line":57,"column":0},"end":{"line":57,"column":27}},"57":{"start":{"line":58,"column":0},"end":{"line":58,"column":23}},"58":{"start":{"line":59,"column":0},"end":{"line":59,"column":20}},"59":{"start":{"line":60,"column":0},"end":{"line":60,"column":1}},"60":{"start":{"line":61,"column":0},"end":{"line":61,"column":0}},"61":{"start":{"line":62,"column":0},"end":{"line":62,"column":46}},"62":{"start":{"line":63,"column":0},"end":{"line":63,"column":20}},"63":{"start":{"line":64,"column":0},"end":{"line":64,"column":22}},"64":{"start":{"line":65,"column":0},"end":{"line":65,"column":1}},"65":{"start":{"line":66,"column":0},"end":{"line":66,"column":0}},"66":{"start":{"line":67,"column":0},"end":{"line":67,"column":20}},"67":{"start":{"line":68,"column":0},"end":{"line":68,"column":15}},"68":{"start":{"line":69,"column":0},"end":{"line":69,"column":18}},"69":{"start":{"line":70,"column":0},"end":{"line":70,"column":22}},"70":{"start":{"line":71,"column":0},"end":{"line":71,"column":2}},"71":{"start":{"line":72,"column":0},"end":{"line":72,"column":0}},"72":{"start":{"line":73,"column":0},"end":{"line":73,"column":22}},"73":{"start":{"line":74,"column":0},"end":{"line":74,"column":15}},"74":{"start":{"line":75,"column":0},"end":{"line":75,"column":18}},"75":{"start":{"line":76,"column":0},"end":{"line":76,"column":22}},"76":{"start":{"line":77,"column":0},"end":{"line":77,"column":2}},"77":{"start":{"line":78,"column":0},"end":{"line":78,"column":0}},"78":{"start":{"line":79,"column":0},"end":{"line":79,"column":30}},"79":{"start":{"line":80,"column":0},"end":{"line":80,"column":43}},"80":{"start":{"line":81,"column":0},"end":{"line":81,"column":47}},"81":{"start":{"line":82,"column":0},"end":{"line":82,"column":1}},"82":{"start":{"line":83,"column":0},"end":{"line":83,"column":0}},"83":{"start":{"line":84,"column":0},"end":{"line":84,"column":48}}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"58":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"76":1,"77":1,"78":1,"79":1,"80":1,"81":1,"82":1,"83":1},"branchMap":{"0":{"type":"branch","line":18,"loc":{"start":{"line":18,"column":7},"end":{"line":18,"column":20}},"locations":[{"start":{"line":18,"column":7},"end":{"line":18,"column":20}}]},"1":{"type":"branch","line":22,"loc":{"start":{"line":22,"column":7},"end":{"line":22,"column":18}},"locations":[{"start":{"line":22,"column":7},"end":{"line":22,"column":18}}]},"2":{"type":"branch","line":29,"loc":{"start":{"line":29,"column":7},"end":{"line":29,"column":20}},"locations":[{"start":{"line":29,"column":7},"end":{"line":29,"column":20}}]},"3":{"type":"branch","line":33,"loc":{"start":{"line":33,"column":7},"end":{"line":33,"column":22}},"locations":[{"start":{"line":33,"column":7},"end":{"line":33,"column":22}}]},"4":{"type":"branch","line":38,"loc":{"start":{"line":38,"column":7},"end":{"line":38,"column":25}},"locations":[{"start":{"line":38,"column":7},"end":{"line":38,"column":25}}]},"5":{"type":"branch","line":43,"loc":{"start":{"line":43,"column":7},"end":{"line":43,"column":23}},"locations":[{"start":{"line":43,"column":7},"end":{"line":43,"column":23}}]}},"b":{"0":[4],"1":[4],"2":[4],"3":[4],"4":[4],"5":[4]},"fnMap":{},"f":{}} -} diff --git a/coverage/favicon.png b/coverage/favicon.png deleted file mode 100644 index c1525b811a167671e9de1fa78aab9f5c0b61cef7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 445 zcmV;u0Yd(XP))rP{nL}Ln%S7`m{0DjX9TLF* zFCb$4Oi7vyLOydb!7n&^ItCzb-%BoB`=x@N2jll2Nj`kauio%aw_@fe&*}LqlFT43 z8doAAe))z_%=P%v^@JHp3Hjhj^6*Kr_h|g_Gr?ZAa&y>wxHE99Gk>A)2MplWz2xdG zy8VD2J|Uf#EAw*bo5O*PO_}X2Tob{%bUoO2G~T`@%S6qPyc}VkhV}UifBuRk>%5v( z)x7B{I~z*k<7dv#5tC+m{km(D087J4O%+<<;K|qwefb6@GSX45wCK}Sn*> - - - - Code coverage report for foundry - - - - - - - - - -
-
-

All files foundry

-
- -
- 0% - Statements - 0/38 -
- - -
- 0% - Branches - 0/2 -
- - -
- 0% - Functions - 0/2 -
- - -
- 0% - Lines - 0/38 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
lint-staged.config.js -
-
0%0/220%0/10%0/10%0/22
prettier.config.js -
-
0%0/160%0/10%0/10%0/16
-
-
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/foundry/lint-staged.config.js.html b/coverage/foundry/lint-staged.config.js.html deleted file mode 100644 index dee82063..00000000 --- a/coverage/foundry/lint-staged.config.js.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - Code coverage report for foundry/lint-staged.config.js - - - - - - - - - -
-
-

All files / foundry lint-staged.config.js

-
- -
- 0% - Statements - 0/22 -
- - -
- 0% - Branches - 0/1 -
- - -
- 0% - Functions - 0/1 -
- - -
- 0% - Lines - 0/22 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
/**
- * Copyright 2019, SumUp Ltd.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-// NOTE: Unfortunately, we can't use the config exported by Foundry itself,
-//       since it tries to run a command through Foundry. Packages cannot
-//       run their own binaries.
-module.exports = {
-  '*.(js|jsx|ts|tsx)': ['eslint --fix'],
-  '*.(ts|tsx)': () => 'tsc -p tsconfig.json --noEmit',
-};
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/foundry/prettier.config.js.html b/coverage/foundry/prettier.config.js.html deleted file mode 100644 index 1dc8d435..00000000 --- a/coverage/foundry/prettier.config.js.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - Code coverage report for foundry/prettier.config.js - - - - - - - - - -
-
-

All files / foundry prettier.config.js

-
- -
- 0% - Statements - 0/16 -
- - -
- 0% - Branches - 0/1 -
- - -
- 0% - Functions - 0/1 -
- - -
- 0% - Lines - 0/16 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
/**
- * Copyright 2019, SumUp Ltd.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-module.exports = require('./dist/prettier')();
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/foundry/src/cli/defaults.ts.html b/coverage/foundry/src/cli/defaults.ts.html deleted file mode 100644 index d5a204e0..00000000 --- a/coverage/foundry/src/cli/defaults.ts.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - Code coverage report for foundry/src/cli/defaults.ts - - - - - - - - - -
-
-

All files / foundry/src/cli defaults.ts

-
- -
- 100% - Statements - 23/23 -
- - -
- 100% - Branches - 0/0 -
- - -
- 100% - Functions - 0/0 -
- - -
- 100% - Lines - 23/23 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -241x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x - 
/**
- * Copyright 2021, SumUp Ltd.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
- 
-import { InitOptions } from '../types/shared';
- 
-export const DEFAULT_OPTIONS: InitOptions = {
-  configDir: '.',
-  openSource: false,
-  publish: false,
-  overwrite: false,
-};
- 
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/foundry/src/cli/index.html b/coverage/foundry/src/cli/index.html deleted file mode 100644 index 2fd8b9a4..00000000 --- a/coverage/foundry/src/cli/index.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - Code coverage report for foundry/src/cli - - - - - - - - - -
-
-

All files foundry/src/cli

-
- -
- 17.41% - Statements - 93/534 -
- - -
- 66.66% - Branches - 4/6 -
- - -
- 12.5% - Functions - 1/8 -
- - -
- 17.41% - Lines - 93/534 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
defaults.ts -
-
100%23/23100%0/0100%0/0100%23/23
index.ts -
-
0%0/730%0/10%0/10%0/73
init.ts -
-
23.72%70/295100%4/416.66%1/623.72%70/295
run.ts -
-
0%0/1430%0/10%0/10%0/143
-
-
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/foundry/src/cli/index.ts.html b/coverage/foundry/src/cli/index.ts.html deleted file mode 100644 index a088106b..00000000 --- a/coverage/foundry/src/cli/index.ts.html +++ /dev/null @@ -1,304 +0,0 @@ - - - - - - Code coverage report for foundry/src/cli/index.ts - - - - - - - - - -
-
-

All files / foundry/src/cli index.ts

-
- -
- 0% - Statements - 0/73 -
- - -
- 0% - Branches - 0/1 -
- - -
- 0% - Functions - 0/1 -
- - -
- 0% - Lines - 0/73 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63 -64 -65 -66 -67 -68 -69 -70 -71 -72 -73 -74  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
#!/usr/bin/env node
-
-/**
- * Copyright 2019, SumUp Ltd.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import yargs from 'yargs';
-
-import { run, RunParams } from './run';
-import { init, InitParams } from './init';
-import { DEFAULT_OPTIONS } from './defaults';
-
-// eslint-disable-next-line no-void
-void yargs
-  .command(
-    'init',
-    "Initialize Foundry's tools in your project",
-    {
-      openSource: {
-        alias: 'o',
-        desc: 'Whether the project is open-source',
-        type: 'boolean',
-      },
-      publish: {
-        desc: 'Whether to publish to NPM',
-        type: 'boolean',
-      },
-      configDir: {
-        alias: 'c',
-        desc: 'The directory to write configs to',
-        type: 'string',
-        default: DEFAULT_OPTIONS.configDir,
-      },
-      overwrite: {
-        desc: 'Whether to overwrite existing config files',
-        type: 'boolean',
-        default: DEFAULT_OPTIONS.overwrite,
-      },
-    },
-    execute('init'),
-  )
-  .command(
-    'run <tool> [...tool options]',
-    'Run any of the bundled tools.',
-    execute('run'),
-  )
-  .showHelpOnFail(true)
-  .demandCommand(1, '')
-  .help()
-  .version().argv;
-
-type CommandType = 'init' | 'run';
-
-function execute(command: CommandType) {
-  const commands = { run, init };
-  const commandFn = commands[command];
-
-  return (args: unknown): void => {
-    // eslint-disable-next-line no-console
-    commandFn(args as RunParams & InitParams).catch(console.error);
-  };
-}
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/foundry/src/cli/init.ts.html b/coverage/foundry/src/cli/init.ts.html deleted file mode 100644 index 52120d1b..00000000 --- a/coverage/foundry/src/cli/init.ts.html +++ /dev/null @@ -1,970 +0,0 @@ - - - - - - Code coverage report for foundry/src/cli/init.ts - - - - - - - - - -
-
-

All files / foundry/src/cli init.ts

-
- -
- 23.72% - Statements - 70/295 -
- - -
- 100% - Branches - 4/4 -
- - -
- 16.66% - Functions - 1/6 -
- - -
- 23.72% - Lines - 70/295 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63 -64 -65 -66 -67 -68 -69 -70 -71 -72 -73 -74 -75 -76 -77 -78 -79 -80 -81 -82 -83 -84 -85 -86 -87 -88 -89 -90 -91 -92 -93 -94 -95 -96 -97 -98 -99 -100 -101 -102 -103 -104 -105 -106 -107 -108 -109 -110 -111 -112 -113 -114 -115 -116 -117 -118 -119 -120 -121 -122 -123 -124 -125 -126 -127 -128 -129 -130 -131 -132 -133 -134 -135 -136 -137 -138 -139 -140 -141 -142 -143 -144 -145 -146 -147 -148 -149 -150 -151 -152 -153 -154 -155 -156 -157 -158 -159 -160 -161 -162 -163 -164 -165 -166 -167 -168 -169 -170 -171 -172 -173 -174 -175 -176 -177 -178 -179 -180 -181 -182 -183 -184 -185 -186 -187 -188 -189 -190 -191 -192 -193 -194 -195 -196 -197 -198 -199 -200 -201 -202 -203 -204 -205 -206 -207 -208 -209 -210 -211 -212 -213 -214 -215 -216 -217 -218 -219 -220 -221 -222 -223 -224 -225 -226 -227 -228 -229 -230 -231 -232 -233 -234 -235 -236 -237 -238 -239 -240 -241 -242 -243 -244 -245 -246 -247 -248 -249 -250 -251 -252 -253 -254 -255 -256 -257 -258 -259 -260 -261 -262 -263 -264 -265 -266 -267 -268 -269 -270 -271 -272 -273 -274 -275 -276 -277 -278 -279 -280 -281 -282 -283 -284 -285 -286 -287 -288 -289 -290 -291 -292 -293 -294 -295 -2961x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -1x -  -  -  -  -  -  -  -  -  -  -  -1x -  -  -  -  -  -  -  -  -1x -  -  -  -  -  -  -  -  -  -  -  -  -1x -  -  -  -  -  -  -  -  -  -  -  -  -1x -1x -3x -1x -1x -2x -2x -2x -3x -1x -1x -1x -1x -1x - 
/**
- * Copyright 2019, SumUp Ltd.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
- 
-import { existsSync } from 'fs';
-import { resolve } from 'path';
- 
-import inquirer, { Question } from 'inquirer';
-import Listr, { ListrTaskWrapper } from 'listr';
-import listrInquirer from 'listr-inquirer';
-import { flow, map, flatten, uniq } from 'lodash/fp';
-import chalk from 'chalk';
-import isCI from 'is-ci';
-import readPkgUp from 'read-pkg-up';
- 
-import {
-  InitOptions,
-  Preset,
-  Prompt,
-  Tool,
-  ToolOptions,
-  File,
-  Script,
-  PackageJson,
-} from '../types/shared';
-import * as logger from '../lib/logger';
-import { writeFile, addPackageScript, savePackageJson } from '../lib/files';
-import { presets } from '../presets';
-import { tools } from '../configs';
- 
-import { DEFAULT_OPTIONS } from './defaults';
- 
-export interface InitParams {
-  configDir: string;
-  openSource?: boolean;
-  publish?: boolean;
-  overwrite?: boolean;
-  $0?: string;
-  _?: string[];
-}
- 
-export async function init({ $0, _, ...args }: InitParams): Promise<void> {
-  let options: InitOptions;
-
-  const selectedPresets = [Preset.LINT];
-
-  if (!isCI) {
-    const prompts = {
-      [Prompt.OPEN_SOURCE]: {
-        type: 'confirm',
-        name: 'openSource',
-        message: 'Do you intend to open-source this project?',
-        default: DEFAULT_OPTIONS.openSource,
-        when: (): boolean => typeof args.openSource === 'undefined',
-      },
-    };
-
-    const additionalPrompts = getPromptsForPresets(selectedPresets, prompts);
-    const additionalAnswers = await inquirer.prompt(additionalPrompts);
-
-    options = { ...args, ...additionalAnswers };
-  } else {
-    logger.empty();
-    logger.info('Detected CI environment, falling back to default options.');
-
-    options = { ...DEFAULT_OPTIONS, ...args };
-  }
-
-  const selectedTools = getToolsForPresets(selectedPresets);
-  const files = getFilesForTools(options, selectedTools);
-  const scripts = getScriptsForTools(options, selectedTools);
-
-  logger.empty();
-
-  const tasks = new Listr([
-    {
-      title: 'Writing config files',
-      task: (): Listr<never> =>
-        new Listr(
-          files.map((file) => ({
-            title: `Write "${file.name}"`,
-            task: (ctx: never, task): Promise<unknown> =>
-              writeFile(
-                options.configDir,
-                file.name,
-                file.content,
-                options.overwrite,
-              ).catch(() => {
-                logger.debug(`File "${file.name}" already exists`);
-                if (isCI) {
-                  logger.debug('In a CI environment, skipping...');
-                  task.skip('Skipped');
-                  return undefined;
-                }
-                // eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-return
-                return listrInquirer(
-                  [
-                    {
-                      type: 'confirm',
-                      name: 'overwrite',
-                      // eslint-disable-next-line max-len
-                      message: `"${file.name}" already exists. Would you like to replace it?`,
-                      default: false,
-                    },
-                  ],
-                  ({ overwrite }: { overwrite: boolean }) => {
-                    logger.debug(`Overwrite file: ${overwrite.toString()}`);
-                    if (!overwrite) {
-                      task.skip('Skipped');
-                      return undefined;
-                    }
-                    return writeFile(
-                      options.configDir,
-                      file.name,
-                      file.content,
-                      true,
-                    );
-                  },
-                );
-              }),
-          })),
-        ),
-    },
-    {
-      title: 'Updating package.json',
-      // eslint-disable-next-line @typescript-eslint/require-await
-      task: async (): Promise<Listr> => {
-        type Context = {
-          packagePath: string;
-          packageJson: PackageJson;
-        };
-        return new Listr<Context>([
-          {
-            title: 'Read package.json',
-            task: async (ctx): Promise<void> => {
-              const pkg = await readPkgUp();
-
-              if (!pkg) {
-                throw new Error('Unable to find a "package.json" file.');
-              }
-
-              ctx.packagePath = pkg.path;
-              ctx.packageJson = pkg.packageJson;
-            },
-          },
-          {
-            title: 'Add license field',
-            enabled: () => options.openSource === true,
-            task: (ctx): void => {
-              ctx.packageJson.license = 'Apache-2.0';
-            },
-          },
-          ...scripts.map(({ name, command }) => ({
-            title: `Add "${name}" script`,
-            task: (
-              ctx: Context,
-              task: ListrTaskWrapper<Context>,
-            ): undefined | Promise<void> => {
-              try {
-                addPackageScript(
-                  ctx.packageJson,
-                  name,
-                  command,
-                  options.overwrite,
-                );
-                return undefined;
-              } catch (error) {
-                logger.debug(`Script "${name}" already exists`);
-                if (isCI) {
-                  logger.debug('In a CI environment, skipping...');
-                  task.skip('Skipped');
-                  return undefined;
-                }
-                // eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-return
-                return listrInquirer(
-                  [
-                    {
-                      type: 'confirm',
-                      name: 'overwriteScript',
-                      // eslint-disable-next-line max-len
-                      message: `"${name}" already exists. Would you like to replace it?`,
-                      default: false,
-                    },
-                  ],
-                  ({ overwriteScript }: { overwriteScript: boolean }) => {
-                    logger.debug(
-                      `Overwrite script: ${overwriteScript.toString()}`,
-                    );
-                    if (!overwriteScript) {
-                      task.skip('Skipped');
-                      return;
-                    }
-                    addPackageScript(ctx.packageJson, name, command, true);
-                  },
-                );
-              }
-            },
-          })),
-          {
-            title: 'Save package.json',
-            task: (ctx): Promise<void> =>
-              savePackageJson(ctx.packagePath, ctx.packageJson),
-          },
-        ]);
-      },
-    },
-  ]);
-
-  tasks
-    .run()
-    .then(() => {
-      logger.empty();
-      logger.info('Added the following scripts to "package.json":');
-      logger.empty();
-      scripts.forEach(({ name, description }) => {
-        logger.log(`  ${chalk.bold(`"${name}"`)}: ${description}`);
-      });
-    })
-    .catch((error: string) => {
-      logger.error(error);
-      process.exit(1);
-    });
-}
- 
-function getPromptsForPresets(
-  selectedPresets: Preset[],
-  prompts: { [key in Prompt]: Question },
-): Question[] {
-  return flow(
-    map((preset: Preset) => presets[preset].prompts || []),
-    flatten,
-    uniq,
-    map((prompt: Prompt) => prompts[prompt]),
-  )(selectedPresets);
-}
- 
-function getToolsForPresets(selectedPresets: Preset[]): ToolOptions[] {
-  return flow(
-    map((preset: Preset): Tool[] => presets[preset].tools),
-    flatten,
-    uniq,
-    map((tool: Tool) => tools[tool]),
-  )(selectedPresets) as ToolOptions[];
-}
- 
-function getFilesForTools(
-  options: InitOptions,
-  selectedTools: ToolOptions[],
-): File[] {
-  return selectedTools.reduce((allFiles: File[], tool) => {
-    if (tool.files) {
-      const filesForTool = tool.files(options);
-      allFiles.push(...filesForTool);
-    }
-    return allFiles;
-  }, []);
-}
- 
-function getScriptsForTools(
-  options: InitOptions,
-  selectedTools: ToolOptions[],
-): Script[] {
-  return selectedTools.reduce((allScripts: Script[], tool) => {
-    if (tool.scripts) {
-      const scriptsForTool = tool.scripts(options);
-      return [...allScripts, ...scriptsForTool];
-    }
-    return allScripts;
-  }, []);
-}
- 
-export function validatePath(path?: string): string | boolean {
-  if (!path) {
-    return false;
-  }
- 
-  const resolvedPath = resolve(path);
- 
-  if (!existsSync(resolvedPath)) {
-    return `The path "${resolvedPath}" doesn't exist. Please try another one.`;
-  }
- 
-  return true;
-}
- 
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/foundry/src/cli/run.ts.html b/coverage/foundry/src/cli/run.ts.html deleted file mode 100644 index 2633d7bc..00000000 --- a/coverage/foundry/src/cli/run.ts.html +++ /dev/null @@ -1,514 +0,0 @@ - - - - - - Code coverage report for foundry/src/cli/run.ts - - - - - - - - - -
-
-

All files / foundry/src/cli run.ts

-
- -
- 0% - Statements - 0/143 -
- - -
- 0% - Branches - 0/1 -
- - -
- 0% - Functions - 0/1 -
- - -
- 0% - Lines - 0/143 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63 -64 -65 -66 -67 -68 -69 -70 -71 -72 -73 -74 -75 -76 -77 -78 -79 -80 -81 -82 -83 -84 -85 -86 -87 -88 -89 -90 -91 -92 -93 -94 -95 -96 -97 -98 -99 -100 -101 -102 -103 -104 -105 -106 -107 -108 -109 -110 -111 -112 -113 -114 -115 -116 -117 -118 -119 -120 -121 -122 -123 -124 -125 -126 -127 -128 -129 -130 -131 -132 -133 -134 -135 -136 -137 -138 -139 -140 -141 -142 -143 -144  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
/**
- * Copyright 2019, SumUp Ltd.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { dirname, resolve, join, relative } from 'path';
-import { access, readFile } from 'fs';
-import { promisify } from 'util';
-
-import { isString } from 'lodash/fp';
-
-import { PackageJson } from '../types/shared';
-import { spawn } from '../lib/spawn';
-import * as logger from '../lib/logger';
-
-const readFileAsync = promisify(readFile);
-const accessAsync = promisify(access);
-
-function shouldStopRecursion(path: string): boolean {
-  return !/^.+node_modules/.test(path);
-}
-
-async function resolveTo(path: string, name: string): Promise<string> {
-  if (shouldStopRecursion(path)) {
-    return '';
-  }
-
-  const packageJsonPath = join(path, name);
-
-  try {
-    await accessAsync(packageJsonPath);
-    return packageJsonPath;
-  } catch (err) {
-    const parentPath = resolve(path, '..');
-    return resolveTo(parentPath, name);
-  }
-}
-
-async function getPackageJsonPath(
-  name: string,
-  useRelative = false,
-): Promise<string> {
-  const pathMain: string = require.resolve(name);
-  const pathPackage: string = await resolveTo(pathMain, 'package.json');
-  return useRelative ? relative(__dirname, pathPackage) : pathPackage;
-}
-
-function isRelativePath(path: string): boolean {
-  const firstChar = path.split('')[0];
-  return firstChar === '.';
-}
-
-async function loadJson(path: string): Promise<PackageJson> {
-  const isRelative = isRelativePath(path);
-  if (isRelative) {
-    throw new TypeError(`Relative paths are not supported: ${path}`);
-  }
-  try {
-    const data = await readFileAsync(path);
-    return JSON.parse(data.toString()) as PackageJson;
-  } catch (err) {
-    throw new Error(`Path does not exist. ${path}`);
-  }
-}
-
-async function resolveBinaryPath(
-  name: string,
-  useRelative = false,
-): Promise<string | null> {
-  try {
-    // This could potentially break, if the name of a binary (name) is different
-    // from the name of the package.
-    const packageJsonPath = await getPackageJsonPath(name, useRelative);
-    const { bin: packageBin } = await loadJson(packageJsonPath);
-
-    if (!packageBin) {
-      return null;
-    }
-
-    const binaryPath = isString(packageBin) ? packageBin : packageBin[name];
-
-    if (!binaryPath) {
-      return null;
-    }
-
-    return resolve(dirname(packageJsonPath), binaryPath);
-  } catch (err) {
-    return null;
-  }
-}
-
-function getToolArguments(): string[] {
-  // The standard 2 indicating node binary, executing script, and
-  // the run command and the tool argument.
-  const SKIP_COUNT = 4;
-  const { argv } = process;
-  return argv.slice(SKIP_COUNT);
-}
-
-async function executeBinary(path: string, args: string[]): Promise<string> {
-  return spawn(path, args, {
-    stdio: 'inherit',
-  });
-}
-
-export interface RunParams {
-  argv: {
-    _: string[];
-  };
-}
-
-export async function run({ argv }: RunParams): Promise<void> {
-  const { _: commandArgs } = argv;
-  const [, tool] = commandArgs;
-  const binPath = await resolveBinaryPath(tool);
-
-  if (!binPath) {
-    logger.error(`No executable found for ${tool}`);
-    process.exit(1);
-  }
-
-  const binArgs = getToolArguments();
-
-  try {
-    await executeBinary(binPath, binArgs);
-  } catch (err) {
-    logger.error(
-      `Executing the command "${binPath} ${binArgs.join(' ')}" failed`,
-    );
-    logger.error(err as string);
-    process.exit(1);
-  }
-}
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/foundry/src/configs/eslint/config.ts.html b/coverage/foundry/src/configs/eslint/config.ts.html deleted file mode 100644 index da751f1b..00000000 --- a/coverage/foundry/src/configs/eslint/config.ts.html +++ /dev/null @@ -1,1588 +0,0 @@ - - - - - - Code coverage report for foundry/src/configs/eslint/config.ts - - - - - - - - - -
-
-

All files / foundry/src/configs/eslint config.ts

-
- -
- 98.4% - Statements - 493/501 -
- - -
- 97.14% - Branches - 34/35 -
- - -
- 100% - Functions - 8/8 -
- - -
- 98.4% - Lines - 493/501 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63 -64 -65 -66 -67 -68 -69 -70 -71 -72 -73 -74 -75 -76 -77 -78 -79 -80 -81 -82 -83 -84 -85 -86 -87 -88 -89 -90 -91 -92 -93 -94 -95 -96 -97 -98 -99 -100 -101 -102 -103 -104 -105 -106 -107 -108 -109 -110 -111 -112 -113 -114 -115 -116 -117 -118 -119 -120 -121 -122 -123 -124 -125 -126 -127 -128 -129 -130 -131 -132 -133 -134 -135 -136 -137 -138 -139 -140 -141 -142 -143 -144 -145 -146 -147 -148 -149 -150 -151 -152 -153 -154 -155 -156 -157 -158 -159 -160 -161 -162 -163 -164 -165 -166 -167 -168 -169 -170 -171 -172 -173 -174 -175 -176 -177 -178 -179 -180 -181 -182 -183 -184 -185 -186 -187 -188 -189 -190 -191 -192 -193 -194 -195 -196 -197 -198 -199 -200 -201 -202 -203 -204 -205 -206 -207 -208 -209 -210 -211 -212 -213 -214 -215 -216 -217 -218 -219 -220 -221 -222 -223 -224 -225 -226 -227 -228 -229 -230 -231 -232 -233 -234 -235 -236 -237 -238 -239 -240 -241 -242 -243 -244 -245 -246 -247 -248 -249 -250 -251 -252 -253 -254 -255 -256 -257 -258 -259 -260 -261 -262 -263 -264 -265 -266 -267 -268 -269 -270 -271 -272 -273 -274 -275 -276 -277 -278 -279 -280 -281 -282 -283 -284 -285 -286 -287 -288 -289 -290 -291 -292 -293 -294 -295 -296 -297 -298 -299 -300 -301 -302 -303 -304 -305 -306 -307 -308 -309 -310 -311 -312 -313 -314 -315 -316 -317 -318 -319 -320 -321 -322 -323 -324 -325 -326 -327 -328 -329 -330 -331 -332 -333 -334 -335 -336 -337 -338 -339 -340 -341 -342 -343 -344 -345 -346 -347 -348 -349 -350 -351 -352 -353 -354 -355 -356 -357 -358 -359 -360 -361 -362 -363 -364 -365 -366 -367 -368 -369 -370 -371 -372 -373 -374 -375 -376 -377 -378 -379 -380 -381 -382 -383 -384 -385 -386 -387 -388 -389 -390 -391 -392 -393 -394 -395 -396 -397 -398 -399 -400 -401 -402 -403 -404 -405 -406 -407 -408 -409 -410 -411 -412 -413 -414 -415 -416 -417 -418 -419 -420 -421 -422 -423 -424 -425 -426 -427 -428 -429 -430 -431 -432 -433 -434 -435 -436 -437 -438 -439 -440 -441 -442 -443 -444 -445 -446 -447 -448 -449 -450 -451 -452 -453 -454 -455 -456 -457 -458 -459 -460 -461 -462 -463 -464 -465 -466 -467 -468 -469 -470 -471 -472 -473 -474 -475 -476 -477 -478 -479 -480 -481 -482 -483 -484 -485 -486 -487 -488 -489 -490 -491 -492 -493 -494 -495 -496 -497 -498 -499 -500 -501 -5021x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -557x -557x -557x -1x -418x -418x -418x -418x -418x -418x -139x -139x -418x -59x -59x -220x -220x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -2x -2x -32x -32x -34x -34x -1x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -2x -2x -32x -32x -32x -32x -34x -34x -1x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x -2x -2x -32x -32x -32x -4x -34x -  -  -  -  -  -  -  -  -32x -32x -32x -32x -32x -34x -34x -1x -34x -34x -34x -32x -32x -2x -2x -2x -2x -2x -2x -2x -2x -2x -2x -2x -2x -2x -2x -2x -2x -2x -2x -2x -2x -2x -2x -2x -2x -2x -2x -2x -2x -2x -2x -34x -34x -1x -34x -34x -34x -34x -1x -1x -34x -34x -34x -34x -34x -34x -34x -34x -34x -34x - 
/**
- * Copyright 2019, SumUp Ltd.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
- 
-import { cwd } from 'process';
- 
-import { flow, mergeWith, isArray, isObject, isEmpty, uniq } from 'lodash/fp';
- 
-import { Language, Environment, Framework } from '../../types/shared';
-import * as logger from '../../lib/logger';
-import { getOptions } from '../../lib/options';
- 
-// NOTE: Using the Linter.Config interface from ESLint causes errors
-//       and I couldn't figure out how to fix them. — @connor_baer
-type ESLintConfig = unknown;
- 
-export const customizeConfig = mergeWith(customizer);
- 
-function isArrayTypeGuard(array: unknown): array is unknown[] {
-  return isArray(array);
-}
- 
-function customizer(
-  objValue: unknown,
-  srcValue: unknown,
-  key: string,
-): unknown {
-  if (isArrayTypeGuard(objValue) && isArrayTypeGuard(srcValue)) {
-    return uniq([...objValue, ...srcValue]);
-  }
-  if (isObject(objValue) && isObject(srcValue)) {
-    return key === 'rules' ? { ...objValue, ...srcValue } : undefined;
-  }
-  return undefined;
-}
- 
-const UNIT_TEST_FILES = [
-  '**/*.spec.*',
-  '**/jest*',
-  '**/setupTests.*',
-  '**/test-utils.*',
-  '**/*Fixtures.*',
-  '**/__fixtures__/**/*',
-  '**/__mocks__/**/*',
-];
- 
-const NODE_FILES = ['api/**/*', 'pages/api/**/*', 'src/pages/api/**/*'];
- 
-const sharedRules = {
-  'curly': ['error', 'all'],
-  'no-use-before-define': 'off',
-  'no-confusing-arrow': 'off',
-  'max-len': [
-    'error',
-    {
-      code: 80,
-      tabWidth: 2,
-      ignoreComments: true,
-      ignoreUrls: true,
-      ignoreStrings: true,
-      ignoreTemplateLiterals: true,
-      ignoreRegExpLiterals: true,
-      ignorePattern: '^(?:import\\s|export\\s|\\s*it(?:\\.(?:skip|only))?\\()',
-    },
-  ],
-  'no-underscore-dangle': 'error',
-  'import/prefer-default-export': 'off',
-  'import/no-cycle': ['error', { maxDepth: 7 }],
-  'import/order': ['error', { 'newlines-between': 'always' }],
-  'import/extensions': 'off',
-  // The rules below are already covered by prettier.
-  'quote-props': 'off',
-  'comma-dangle': 'off',
-  'object-curly-newline': 'off',
-  'implicit-arrow-linebreak': 'off',
-  'function-paren-newline': 'off',
-  'operator-linebreak': 'off',
-  'indent': 'off',
-  'no-void': ['error', { allowAsStatement: true }],
-};
- 
-const sharedOverrides = [
-  {
-    files: ['**/*.{story,stories}.*'],
-    rules: {
-      'import/no-extraneous-dependencies': 'off',
-      'import/no-anonymous-default-export': 'off',
-      'no-alert': 'off',
-    },
-  },
-  {
-    files: ['**/*spec.*', '**/jest*', '**/setupTests.*', '**/test-utils.*'],
-    rules: {
-      'import/no-extraneous-dependencies': 'off',
-      'react/display-name': 'off',
-      'react/prop-types': 'off',
-    },
-  },
-];
- 
-const base = {
-  root: true,
-  extends: ['eslint:recommended', 'plugin:prettier/recommended', 'airbnb-base'],
-  plugins: ['prettier'],
-  parser: '@babel/eslint-parser',
-  parserOptions: {
-    sourceType: 'module',
-    ecmaVersion: 6,
-    ecmaFeatures: {
-      modules: true,
-      impliedStrict: true,
-    },
-    allowImportExportEverywhere: true,
-  },
-  settings: {
-    'import/resolver': {
-      node: {
-        extensions: ['.js', '.jsx', '.ts', '.tsx'],
-      },
-    },
-  },
-  rules: sharedRules,
-  overrides: [
-    {
-      files: ['**/*.json'],
-      extends: ['plugin:json/recommended'],
-      rules: {
-        'notice/notice': 'off',
-      },
-    },
-    {
-      files: NODE_FILES,
-      rules: {
-        'no-console': 'off',
-      },
-    },
-  ],
-};
- 
-function customizeLanguage(language?: Language) {
-  const languageMap = {
-    [Language.JAVASCRIPT]: {
-      overrides: sharedOverrides,
-    },
-    [Language.TYPESCRIPT]: {
-      overrides: [
-        {
-          files: ['**/*.{ts,tsx}'],
-          extends: [
-            'airbnb-typescript/base',
-            'plugin:@typescript-eslint/eslint-recommended',
-            'plugin:@typescript-eslint/recommended',
-            'plugin:@typescript-eslint/recommended-requiring-type-checking',
-          ],
-          plugins: ['@typescript-eslint'],
-          parser: '@typescript-eslint/parser',
-          parserOptions: {
-            tsconfigRootDir: cwd(),
-            project: ['./tsconfig.json'],
-            extraFileExtensions: ['.json'],
-            sourceType: 'module',
-            ecmaVersion: 6,
-            ecmaFeatures: {
-              modules: true,
-            },
-          },
-          rules: {
-            ...sharedRules,
-            '@typescript-eslint/explicit-function-return-type': 'off',
-            '@typescript-eslint/indent': 'off',
-            '@typescript-eslint/no-unused-vars': 'error',
-            '@typescript-eslint/no-misused-promises': [
-              'error',
-              { checksVoidReturn: false },
-            ],
-            '@typescript-eslint/no-use-before-define': [
-              'error',
-              { functions: false },
-            ],
-            'react/prop-types': 'off',
-          },
-        },
-        {
-          files: ['**/*.d.ts'],
-          rules: {
-            'spaced-comment': 'off',
-            'node/no-extraneous-import': 'off',
-            'import/no-extraneous-dependencies': [
-              'error',
-              { devDependencies: true },
-            ],
-          },
-        },
-        {
-          files: ['**/*.{story,stories}.{ts,tsx}'],
-          rules: {
-            '@typescript-eslint/explicit-module-boundary-types': 'off',
-          },
-        },
-        {
-          files: [
-            '**/*spec.{ts,tsx}',
-            '**/setupTests.{ts,tsx}',
-            '**/test-utils.{ts,tsx}',
-          ],
-          rules: {
-            '@typescript-eslint/no-explicit-any': 'off',
-            '@typescript-eslint/no-empty-function': 'off',
-            '@typescript-eslint/no-var-requires': 'off',
-            '@typescript-eslint/no-unsafe-assignment': 'off',
-            '@typescript-eslint/unbound-method': 'off',
-          },
-        },
-        ...sharedOverrides,
-      ],
-    },
-  };
-  return (config: ESLintConfig): ESLintConfig => {
-    if (!language) {
-      return config;
-    }
-    const overrides = languageMap[language];
-    return customizeConfig(config, overrides);
-  };
-}
- 
-function customizeEnvironments(environments?: Environment[]) {
-  const environmentMap = {
-    [Environment.BROWSER]: {
-      extends: ['plugin:compat/recommended'],
-      env: { browser: true },
-      settings: {
-        lintAllEsApis: true,
-        // This API produces a false positive
-        polyfills: ['document.body'],
-      },
-      overrides: [
-        {
-          files: [...UNIT_TEST_FILES, ...NODE_FILES],
-          rules: {
-            'compat/compat': 'off',
-          },
-        },
-      ],
-    },
-    [Environment.NODE]: {
-      extends: ['plugin:node/recommended', 'plugin:security/recommended'],
-      env: { node: true },
-      rules: {
-        // We don't know if the user's source code is using EJS or CJS.
-        'node/no-unsupported-features/es-syntax': 'off',
-        // This rule breaks when used in combination with TypeScript
-        // and is already covered by similar ESLint rules.
-        'node/no-missing-import': 'off',
-        // This rule is already covered by similar ESLint rules.
-        'node/no-extraneous-import': 'off',
-      },
-      overrides: [
-        {
-          files: [
-            '**/*.spec.*',
-            '**/jest*',
-            '**/setupTests.*',
-            '**/test-utils.*',
-          ],
-          rules: {
-            'node/no-unpublished-import': 'off',
-            'node/no-unpublished-require': 'off',
-            'node/no-missing-require': 'off',
-            'node/no-extraneous-require': 'off',
-          },
-        },
-      ],
-    },
-  };
-  return (config: ESLintConfig): ESLintConfig => {
-    if (!environments || isEmpty(environments)) {
-      return config;
-    }
-    return environments.reduce((acc, environment: Environment) => {
-      const overrides = environmentMap[environment];
-      return customizeConfig(acc, overrides);
-    }, config);
-  };
-}
- 
-function customizeFramework(frameworks?: Framework[]) {
-  const frameworkMap = {
-    [Framework.REACT]: {
-      extends: [
-        'plugin:react/recommended',
-        'plugin:react-hooks/recommended',
-        'plugin:jsx-a11y/recommended',
-      ],
-      plugins: ['react', 'react-hooks', 'jsx-a11y'],
-      rules: {
-        // The automatic JSX runtime handles the React import.
-        'react/react-in-jsx-scope': 'off',
-        'react/display-name': 'off',
-      },
-      parserOptions: { ecmaFeatures: { jsx: true } },
-      settings: { react: { version: 'detect' } },
-    },
-    [Framework.NEXT_JS]: {
-      extends: ['next'],
-      settings: {
-        // This is needed for eslint-plugin-compat: https://www.npmjs.com/package/eslint-plugin-compat#adding-polyfills
-        // The list is based on https://github.com/vercel/next.js/blob/canary/packages/next-polyfill-nomodule/src/index.js
-        polyfills: [
-          'Array.prototype.copyWithin',
-          'Array.prototype.fill',
-          'Array.prototype.find',
-          'Array.prototype.findIndex',
-          'Array.prototype.flagMap',
-          'Array.prototype.flat',
-          'Array.from',
-          'Array.prototype.includes',
-          'Array.of',
-          'Function.name',
-          'Map',
-          'Number.EPSILON',
-          'Number.isFinite',
-          'Number.isInteger',
-          'Number.isNaN',
-          'Number.isSafeInteger',
-          'Number.MAX_SAFE_INTEGER',
-          'Number.MIN_SAFE_INTEGER',
-          'Number.parseFloat',
-          'Number.parseInt',
-          'Object.assign',
-          'Object.entries',
-          'Object.getOwnPropertyDescriptors',
-          'Object.keys',
-          'Object.is',
-          'Object.values',
-          'Reflect',
-          'RegExp',
-          'Set',
-          'Symbol',
-          'String.prototype.codePointAt',
-          'String.prototype.endsWith',
-          'String.prototype.fromCodePoint',
-          'String.prototype.includes',
-          'String.prototype.padStart',
-          'String.prototype.padEnd',
-          'String.prototype.raw',
-          'String.prototype.repeat',
-          'String.prototype.startsWith',
-          'String.prototype.trimLeft',
-          'String.prototype.trimRight',
-          'URL',
-          'URLSearchParams',
-          'WeakMap',
-          'WeakSet',
-          'Promise',
-          'fetch',
-        ],
-      },
-    },
-    [Framework.EMOTION]: {
-      plugins: ['@emotion'],
-      rules: {
-        '@emotion/import-from-emotion': 'error',
-        '@emotion/jsx-import': 'off',
-        '@emotion/no-vanilla': 'error',
-        '@emotion/pkg-renaming': 'error',
-        '@emotion/styled-import': 'error',
-        'react/no-unknown-property': ['error', { ignore: ['css'] }],
-      },
-    },
-    [Framework.JEST]: {
-      overrides: [
-        {
-          files: UNIT_TEST_FILES,
-          extends: ['plugin:jest/recommended'],
-          plugins: ['jest'],
-          env: { 'jest/globals': true },
-        },
-      ],
-    },
-    [Framework.TESTING_LIBRARY]: {
-      overrides: [
-        {
-          files: UNIT_TEST_FILES,
-          extends: ['plugin:testing-library/react'],
-          plugins: ['testing-library'],
-        },
-      ],
-    },
-    [Framework.CYPRESS]: {
-      overrides: [
-        {
-          files: ['**/*spec.*', 'e2e/**/*', 'tests/**/*'],
-          extends: ['plugin:cypress/recommended'],
-          plugins: ['cypress'],
-          env: { 'cypress/globals': true },
-        },
-      ],
-    },
-    [Framework.PLAYWRIGHT]: {
-      overrides: [
-        {
-          files: ['**/*spec.*', 'e2e/**/*', 'tests/**/*'],
-          extends: ['plugin:playwright/playwright-test'],
-        },
-      ],
-    },
-    [Framework.STORYBOOK]: {
-      extends: ['plugin:storybook/recommended'],
-    },
-  };
-  return (config: ESLintConfig): ESLintConfig => {
-    if (!frameworks || isEmpty(frameworks)) {
-      return config;
-    }
- 
-    if (
-      frameworks.includes(Framework.NEXT_JS) &&
-      frameworks.includes(Framework.REACT)
-    ) {
-      logger.warn(
-        `The '${Framework.NEXT_JS}' framework includes React-specific rules. Please remove the '${Framework.REACT}' framework to avoid conflicts.`,
-      );
-      // eslint-disable-next-line no-param-reassign
-      frameworks = frameworks.filter(
-        (framework) => framework !== Framework.REACT,
-      );
-    }
- 
-    return frameworks.reduce((acc, framework: Framework) => {
-      const overrides = frameworkMap[framework];
-      return customizeConfig(acc, overrides);
-    }, config);
-  };
-}
- 
-function addCopyrightNotice(openSource?: boolean) {
-  return (config: ESLintConfig): ESLintConfig => {
-    if (!openSource) {
-      return config;
-    }
-    const copyrightNotice = {
-      plugins: ['notice'],
-      rules: {
-        'notice/notice': [
-          'error',
-          {
-            template: `/**
- * Copyright <%= YEAR %>, <%= NAME %>
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
- 
-`,
-            templateVars: { NAME: 'SumUp Ltd.' },
-            varRegexps: { NAME: /SumUp Ltd\./ },
-            onNonMatchingHeader: 'prepend',
-          },
-        ],
-      },
-    };
-    return customizeConfig(config, copyrightNotice);
-  };
-}
- 
-function applyOverrides(overrides: ESLintConfig) {
-  return (config: ESLintConfig): ESLintConfig =>
-    customizeConfig(config, overrides);
-}
- 
-export function createConfig(overrides: ESLintConfig = {}): ESLintConfig {
-  const options = getOptions();
- 
-  return flow(
-    customizeLanguage(options.language),
-    customizeEnvironments(options.environments),
-    customizeFramework(options.frameworks),
-    addCopyrightNotice(options.openSource),
-    applyOverrides(overrides),
-  )(base);
-}
- 
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/foundry/src/configs/eslint/index.html b/coverage/foundry/src/configs/eslint/index.html deleted file mode 100644 index cb17c282..00000000 --- a/coverage/foundry/src/configs/eslint/index.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - Code coverage report for foundry/src/configs/eslint - - - - - - - - - -
-
-

All files foundry/src/configs/eslint

-
- -
- 92.29% - Statements - 515/558 -
- - -
- 97.14% - Branches - 34/35 -
- - -
- 80% - Functions - 8/10 -
- - -
- 92.29% - Lines - 515/558 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
config.ts -
-
98.4%493/50197.14%34/35100%8/898.4%493/501
index.ts -
-
38.59%22/57100%0/00%0/238.59%22/57
-
-
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/foundry/src/configs/eslint/index.ts.html b/coverage/foundry/src/configs/eslint/index.ts.html deleted file mode 100644 index 0cdbe725..00000000 --- a/coverage/foundry/src/configs/eslint/index.ts.html +++ /dev/null @@ -1,256 +0,0 @@ - - - - - - Code coverage report for foundry/src/configs/eslint/index.ts - - - - - - - - - -
-
-

All files / foundry/src/configs/eslint index.ts

-
- -
- 38.59% - Statements - 22/57 -
- - -
- 100% - Branches - 0/0 -
- - -
- 0% - Functions - 0/2 -
- - -
- 38.59% - Lines - 22/57 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -581x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -1x -1x -  -  -  -  -  -  -  -  -  -  -  - 
/**
- * Copyright 2020, SumUp Ltd.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
- 
-import dedent from 'dedent';
- 
-import { Script, File } from '../../types/shared';
- 
-export const files = (): File[] => [
-  {
-    name: '.eslintrc.js',
-    content: `
-    module.exports = require('@sumup/foundry/eslint')()`,
-  },
-  {
-    name: '.eslintignore',
-    content: `${dedent`
-      node_modules/
-      build/
-      dist/
-      .next/
-      .out/
-      static/
-      public/
-      coverage/
-      __coverage__/
-      __reports__/
-      /*.config.js
-      /*rc.js
-      tsconfig.json
-    `}\n`,
-  },
-];
- 
-export const scripts = (): Script[] => [
-  {
-    name: 'lint',
-    command: 'foundry run eslint . --ext .js,.jsx,.json,.ts,.tsx',
-    description: 'check files for problematic patterns and report them',
-  },
-  {
-    name: 'lint:fix',
-    command: 'npm run lint -- --fix',
-    description: 'same as `lint`, but also try to fix the issues',
-  },
-];
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/foundry/src/configs/husky/config.ts.html b/coverage/foundry/src/configs/husky/config.ts.html deleted file mode 100644 index 1ba72aa2..00000000 --- a/coverage/foundry/src/configs/husky/config.ts.html +++ /dev/null @@ -1,178 +0,0 @@ - - - - - - Code coverage report for foundry/src/configs/husky/config.ts - - - - - - - - - -
-
-

All files / foundry/src/configs/husky config.ts

-
- -
- 100% - Statements - 31/31 -
- - -
- 100% - Branches - 1/1 -
- - -
- 100% - Functions - 1/1 -
- - -
- 100% - Lines - 31/31 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -321x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -2x -2x - 
/**
- * Copyright 2019, SumUp Ltd.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
- 
-import { merge } from 'lodash/fp';
- 
-interface HuskyConfig {
-  skipCI?: boolean;
-  hooks?: { [key: string]: string };
-}
- 
-export const base: HuskyConfig = {
-  hooks: {
-    'pre-commit': 'foundry run lint-staged',
-  },
-};
- 
-export function config(overrides: HuskyConfig = {}): HuskyConfig {
-  return merge(base, overrides);
-}
- 
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/foundry/src/configs/husky/index.html b/coverage/foundry/src/configs/husky/index.html deleted file mode 100644 index ed5f468b..00000000 --- a/coverage/foundry/src/configs/husky/index.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - Code coverage report for foundry/src/configs/husky - - - - - - - - - -
-
-

All files foundry/src/configs/husky

-
- -
- 90.74% - Statements - 49/54 -
- - -
- 100% - Branches - 1/1 -
- - -
- 50% - Functions - 1/2 -
- - -
- 90.74% - Lines - 49/54 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
config.ts -
-
100%31/31100%1/1100%1/1100%31/31
index.ts -
-
78.26%18/23100%0/00%0/178.26%18/23
-
-
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/foundry/src/configs/husky/index.ts.html b/coverage/foundry/src/configs/husky/index.ts.html deleted file mode 100644 index 2b4c64bc..00000000 --- a/coverage/foundry/src/configs/husky/index.ts.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - Code coverage report for foundry/src/configs/husky/index.ts - - - - - - - - - -
-
-

All files / foundry/src/configs/husky index.ts

-
- -
- 78.26% - Statements - 18/23 -
- - -
- 100% - Branches - 0/0 -
- - -
- 0% - Functions - 0/1 -
- - -
- 78.26% - Lines - 18/23 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -241x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -  -  -  -  -  - 
/**
- * Copyright 2020, SumUp Ltd.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
- 
-import { File } from '../../types/shared';
- 
-export const files = (): File[] => [
-  {
-    name: '.huskyrc.js',
-    content: "module.exports = require('@sumup/foundry/husky')()",
-  },
-];
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/foundry/src/configs/index.html b/coverage/foundry/src/configs/index.html deleted file mode 100644 index 188518dc..00000000 --- a/coverage/foundry/src/configs/index.html +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - Code coverage report for foundry/src/configs - - - - - - - - - -
-
-

All files foundry/src/configs

-
- -
- 100% - Statements - 28/28 -
- - -
- 100% - Branches - 0/0 -
- - -
- 100% - Functions - 0/0 -
- - -
- 100% - Lines - 28/28 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
index.ts -
-
100%28/28100%0/0100%0/0100%28/28
-
-
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/foundry/src/configs/index.ts.html b/coverage/foundry/src/configs/index.ts.html deleted file mode 100644 index e0fe348c..00000000 --- a/coverage/foundry/src/configs/index.ts.html +++ /dev/null @@ -1,169 +0,0 @@ - - - - - - Code coverage report for foundry/src/configs/index.ts - - - - - - - - - -
-
-

All files / foundry/src/configs index.ts

-
- -
- 100% - Statements - 28/28 -
- - -
- 100% - Branches - 0/0 -
- - -
- 100% - Functions - 0/0 -
- - -
- 100% - Lines - 28/28 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -291x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x - 
/**
- * Copyright 2020, SumUp Ltd.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
- 
-import { Tool, ToolOptions } from '../types/shared';
- 
-import * as eslint from './eslint';
-import * as husky from './husky';
-import * as lintStaged from './lint-staged';
-import * as prettier from './prettier';
- 
-export const tools: { [key in Tool]?: ToolOptions } = {
-  [Tool.ESLINT]: eslint,
-  [Tool.HUSKY]: husky,
-  [Tool.LINT_STAGED]: lintStaged,
-  [Tool.PRETTIER]: prettier,
-};
- 
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/foundry/src/configs/lint-staged/config.ts.html b/coverage/foundry/src/configs/lint-staged/config.ts.html deleted file mode 100644 index df82ffb7..00000000 --- a/coverage/foundry/src/configs/lint-staged/config.ts.html +++ /dev/null @@ -1,217 +0,0 @@ - - - - - - Code coverage report for foundry/src/configs/lint-staged/config.ts - - - - - - - - - -
-
-

All files / foundry/src/configs/lint-staged config.ts

-
- -
- 100% - Statements - 44/44 -
- - -
- 100% - Branches - 1/1 -
- - -
- 50% - Functions - 1/2 -
- - -
- 100% - Lines - 44/44 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -451x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -3x -3x -3x -3x - 
/**
- * Copyright 2019, SumUp Ltd.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
- 
-import { getOptions } from '../../lib/options';
-import { Language } from '../../types/shared';
- 
-type LinterCommand = string | string[];
-type LinterFn = (filenames: string[]) => LinterCommand;
- 
-interface LintStagedConfig {
-  [key: string]: LinterCommand | LinterFn;
-}
- 
-export const javascript: LintStagedConfig = {
-  '*.(js|jsx|json)': ['foundry run eslint --fix'],
-};
- 
-export const typescript: LintStagedConfig = {
-  '*.(js|jsx|json|ts|tsx)': ['foundry run eslint --fix'],
-  '*.(ts|tsx)': () => 'tsc -p tsconfig.json --noEmit',
-};
- 
-const LANGUAGES = {
-  [Language.JAVASCRIPT]: javascript,
-  [Language.TYPESCRIPT]: typescript,
-};
- 
-export function config(overrides: LintStagedConfig = {}): LintStagedConfig {
-  const options = getOptions();
-  const baseConfig = LANGUAGES[options.language];
-  return { ...baseConfig, ...overrides };
-}
- 
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/foundry/src/configs/lint-staged/index.html b/coverage/foundry/src/configs/lint-staged/index.html deleted file mode 100644 index 7ee0260a..00000000 --- a/coverage/foundry/src/configs/lint-staged/index.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - Code coverage report for foundry/src/configs/lint-staged - - - - - - - - - -
-
-

All files foundry/src/configs/lint-staged

-
- -
- 91.17% - Statements - 62/68 -
- - -
- 100% - Branches - 1/1 -
- - -
- 33.33% - Functions - 1/3 -
- - -
- 91.17% - Lines - 62/68 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
config.ts -
-
100%44/44100%1/150%1/2100%44/44
index.ts -
-
75%18/24100%0/00%0/175%18/24
-
-
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/foundry/src/configs/lint-staged/index.ts.html b/coverage/foundry/src/configs/lint-staged/index.ts.html deleted file mode 100644 index becdc9f1..00000000 --- a/coverage/foundry/src/configs/lint-staged/index.ts.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - Code coverage report for foundry/src/configs/lint-staged/index.ts - - - - - - - - - -
-
-

All files / foundry/src/configs/lint-staged index.ts

-
- -
- 75% - Statements - 18/24 -
- - -
- 100% - Branches - 0/0 -
- - -
- 0% - Functions - 0/1 -
- - -
- 75% - Lines - 18/24 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -251x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -  -  -  -  -  -  - 
/**
- * Copyright 2020, SumUp Ltd.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
- 
-import { File } from '../../types/shared';
- 
-export const files = (): File[] => [
-  {
-    name: 'lint-staged.config.js',
-    content: `
-    module.exports = require('@sumup/foundry/lint-staged')()`,
-  },
-];
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/foundry/src/configs/prettier/config.ts.html b/coverage/foundry/src/configs/prettier/config.ts.html deleted file mode 100644 index 330a0596..00000000 --- a/coverage/foundry/src/configs/prettier/config.ts.html +++ /dev/null @@ -1,187 +0,0 @@ - - - - - - Code coverage report for foundry/src/configs/prettier/config.ts - - - - - - - - - -
-
-

All files / foundry/src/configs/prettier config.ts

-
- -
- 100% - Statements - 34/34 -
- - -
- 100% - Branches - 1/1 -
- - -
- 100% - Functions - 1/1 -
- - -
- 100% - Lines - 34/34 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -351x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -6x -6x -6x -6x -6x -6x -6x -6x -6x -6x -6x -6x -6x -6x -6x -6x - 
/**
- * Copyright 2019, SumUp Ltd.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
- 
-import { Options as PrettierConfig } from 'prettier';
- 
-export function config(overrides: PrettierConfig = {}): PrettierConfig {
-  const base: PrettierConfig = {
-    printWidth: 80,
-    tabWidth: 2,
-    useTabs: false,
-    semi: true,
-    singleQuote: true,
-    quoteProps: 'consistent',
-    trailingComma: 'all',
-    jsxSingleQuote: false,
-    bracketSameLine: false,
-    bracketSpacing: true,
-    arrowParens: 'always',
-    endOfLine: 'lf',
-  };
-  return { ...base, ...overrides };
-}
- 
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/foundry/src/configs/prettier/index.html b/coverage/foundry/src/configs/prettier/index.html deleted file mode 100644 index fbfd78f7..00000000 --- a/coverage/foundry/src/configs/prettier/index.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - Code coverage report for foundry/src/configs/prettier - - - - - - - - - -
-
-

All files foundry/src/configs/prettier

-
- -
- 80.59% - Statements - 54/67 -
- - -
- 100% - Branches - 1/1 -
- - -
- 50% - Functions - 1/2 -
- - -
- 80.59% - Lines - 54/67 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
config.ts -
-
100%34/34100%1/1100%1/1100%34/34
index.ts -
-
60.6%20/33100%0/00%0/160.6%20/33
-
-
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/foundry/src/configs/prettier/index.ts.html b/coverage/foundry/src/configs/prettier/index.ts.html deleted file mode 100644 index d41777c0..00000000 --- a/coverage/foundry/src/configs/prettier/index.ts.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - - Code coverage report for foundry/src/configs/prettier/index.ts - - - - - - - - - -
-
-

All files / foundry/src/configs/prettier index.ts

-
- -
- 60.6% - Statements - 20/33 -
- - -
- 100% - Branches - 0/0 -
- - -
- 0% - Functions - 0/1 -
- - -
- 60.6% - Lines - 20/33 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -341x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -  -  -  -  -  -  -  -  -  -  -  -  -  - 
/**
- * Copyright 2020, SumUp Ltd.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
- 
-import dedent from 'dedent';
- 
-import { File } from '../../types/shared';
- 
-export const files = (): File[] => [
-  {
-    name: 'prettier.config.js',
-    content: `
-    module.exports = require('@sumup/foundry/prettier')()`,
-  },
-  {
-    name: '.prettierignore',
-    content: `${dedent`
-      node_modules/
-      package.json
-    `}\n`,
-  },
-];
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/foundry/src/eslint.ts.html b/coverage/foundry/src/eslint.ts.html deleted file mode 100644 index 40026732..00000000 --- a/coverage/foundry/src/eslint.ts.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - Code coverage report for foundry/src/eslint.ts - - - - - - - - - -
-
-

All files / foundry/src eslint.ts

-
- -
- 0% - Statements - 0/18 -
- - -
- 0% - Branches - 0/1 -
- - -
- 0% - Functions - 0/1 -
- - -
- 0% - Lines - 0/18 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
/**
- * Copyright 2019, SumUp Ltd.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { createConfig } from './configs/eslint/config';
-
-export = createConfig;
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/foundry/src/husky.ts.html b/coverage/foundry/src/husky.ts.html deleted file mode 100644 index 1f5d4982..00000000 --- a/coverage/foundry/src/husky.ts.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - Code coverage report for foundry/src/husky.ts - - - - - - - - - -
-
-

All files / foundry/src husky.ts

-
- -
- 0% - Statements - 0/18 -
- - -
- 0% - Branches - 0/1 -
- - -
- 0% - Functions - 0/1 -
- - -
- 0% - Lines - 0/18 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
/**
- * Copyright 2019, SumUp Ltd.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { config } from './configs/husky/config';
-
-export = config;
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/foundry/src/index.html b/coverage/foundry/src/index.html deleted file mode 100644 index 3fda2ae7..00000000 --- a/coverage/foundry/src/index.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - Code coverage report for foundry/src - - - - - - - - - -
-
-

All files foundry/src

-
- -
- 25% - Statements - 18/72 -
- - -
- 0% - Branches - 0/3 -
- - -
- 0% - Functions - 0/3 -
- - -
- 25% - Lines - 18/72 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
eslint.ts -
-
0%0/180%0/10%0/10%0/18
husky.ts -
-
0%0/180%0/10%0/10%0/18
lint-staged.ts -
-
0%0/180%0/10%0/10%0/18
prettier.ts -
-
100%18/18100%0/0100%0/0100%18/18
-
-
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/foundry/src/lib/choices.ts.html b/coverage/foundry/src/lib/choices.ts.html deleted file mode 100644 index 949fe239..00000000 --- a/coverage/foundry/src/lib/choices.ts.html +++ /dev/null @@ -1,232 +0,0 @@ - - - - - - Code coverage report for foundry/src/lib/choices.ts - - - - - - - - - -
-
-

All files / foundry/src/lib choices.ts

-
- -
- 100% - Statements - 49/49 -
- - -
- 100% - Branches - 9/9 -
- - -
- 100% - Functions - 2/2 -
- - -
- 100% - Lines - 49/49 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -501x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -44x -44x -44x -1x -1x -2x -2x -2x -2x -4x -4x -4x -4x -4x -8x -40x -40x -40x -40x -40x -8x -4x -4x -4x -4x -2x -2x -2x - 
/**
- * Copyright 2020, SumUp Ltd.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
- 
-import { isArray } from 'lodash/fp';
- 
-type Enum = { [key: string]: string };
-type Choices = { [key: string]: Enum | Enum[] };
-type Combination = { [key: string]: string | string[] };
- 
-function isArrayTypeGuard(array: unknown): array is unknown[] {
-  return isArray(array);
-}
- 
-export function getAllChoiceCombinations(
-  possibleChoices: Choices,
-): Combination[] {
-  return Object.entries(possibleChoices).reduce(
-    (acc, [optionName, choices]) => {
-      const choiceEnum = isArrayTypeGuard(choices) ? choices[0] : choices;
-      const choicesForOption = Object.values(choiceEnum);
-      const allCombinations: Combination[] = [];
- 
-      acc.forEach((combination: Combination) => {
-        choicesForOption.forEach((value) => {
-          const choice = isArrayTypeGuard(choices) ? [value] : value;
-          allCombinations.push({
-            ...combination,
-            [optionName]: choice,
-          });
-        });
-      });
- 
-      return allCombinations;
-    },
-    [{}],
-  );
-}
- 
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/foundry/src/lib/files.ts.html b/coverage/foundry/src/lib/files.ts.html deleted file mode 100644 index a476b701..00000000 --- a/coverage/foundry/src/lib/files.ts.html +++ /dev/null @@ -1,403 +0,0 @@ - - - - - - Code coverage report for foundry/src/lib/files.ts - - - - - - - - - -
-
-

All files / foundry/src/lib files.ts

-
- -
- 90.56% - Statements - 96/106 -
- - -
- 92.3% - Branches - 12/13 -
- - -
- 80% - Functions - 4/5 -
- - -
- 90.56% - Lines - 96/106 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63 -64 -65 -66 -67 -68 -69 -70 -71 -72 -73 -74 -75 -76 -77 -78 -79 -80 -81 -82 -83 -84 -85 -86 -87 -88 -89 -90 -91 -92 -93 -94 -95 -96 -97 -98 -99 -100 -101 -102 -103 -104 -105 -106 -1071x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -4x -4x -4x -4x -4x -4x -4x -4x -4x -4x -4x -4x -4x -  -  -4x -4x -4x -1x -4x -4x -4x -4x -4x -4x -4x -4x -4x -4x -2x -2x -4x -4x -4x -4x -1x -1x -4x -4x -4x -4x -4x -4x -1x -1x -1x -1x -3x -3x -4x -1x -1x -2x -2x -2x -2x -1x -1x -  -  -  -  -  -  -  -  -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x - 
/**
- * Copyright 2020, SumUp Ltd.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
- 
-import { writeFile as fsWriteFile, mkdir as fsMkdir } from 'fs';
-import path from 'path';
-import { promisify } from 'util';
- 
-import { omit } from 'lodash/fp';
-import { format, Options as PrettierConfig } from 'prettier';
-import readPkgUp from 'read-pkg-up';
- 
-import { PackageJson } from '../types/shared';
-import prettierConfig from '../prettier';
- 
-const writeFileAsync = promisify(fsWriteFile);
-const mkdirAsync = promisify(fsMkdir);
- 
-export function formatContent(
-  fileName: string,
-  content: string,
-): Promise<string> {
-  const configMap: { [key: string]: PrettierConfig } = {
-    '.js': prettierConfig({ parser: 'babel' }),
-    '.json': { parser: 'json' },
-    '.yaml': { parser: 'yaml' },
-  };
- 
-  const extension = path.extname(fileName);
-  const formatConfig = configMap[extension];
- 
-  if (!formatConfig) {
-    return Promise.resolve(content);
-  }
- 
-  return format(content, formatConfig);
-}
- 
-export async function writeFile(
-  configDir: string,
-  fileName: string,
-  content: string,
-  shouldOverwrite = false,
-): Promise<void> {
-  const fileContent = await formatContent(fileName, content);
-  const filePath = path.join(configDir, fileName);
-  const directory = path.dirname(filePath);
-  if (directory && directory !== '.') {
-    await mkdirAsync(directory, { recursive: true });
-  }
-  const flag = shouldOverwrite ? 'w' : 'wx';
- 
-  return writeFileAsync(filePath, fileContent, { flag });
-}
- 
-export function addPackageScript(
-  packageJson: PackageJson,
-  name: string,
-  command: string,
-  shouldOverwrite = false,
-): PackageJson {
-  if (!packageJson.scripts) {
-    // eslint-disable-next-line no-param-reassign
-    packageJson.scripts = { [name]: command };
-    return packageJson;
-  }
- 
-  const hasConflict = Boolean(packageJson.scripts[name]);
-  if (hasConflict && !shouldOverwrite) {
-    throw new Error(`A script with the name "${name}" already exists.`);
-  }
-  // eslint-disable-next-line no-param-reassign
-  packageJson.scripts[name] = command;
-  return packageJson;
-}
- 
-export function readPackageJson(): PackageJson {
-  const pkg = readPkgUp.sync();
-
-  if (!pkg) {
-    throw new Error('Unable to find a "package.json" file');
-  }
-
-  return pkg.packageJson;
-}
- 
-export async function savePackageJson(
-  packagePath: string,
-  packageJson: PackageJson,
-): Promise<void> {
-  // This property is added by `read-pkg-up`
-  const sanitizedPackageJson = omit('_id', packageJson);
-  const content = `${JSON.stringify(sanitizedPackageJson, null, 2)}\n`;
-  return writeFileAsync(packagePath, content, { flag: 'w' });
-}
- 
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/foundry/src/lib/index.html b/coverage/foundry/src/lib/index.html deleted file mode 100644 index 61865520..00000000 --- a/coverage/foundry/src/lib/index.html +++ /dev/null @@ -1,176 +0,0 @@ - - - - - - Code coverage report for foundry/src/lib - - - - - - - - - -
-
-

All files foundry/src/lib

-
- -
- 71.66% - Statements - 306/427 -
- - -
- 96% - Branches - 48/50 -
- - -
- 54.54% - Functions - 12/22 -
- - -
- 71.66% - Lines - 306/427 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
choices.ts -
-
100%49/49100%9/9100%2/2100%49/49
files.ts -
-
90.56%96/10692.3%12/1380%4/590.56%96/106
logger.ts -
-
60%36/60100%0/00%0/760%36/60
options.ts -
-
90.57%125/138100%27/2785.71%6/790.57%125/138
spawn.ts -
-
0%0/740%0/10%0/10%0/74
-
-
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/foundry/src/lib/logger.ts.html b/coverage/foundry/src/lib/logger.ts.html deleted file mode 100644 index 45e3aede..00000000 --- a/coverage/foundry/src/lib/logger.ts.html +++ /dev/null @@ -1,265 +0,0 @@ - - - - - - Code coverage report for foundry/src/lib/logger.ts - - - - - - - - - -
-
-

All files / foundry/src/lib logger.ts

-
- -
- 60% - Statements - 36/60 -
- - -
- 100% - Branches - 0/0 -
- - -
- 0% - Functions - 0/7 -
- - -
- 60% - Lines - 36/60 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -611x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -  -  -  -1x -1x -  -  -  -1x -1x -  -  -  -1x -1x -  -  -  -1x -1x -  -  -  -1x -1x -  -  -  -  -  -  -  -1x -1x -  -  - 
/**
- * Copyright 2019, SumUp Ltd.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
- 
-/* eslint-disable no-console */
-import chalk from 'chalk';
- 
-type LogMessage = string | string[];
- 
-const IS_DEBUG =
-  process.argv.includes('--debug') || process.env.NODE_ENV === 'DEBUG';
- 
-const getMessage = (arg: LogMessage): string => {
-  const message = Array.isArray(arg) ? arg.join('\n') : arg;
-  return message;
-};
- 
-export const error = (arg: LogMessage): void => {
-  const msg = getMessage(arg);
-  console.error(`🚨 ${chalk.red(msg)}`);
-};
- 
-export const warn = (arg: LogMessage): void => {
-  const msg = getMessage(arg);
-  console.warn(`⚠️ ${chalk.yellow(msg)}`);
-};
- 
-export const log = (arg: LogMessage): void => {
-  const msg = getMessage(arg);
-  console.log(msg);
-};
- 
-export const info = (arg: LogMessage): void => {
-  const msg = getMessage(arg);
-  console.log(`ℹ️ ${msg}`);
-};
- 
-export const debug = (arg: LogMessage): void => {
-  if (!IS_DEBUG) {
-    return;
-  }
-
-  const msg = getMessage(arg);
-  console.debug(`🛠️ ${chalk.cyan(msg)}`);
-};
- 
-export const empty = (): void => {
-  console.log('');
-};
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/foundry/src/lib/options.ts.html b/coverage/foundry/src/lib/options.ts.html deleted file mode 100644 index dc707f61..00000000 --- a/coverage/foundry/src/lib/options.ts.html +++ /dev/null @@ -1,499 +0,0 @@ - - - - - - Code coverage report for foundry/src/lib/options.ts - - - - - - - - - -
-
-

All files / foundry/src/lib options.ts

-
- -
- 90.57% - Statements - 125/138 -
- - -
- 100% - Branches - 27/27 -
- - -
- 85.71% - Functions - 6/7 -
- - -
- 90.57% - Lines - 125/138 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63 -64 -65 -66 -67 -68 -69 -70 -71 -72 -73 -74 -75 -76 -77 -78 -79 -80 -81 -82 -83 -84 -85 -86 -87 -88 -89 -90 -91 -92 -93 -94 -95 -96 -97 -98 -99 -100 -101 -102 -103 -104 -105 -106 -107 -108 -109 -110 -111 -112 -113 -114 -115 -116 -117 -118 -119 -120 -121 -122 -123 -124 -125 -126 -127 -128 -129 -130 -131 -132 -133 -134 -135 -136 -137 -138 -1391x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -  -  -  -  -  -  -  -  -  -  -  -  -  -1x -1x -2x -2x -2x -2x -2x -1x -1x -176x -176x -176x -176x -1x -1x -2x -1x -1x -2x -1x -1x -12x -46x -12x -12x -12x -46x -12x -12x -12x -12x -12x -12x -12x -12x -7x -7x -12x -12x -7x -7x -12x -12x -12x -1x -1x -9x -9x -9x -2x -2x -9x -9x -9x -7x -9x -1x -1x -9x -9x -1x -1x -9x -9x -1x -1x -9x -9x -1x -1x -9x -9x -1x -1x -9x -9x -1x -1x -9x -9x -1x -1x -9x -9x -9x -1x -1x -3x -3x - 
/**
- * Copyright 2022, SumUp Ltd.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
- 
-import {
-  Environment,
-  Framework,
-  Language,
-  Options,
-  PackageJson,
-} from '../types/shared';
- 
-import { readPackageJson } from './files';
- 
-// These lists are not exhaustive and should be expanded if necessary.
-export const NODE_LIBRARIES = [
-  'next',
-  '@sveltejs/kit',
-  'nuxt',
-  'express',
-  'koa',
-];
-export const BROWSER_LIBRARIES = ['next', 'react', 'preact', 'svelte', 'vue'];
- 
-export function getOptions(): Required<Options> {
-  const packageJson = readPackageJson();
-  const config = (packageJson.foundry || {}) as Options;
-
-  const pick = pickConfigOrDetect(packageJson);
-
-  return {
-    language: pick(config.language, detectLanguage),
-    environments: pick(config.environments, detectEnvironments),
-    frameworks: pick(config.frameworks, detectFrameworks),
-    openSource: pick(config.openSource, detectOpenSource),
-    publish: Boolean(config.publish),
-  };
-}
- 
-export function pickConfigOrDetect(packageJson: PackageJson) {
-  return <Option>(
-    explicit: Option | undefined,
-    detectFn: (packageJson: PackageJson) => Option,
-  ) => (explicit !== undefined ? explicit : detectFn(packageJson));
-}
- 
-export function hasDependency(packageJson: PackageJson, name: string): boolean {
-  const { dependencies = {}, devDependencies = {} } = packageJson;
- 
-  return Boolean(dependencies[name] || devDependencies[name]);
-}
- 
-export function detectLanguage(packageJson: PackageJson): Language {
-  return hasDependency(packageJson, 'typescript')
-    ? Language.TYPESCRIPT
-    : Language.JAVASCRIPT;
-}
- 
-export function detectEnvironments(packageJson: PackageJson): Environment[] {
-  const hasServerLibraries = NODE_LIBRARIES.some((library) =>
-    hasDependency(packageJson, library),
-  );
- 
-  const hasClientLibraries = BROWSER_LIBRARIES.some((library) =>
-    hasDependency(packageJson, library),
-  );
- 
-  const isCLI = Boolean(packageJson.bin);
-  const isBrowser = Boolean(packageJson.browser);
- 
-  const environments: Environment[] = [];
- 
-  if (hasServerLibraries || isCLI) {
-    environments.push(Environment.NODE);
-  }
- 
-  if (hasClientLibraries || isBrowser) {
-    environments.push(Environment.BROWSER);
-  }
- 
-  return environments;
-}
- 
-export function detectFrameworks(packageJson: PackageJson): Framework[] {
-  const frameworks: Framework[] = [];
- 
-  if (hasDependency(packageJson, 'next')) {
-    frameworks.push(Framework.NEXT_JS);
-  }
- 
-  if (
-    !hasDependency(packageJson, 'next') &&
-    hasDependency(packageJson, 'react')
-  ) {
-    frameworks.push(Framework.REACT);
-  }
- 
-  if (hasDependency(packageJson, '@emotion/react')) {
-    frameworks.push(Framework.EMOTION);
-  }
- 
-  if (hasDependency(packageJson, 'jest')) {
-    frameworks.push(Framework.JEST);
-  }
- 
-  if (hasDependency(packageJson, '@testing-library/react')) {
-    frameworks.push(Framework.TESTING_LIBRARY);
-  }
- 
-  if (hasDependency(packageJson, 'cypress')) {
-    frameworks.push(Framework.CYPRESS);
-  }
- 
-  if (hasDependency(packageJson, 'playwright')) {
-    frameworks.push(Framework.PLAYWRIGHT);
-  }
- 
-  if (hasDependency(packageJson, 'storybook')) {
-    frameworks.push(Framework.STORYBOOK);
-  }
- 
-  return frameworks;
-}
- 
-export function detectOpenSource(packageJson: PackageJson) {
-  return packageJson.license === 'Apache-2.0';
-}
- 
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/foundry/src/lib/spawn.ts.html b/coverage/foundry/src/lib/spawn.ts.html deleted file mode 100644 index 4d2e8719..00000000 --- a/coverage/foundry/src/lib/spawn.ts.html +++ /dev/null @@ -1,307 +0,0 @@ - - - - - - Code coverage report for foundry/src/lib/spawn.ts - - - - - - - - - -
-
-

All files / foundry/src/lib spawn.ts

-
- -
- 0% - Statements - 0/74 -
- - -
- 0% - Branches - 0/1 -
- - -
- 0% - Functions - 0/1 -
- - -
- 0% - Lines - 0/74 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63 -64 -65 -66 -67 -68 -69 -70 -71 -72 -73 -74 -75  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
/**
- * Copyright 2019, SumUp Ltd.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import crossSpawn from 'cross-spawn';
-
-type StdioBaseOption = 'pipe' | 'inherit' | 'ignore';
-type StdioOption = StdioBaseOption | StdioBaseOption[];
-
-interface SpawnOptions {
-  cwd?: string;
-  detached?: boolean;
-  stdio?: StdioOption;
-}
-
-const DEFAULT_OPTIONS: SpawnOptions = {
-  cwd: process.cwd(),
-  detached: true,
-  stdio: 'inherit',
-};
-
-function getBufferContent(chunks: Uint8Array[]): string {
-  return Buffer.concat(chunks).toString('utf8');
-}
-
-export function spawn(
-  cmd: string,
-  args: string[],
-  options: SpawnOptions,
-): Promise<string> {
-  const stdout: Uint8Array[] = [];
-
-  return new Promise((resolve, reject) => {
-    const child = crossSpawn(process.execPath, [cmd, ...args], {
-      ...DEFAULT_OPTIONS,
-      ...options,
-    });
-
-    if (child.stdout) {
-      child.stdout.on('data', (chunk: Uint8Array) => {
-        stdout.push(chunk);
-      });
-    }
-
-    child.on('close', (code) => {
-      if (code !== 0) {
-        const err = new Error(
-          `${cmd} exited with an error (code ${
-            code ? code.toString() : 'unknown'
-          }).`,
-        );
-        reject(err);
-        return;
-      }
-
-      resolve(getBufferContent(stdout));
-    });
-
-    child.on('error', (err) => {
-      reject(err);
-    });
-  });
-}
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/foundry/src/lint-staged.ts.html b/coverage/foundry/src/lint-staged.ts.html deleted file mode 100644 index 26374cfe..00000000 --- a/coverage/foundry/src/lint-staged.ts.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - Code coverage report for foundry/src/lint-staged.ts - - - - - - - - - -
-
-

All files / foundry/src lint-staged.ts

-
- -
- 0% - Statements - 0/18 -
- - -
- 0% - Branches - 0/1 -
- - -
- 0% - Functions - 0/1 -
- - -
- 0% - Lines - 0/18 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
/**
- * Copyright 2019, SumUp Ltd.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { config } from './configs/lint-staged/config';
-
-export = config;
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/foundry/src/presets/index.html b/coverage/foundry/src/presets/index.html deleted file mode 100644 index c28d1ea3..00000000 --- a/coverage/foundry/src/presets/index.html +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - Code coverage report for foundry/src/presets - - - - - - - - - -
-
-

All files foundry/src/presets

-
- -
- 100% - Statements - 43/43 -
- - -
- 100% - Branches - 1/1 -
- - -
- 100% - Functions - 1/1 -
- - -
- 100% - Lines - 43/43 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
index.ts -
-
100%43/43100%1/1100%1/1100%43/43
-
-
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/foundry/src/presets/index.ts.html b/coverage/foundry/src/presets/index.ts.html deleted file mode 100644 index f6c1e715..00000000 --- a/coverage/foundry/src/presets/index.ts.html +++ /dev/null @@ -1,214 +0,0 @@ - - - - - - Code coverage report for foundry/src/presets/index.ts - - - - - - - - - -
-
-

All files / foundry/src/presets index.ts

-
- -
- 100% - Statements - 43/43 -
- - -
- 100% - Branches - 1/1 -
- - -
- 100% - Functions - 1/1 -
- - -
- 100% - Lines - 43/43 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -441x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x - 
/**
- * Copyright 2020, SumUp Ltd.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
- 
-import chalk from 'chalk';
- 
-import { Preset, Tool, Prompt } from '../types/shared';
- 
-type PresetConfig = {
-  name: string;
-  value: Preset;
-  short: string;
-  tools: Tool[];
-  prompts?: Prompt[];
-};
- 
-const lint: PresetConfig = {
-  name: formatName(
-    'Lint',
-    'Check code for syntax errors and format it automatically',
-  ),
-  value: Preset.LINT,
-  short: 'Lint',
-  tools: [Tool.ESLINT, Tool.PRETTIER, Tool.HUSKY, Tool.LINT_STAGED],
-  prompts: [Prompt.OPEN_SOURCE],
-};
- 
-function formatName(name: string, description: string): string {
-  return [`${chalk.bold(name)}:`, description].join(' ');
-}
- 
-export const presets = { lint };
- 
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/foundry/src/prettier.ts.html b/coverage/foundry/src/prettier.ts.html deleted file mode 100644 index b99344d1..00000000 --- a/coverage/foundry/src/prettier.ts.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - Code coverage report for foundry/src/prettier.ts - - - - - - - - - -
-
-

All files / foundry/src prettier.ts

-
- -
- 100% - Statements - 18/18 -
- - -
- 100% - Branches - 0/0 -
- - -
- 100% - Functions - 0/0 -
- - -
- 100% - Lines - 18/18 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -191x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x - 
/**
- * Copyright 2019, SumUp Ltd.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
- 
-import { config } from './configs/prettier/config';
- 
-export = config;
- 
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/foundry/src/types/index.html b/coverage/foundry/src/types/index.html deleted file mode 100644 index a0216159..00000000 --- a/coverage/foundry/src/types/index.html +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - Code coverage report for foundry/src/types - - - - - - - - - -
-
-

All files foundry/src/types

-
- -
- 100% - Statements - 84/84 -
- - -
- 100% - Branches - 6/6 -
- - -
- 100% - Functions - 0/0 -
- - -
- 100% - Lines - 84/84 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
shared.ts -
-
100%84/84100%6/6100%0/0100%84/84
-
-
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/foundry/src/types/shared.ts.html b/coverage/foundry/src/types/shared.ts.html deleted file mode 100644 index 81076e50..00000000 --- a/coverage/foundry/src/types/shared.ts.html +++ /dev/null @@ -1,337 +0,0 @@ - - - - - - Code coverage report for foundry/src/types/shared.ts - - - - - - - - - -
-
-

All files / foundry/src/types shared.ts

-
- -
- 100% - Statements - 84/84 -
- - -
- 100% - Branches - 6/6 -
- - -
- 100% - Functions - 0/0 -
- - -
- 100% - Lines - 84/84 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-

-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63 -64 -65 -66 -67 -68 -69 -70 -71 -72 -73 -74 -75 -76 -77 -78 -79 -80 -81 -82 -83 -84 -851x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x -1x - 
/**
- * Copyright 2020, SumUp Ltd.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
- 
-import type { NormalizedPackageJson } from 'read-pkg-up';
- 
-export enum Preset {
-  LINT = 'lint',
-}
- 
-export enum Tool {
-  ESLINT = 'eslint',
-  PRETTIER = 'prettier',
-  HUSKY = 'husky',
-  LINT_STAGED = 'lint-staged',
-}
- 
-export enum Prompt {
-  OPEN_SOURCE = 'open-source',
-}
- 
-export enum Language {
-  TYPESCRIPT = 'TypeScript',
-  JAVASCRIPT = 'JavaScript',
-}
- 
-export enum Environment {
-  NODE = 'Node',
-  BROWSER = 'Browser',
-}
- 
-export enum Framework {
-  REACT = 'React',
-  NEXT_JS = 'Next.js',
-  EMOTION = 'Emotion',
-  JEST = 'Jest',
-  TESTING_LIBRARY = 'Testing Library',
-  CYPRESS = 'Cypress',
-  PLAYWRIGHT = 'Playwright',
-  STORYBOOK = 'Storybook',
-}
- 
-export interface Options {
-  language?: Language;
-  environments?: Environment[];
-  frameworks?: Framework[];
-  openSource?: boolean;
-  publish?: boolean;
-}
- 
-export interface InitOptions extends Options {
-  configDir: string;
-  overwrite?: boolean;
-}
- 
-export type File = {
-  name: string;
-  content: string;
-  overwrite?: boolean;
-};
- 
-export type Script = {
-  name: string;
-  command: string;
-  description: string;
-};
- 
-export interface ToolOptions {
-  files?: (options: InitOptions) => File[];
-  scripts?: (options: InitOptions) => Script[];
-}
- 
-export type PackageJson = NormalizedPackageJson;
- 
- -
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/index.html b/coverage/index.html deleted file mode 100644 index 7227534e..00000000 --- a/coverage/index.html +++ /dev/null @@ -1,266 +0,0 @@ - - - - - - Code coverage report for All files - - - - - - - - - -
-
-

All files

-
- -
- 63.45% - Statements - 1252/1973 -
- - -
- 90.56% - Branches - 96/106 -
- - -
- 47.16% - Functions - 25/53 -
- - -
- 63.45% - Lines - 1252/1973 -
- - -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
foundry -
-
0%0/380%0/20%0/20%0/38
foundry/src -
-
25%18/720%0/30%0/325%18/72
foundry/src/cli -
-
17.41%93/53466.66%4/612.5%1/817.41%93/534
foundry/src/configs -
-
100%28/28100%0/0100%0/0100%28/28
foundry/src/configs/eslint -
-
92.29%515/55897.14%34/3580%8/1092.29%515/558
foundry/src/configs/husky -
-
90.74%49/54100%1/150%1/290.74%49/54
foundry/src/configs/lint-staged -
-
91.17%62/68100%1/133.33%1/391.17%62/68
foundry/src/configs/prettier -
-
80.59%54/67100%1/150%1/280.59%54/67
foundry/src/lib -
-
71.66%306/42796%48/5054.54%12/2271.66%306/427
foundry/src/presets -
-
100%43/43100%1/1100%1/1100%43/43
foundry/src/types -
-
100%84/84100%6/6100%0/0100%84/84
-
-
-
- - - - - - - - \ No newline at end of file diff --git a/coverage/prettify.css b/coverage/prettify.css deleted file mode 100644 index b317a7cd..00000000 --- a/coverage/prettify.css +++ /dev/null @@ -1 +0,0 @@ -.pln{color:#000}@media screen{.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun,.opn,.clo{color:#440}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style-type:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee} diff --git a/coverage/prettify.js b/coverage/prettify.js deleted file mode 100644 index b3225238..00000000 --- a/coverage/prettify.js +++ /dev/null @@ -1,2 +0,0 @@ -/* eslint-disable */ -window.PR_SHOULD_USE_CONTINUATION=true;(function(){var h=["break,continue,do,else,for,if,return,while"];var u=[h,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"];var p=[u,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"];var l=[p,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"];var x=[p,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"];var R=[x,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"];var r="all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,true,try,unless,until,when,while,yes";var w=[p,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"];var s="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END";var I=[h,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"];var f=[h,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"];var H=[h,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"];var A=[l,R,w,s+I,f,H];var e=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/;var C="str";var z="kwd";var j="com";var O="typ";var G="lit";var L="pun";var F="pln";var m="tag";var E="dec";var J="src";var P="atn";var n="atv";var N="nocode";var M="(?:^^\\.?|[+-]|\\!|\\!=|\\!==|\\#|\\%|\\%=|&|&&|&&=|&=|\\(|\\*|\\*=|\\+=|\\,|\\-=|\\->|\\/|\\/=|:|::|\\;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|\\?|\\@|\\[|\\^|\\^=|\\^\\^|\\^\\^=|\\{|\\||\\|=|\\|\\||\\|\\|=|\\~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function k(Z){var ad=0;var S=false;var ac=false;for(var V=0,U=Z.length;V122)){if(!(al<65||ag>90)){af.push([Math.max(65,ag)|32,Math.min(al,90)|32])}if(!(al<97||ag>122)){af.push([Math.max(97,ag)&~32,Math.min(al,122)&~32])}}}}af.sort(function(av,au){return(av[0]-au[0])||(au[1]-av[1])});var ai=[];var ap=[NaN,NaN];for(var ar=0;arat[0]){if(at[1]+1>at[0]){an.push("-")}an.push(T(at[1]))}}an.push("]");return an.join("")}function W(al){var aj=al.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g"));var ah=aj.length;var an=[];for(var ak=0,am=0;ak=2&&ai==="["){aj[ak]=X(ag)}else{if(ai!=="\\"){aj[ak]=ag.replace(/[a-zA-Z]/g,function(ao){var ap=ao.charCodeAt(0);return"["+String.fromCharCode(ap&~32,ap|32)+"]"})}}}}return aj.join("")}var aa=[];for(var V=0,U=Z.length;V=0;){S[ac.charAt(ae)]=Y}}var af=Y[1];var aa=""+af;if(!ag.hasOwnProperty(aa)){ah.push(af);ag[aa]=null}}ah.push(/[\0-\uffff]/);V=k(ah)})();var X=T.length;var W=function(ah){var Z=ah.sourceCode,Y=ah.basePos;var ad=[Y,F];var af=0;var an=Z.match(V)||[];var aj={};for(var ae=0,aq=an.length;ae=5&&"lang-"===ap.substring(0,5);if(am&&!(ai&&typeof ai[1]==="string")){am=false;ap=J}if(!am){aj[ag]=ap}}var ab=af;af+=ag.length;if(!am){ad.push(Y+ab,ap)}else{var al=ai[1];var ak=ag.indexOf(al);var ac=ak+al.length;if(ai[2]){ac=ag.length-ai[2].length;ak=ac-al.length}var ar=ap.substring(5);B(Y+ab,ag.substring(0,ak),W,ad);B(Y+ab+ak,al,q(ar,al),ad);B(Y+ab+ac,ag.substring(ac),W,ad)}}ah.decorations=ad};return W}function i(T){var W=[],S=[];if(T.tripleQuotedStrings){W.push([C,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,"'\""])}else{if(T.multiLineStrings){W.push([C,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"])}else{W.push([C,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,"\"'"])}}if(T.verbatimStrings){S.push([C,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null])}var Y=T.hashComments;if(Y){if(T.cStyleComments){if(Y>1){W.push([j,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"])}else{W.push([j,/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"])}S.push([C,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,null])}else{W.push([j,/^#[^\r\n]*/,null,"#"])}}if(T.cStyleComments){S.push([j,/^\/\/[^\r\n]*/,null]);S.push([j,/^\/\*[\s\S]*?(?:\*\/|$)/,null])}if(T.regexLiterals){var X=("/(?=[^/*])(?:[^/\\x5B\\x5C]|\\x5C[\\s\\S]|\\x5B(?:[^\\x5C\\x5D]|\\x5C[\\s\\S])*(?:\\x5D|$))+/");S.push(["lang-regex",new RegExp("^"+M+"("+X+")")])}var V=T.types;if(V){S.push([O,V])}var U=(""+T.keywords).replace(/^ | $/g,"");if(U.length){S.push([z,new RegExp("^(?:"+U.replace(/[\s,]+/g,"|")+")\\b"),null])}W.push([F,/^\s+/,null," \r\n\t\xA0"]);S.push([G,/^@[a-z_$][a-z_$@0-9]*/i,null],[O,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[F,/^[a-z_$][a-z_$@0-9]*/i,null],[G,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[F,/^\\[\s\S]?/,null],[L,/^.[^\s\w\.$@\'\"\`\/\#\\]*/,null]);return g(W,S)}var K=i({keywords:A,hashComments:true,cStyleComments:true,multiLineStrings:true,regexLiterals:true});function Q(V,ag){var U=/(?:^|\s)nocode(?:\s|$)/;var ab=/\r\n?|\n/;var ac=V.ownerDocument;var S;if(V.currentStyle){S=V.currentStyle.whiteSpace}else{if(window.getComputedStyle){S=ac.defaultView.getComputedStyle(V,null).getPropertyValue("white-space")}}var Z=S&&"pre"===S.substring(0,3);var af=ac.createElement("LI");while(V.firstChild){af.appendChild(V.firstChild)}var W=[af];function ae(al){switch(al.nodeType){case 1:if(U.test(al.className)){break}if("BR"===al.nodeName){ad(al);if(al.parentNode){al.parentNode.removeChild(al)}}else{for(var an=al.firstChild;an;an=an.nextSibling){ae(an)}}break;case 3:case 4:if(Z){var am=al.nodeValue;var aj=am.match(ab);if(aj){var ai=am.substring(0,aj.index);al.nodeValue=ai;var ah=am.substring(aj.index+aj[0].length);if(ah){var ak=al.parentNode;ak.insertBefore(ac.createTextNode(ah),al.nextSibling)}ad(al);if(!ai){al.parentNode.removeChild(al)}}}break}}function ad(ak){while(!ak.nextSibling){ak=ak.parentNode;if(!ak){return}}function ai(al,ar){var aq=ar?al.cloneNode(false):al;var ao=al.parentNode;if(ao){var ap=ai(ao,1);var an=al.nextSibling;ap.appendChild(aq);for(var am=an;am;am=an){an=am.nextSibling;ap.appendChild(am)}}return aq}var ah=ai(ak.nextSibling,0);for(var aj;(aj=ah.parentNode)&&aj.nodeType===1;){ah=aj}W.push(ah)}for(var Y=0;Y=S){ah+=2}if(V>=ap){Z+=2}}}var t={};function c(U,V){for(var S=V.length;--S>=0;){var T=V[S];if(!t.hasOwnProperty(T)){t[T]=U}else{if(window.console){console.warn("cannot override language handler %s",T)}}}}function q(T,S){if(!(T&&t.hasOwnProperty(T))){T=/^\s*]*(?:>|$)/],[j,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[L,/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]);c(g([[F,/^[\s]+/,null," \t\r\n"],[n,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,"\"'"]],[[m,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[P,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[L,/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]);c(g([],[[n,/^[\s\S]+/]]),["uq.val"]);c(i({keywords:l,hashComments:true,cStyleComments:true,types:e}),["c","cc","cpp","cxx","cyc","m"]);c(i({keywords:"null,true,false"}),["json"]);c(i({keywords:R,hashComments:true,cStyleComments:true,verbatimStrings:true,types:e}),["cs"]);c(i({keywords:x,cStyleComments:true}),["java"]);c(i({keywords:H,hashComments:true,multiLineStrings:true}),["bsh","csh","sh"]);c(i({keywords:I,hashComments:true,multiLineStrings:true,tripleQuotedStrings:true}),["cv","py"]);c(i({keywords:s,hashComments:true,multiLineStrings:true,regexLiterals:true}),["perl","pl","pm"]);c(i({keywords:f,hashComments:true,multiLineStrings:true,regexLiterals:true}),["rb"]);c(i({keywords:w,cStyleComments:true,regexLiterals:true}),["js"]);c(i({keywords:r,hashComments:3,cStyleComments:true,multilineStrings:true,tripleQuotedStrings:true,regexLiterals:true}),["coffee"]);c(g([],[[C,/^[\s\S]+/]]),["regex"]);function d(V){var U=V.langExtension;try{var S=a(V.sourceNode);var T=S.sourceCode;V.sourceCode=T;V.spans=S.spans;V.basePos=0;q(U,T)(V);D(V)}catch(W){if("console" in window){console.log(W&&W.stack?W.stack:W)}}}function y(W,V,U){var S=document.createElement("PRE");S.innerHTML=W;if(U){Q(S,U)}var T={langExtension:V,numberLines:U,sourceNode:S};d(T);return S.innerHTML}function b(ad){function Y(af){return document.getElementsByTagName(af)}var ac=[Y("pre"),Y("code"),Y("xmp")];var T=[];for(var aa=0;aa=0){var ah=ai.match(ab);var am;if(!ah&&(am=o(aj))&&"CODE"===am.tagName){ah=am.className.match(ab)}if(ah){ah=ah[1]}var al=false;for(var ak=aj.parentNode;ak;ak=ak.parentNode){if((ak.tagName==="pre"||ak.tagName==="code"||ak.tagName==="xmp")&&ak.className&&ak.className.indexOf("prettyprint")>=0){al=true;break}}if(!al){var af=aj.className.match(/\blinenums\b(?::(\d+))?/);af=af?af[1]&&af[1].length?+af[1]:true:false;if(af){Q(aj,af)}S={langExtension:ah,sourceNode:aj,numberLines:af};d(S)}}}if(X]*(?:>|$)/],[PR.PR_COMMENT,/^<\!--[\s\S]*?(?:-\->|$)/],[PR.PR_PUNCTUATION,/^(?:<[%?]|[%?]>)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],["lang-",/^]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-handlebars",/^]*type\s*=\s*['"]?text\/x-handlebars-template['"]?\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-js",/^]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i],[PR.PR_DECLARATION,/^{{[#^>/]?\s*[\w.][^}]*}}/],[PR.PR_DECLARATION,/^{{&?\s*[\w.][^}]*}}/],[PR.PR_DECLARATION,/^{{{>?\s*[\w.][^}]*}}}/],[PR.PR_COMMENT,/^{{![^}]*}}/]]),["handlebars","hbs"]);PR.registerLangHandler(PR.createSimpleLexer([[PR.PR_PLAIN,/^[ \t\r\n\f]+/,null," \t\r\n\f"]],[[PR.PR_STRING,/^\"(?:[^\n\r\f\\\"]|\\(?:\r\n?|\n|\f)|\\[\s\S])*\"/,null],[PR.PR_STRING,/^\'(?:[^\n\r\f\\\']|\\(?:\r\n?|\n|\f)|\\[\s\S])*\'/,null],["lang-css-str",/^url\(([^\)\"\']*)\)/i],[PR.PR_KEYWORD,/^(?:url|rgb|\!important|@import|@page|@media|@charset|inherit)(?=[^\-\w]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|(?:\\[0-9a-f]+ ?))(?:[_a-z0-9\-]|\\(?:\\[0-9a-f]+ ?))*)\s*:/i],[PR.PR_COMMENT,/^\/\*[^*]*\*+(?:[^\/*][^*]*\*+)*\//],[PR.PR_COMMENT,/^(?:)/],[PR.PR_LITERAL,/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],[PR.PR_LITERAL,/^#(?:[0-9a-f]{3}){1,2}/i],[PR.PR_PLAIN,/^-?(?:[_a-z]|(?:\\[\da-f]+ ?))(?:[_a-z\d\-]|\\(?:\\[\da-f]+ ?))*/i],[PR.PR_PUNCTUATION,/^[^\s\w\'\"]+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[[PR.PR_KEYWORD,/^-?(?:[_a-z]|(?:\\[\da-f]+ ?))(?:[_a-z\d\-]|\\(?:\\[\da-f]+ ?))*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[[PR.PR_STRING,/^[^\)\"\']+/]]),["css-str"]); diff --git a/coverage/sort-arrow-sprite.png b/coverage/sort-arrow-sprite.png deleted file mode 100644 index 6ed68316eb3f65dec9063332d2f69bf3093bbfab..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 138 zcmeAS@N?(olHy`uVBq!ia0vp^>_9Bd!3HEZxJ@+%Qh}Z>jv*C{$p!i!8j}?a+@3A= zIAGwzjijN=FBi!|L1t?LM;Q;gkwn>2cAy-KV{dn nf0J1DIvEHQu*n~6U}x}qyky7vi4|9XhBJ7&`njxgN@xNA8m%nc diff --git a/coverage/sorter.js b/coverage/sorter.js deleted file mode 100644 index 2bb296a8..00000000 --- a/coverage/sorter.js +++ /dev/null @@ -1,196 +0,0 @@ -/* eslint-disable */ -var addSorting = (function() { - 'use strict'; - var cols, - currentSort = { - index: 0, - desc: false - }; - - // returns the summary table element - function getTable() { - return document.querySelector('.coverage-summary'); - } - // returns the thead element of the summary table - function getTableHeader() { - return getTable().querySelector('thead tr'); - } - // returns the tbody element of the summary table - function getTableBody() { - return getTable().querySelector('tbody'); - } - // returns the th element for nth column - function getNthColumn(n) { - return getTableHeader().querySelectorAll('th')[n]; - } - - function onFilterInput() { - const searchValue = document.getElementById('fileSearch').value; - const rows = document.getElementsByTagName('tbody')[0].children; - for (let i = 0; i < rows.length; i++) { - const row = rows[i]; - if ( - row.textContent - .toLowerCase() - .includes(searchValue.toLowerCase()) - ) { - row.style.display = ''; - } else { - row.style.display = 'none'; - } - } - } - - // loads the search box - function addSearchBox() { - var template = document.getElementById('filterTemplate'); - var templateClone = template.content.cloneNode(true); - templateClone.getElementById('fileSearch').oninput = onFilterInput; - template.parentElement.appendChild(templateClone); - } - - // loads all columns - function loadColumns() { - var colNodes = getTableHeader().querySelectorAll('th'), - colNode, - cols = [], - col, - i; - - for (i = 0; i < colNodes.length; i += 1) { - colNode = colNodes[i]; - col = { - key: colNode.getAttribute('data-col'), - sortable: !colNode.getAttribute('data-nosort'), - type: colNode.getAttribute('data-type') || 'string' - }; - cols.push(col); - if (col.sortable) { - col.defaultDescSort = col.type === 'number'; - colNode.innerHTML = - colNode.innerHTML + ''; - } - } - return cols; - } - // attaches a data attribute to every tr element with an object - // of data values keyed by column name - function loadRowData(tableRow) { - var tableCols = tableRow.querySelectorAll('td'), - colNode, - col, - data = {}, - i, - val; - for (i = 0; i < tableCols.length; i += 1) { - colNode = tableCols[i]; - col = cols[i]; - val = colNode.getAttribute('data-value'); - if (col.type === 'number') { - val = Number(val); - } - data[col.key] = val; - } - return data; - } - // loads all row data - function loadData() { - var rows = getTableBody().querySelectorAll('tr'), - i; - - for (i = 0; i < rows.length; i += 1) { - rows[i].data = loadRowData(rows[i]); - } - } - // sorts the table using the data for the ith column - function sortByIndex(index, desc) { - var key = cols[index].key, - sorter = function(a, b) { - a = a.data[key]; - b = b.data[key]; - return a < b ? -1 : a > b ? 1 : 0; - }, - finalSorter = sorter, - tableBody = document.querySelector('.coverage-summary tbody'), - rowNodes = tableBody.querySelectorAll('tr'), - rows = [], - i; - - if (desc) { - finalSorter = function(a, b) { - return -1 * sorter(a, b); - }; - } - - for (i = 0; i < rowNodes.length; i += 1) { - rows.push(rowNodes[i]); - tableBody.removeChild(rowNodes[i]); - } - - rows.sort(finalSorter); - - for (i = 0; i < rows.length; i += 1) { - tableBody.appendChild(rows[i]); - } - } - // removes sort indicators for current column being sorted - function removeSortIndicators() { - var col = getNthColumn(currentSort.index), - cls = col.className; - - cls = cls.replace(/ sorted$/, '').replace(/ sorted-desc$/, ''); - col.className = cls; - } - // adds sort indicators for current column being sorted - function addSortIndicators() { - getNthColumn(currentSort.index).className += currentSort.desc - ? ' sorted-desc' - : ' sorted'; - } - // adds event listeners for all sorter widgets - function enableUI() { - var i, - el, - ithSorter = function ithSorter(i) { - var col = cols[i]; - - return function() { - var desc = col.defaultDescSort; - - if (currentSort.index === i) { - desc = !currentSort.desc; - } - sortByIndex(i, desc); - removeSortIndicators(); - currentSort.index = i; - currentSort.desc = desc; - addSortIndicators(); - }; - }; - for (i = 0; i < cols.length; i += 1) { - if (cols[i].sortable) { - // add the click event handler on the th so users - // dont have to click on those tiny arrows - el = getNthColumn(i).querySelector('.sorter').parentElement; - if (el.addEventListener) { - el.addEventListener('click', ithSorter(i)); - } else { - el.attachEvent('onclick', ithSorter(i)); - } - } - } - } - // adds sorting functionality to the UI - return function() { - if (!getTable()) { - return; - } - cols = loadColumns(); - loadData(); - addSearchBox(); - addSortIndicators(); - enableUI(); - }; -})(); - -window.addEventListener('load', addSorting);