|
| 1 | +# Changelog |
| 2 | + |
| 3 | +This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver). |
| 4 | + |
| 5 | +# 0.1.0 (2023-12-01) |
| 6 | + |
| 7 | +### Bug Fixes |
| 8 | + |
| 9 | +- **cli-e2e:** re-create package-lock.json ([8a99ec0](https://github.com/code-pushup/cli/commit/8a99ec035c845b17573b7bd6ceac8332f282ccf9)) |
| 10 | +- **cli:** changed persist format options to array ([#153](https://github.com/code-pushup/cli/issues/153)) ([26c6a85](https://github.com/code-pushup/cli/commit/26c6a859608447d486c5e180788077f1e7955392)), closes [#95](https://github.com/code-pushup/cli/issues/95) |
| 11 | +- **cli:** exclude nested kebab-case keys, update tests ([741d5a5](https://github.com/code-pushup/cli/commit/741d5a545a0333ea4dc747c9ab8255fc233bab56)) |
| 12 | +- **cli:** parse multiple config args to last item of array ([#164](https://github.com/code-pushup/cli/issues/164)) ([7c81f81](https://github.com/code-pushup/cli/commit/7c81f8113999e2bb68739cc9a6ee008e9db62bfb)), closes [#146](https://github.com/code-pushup/cli/issues/146) |
| 13 | +- **cli:** replace clui on @isaacs/cliui ([#282](https://github.com/code-pushup/cli/issues/282)) ([465f230](https://github.com/code-pushup/cli/commit/465f230133de3742d4f6d4bdeaf64d7db44e767f)), closes [#209](https://github.com/code-pushup/cli/issues/209) |
| 14 | +- **cli:** run `npm install` before tests ([6507c2e](https://github.com/code-pushup/cli/commit/6507c2e9c2e4105144c03ef74cdfbe1e999355a7)) |
| 15 | +- **core:** audit metadata looked up in plugin config, not expected in output ([31ffd5e](https://github.com/code-pushup/cli/commit/31ffd5e39cab3d5ddb997c92b7efafdc920c8359)) |
| 16 | +- **core:** include package.json data ([0fef0c3](https://github.com/code-pushup/cli/commit/0fef0c3b784454a2ab2d9e0fb65f132e8ee8e196)) |
| 17 | +- formatting ([7e5e743](https://github.com/code-pushup/cli/commit/7e5e743343210b0db705b72022ac4fc86a3b8365)) |
| 18 | +- lint config and errors ([6f5f677](https://github.com/code-pushup/cli/commit/6f5f6779a37359fdde2740fa42e44e7320fa190c)) |
| 19 | +- **models:** add package.lock ([8075613](https://github.com/code-pushup/cli/commit/80756135f2a1562da0a161d20fd7d329c3ee5520)) |
| 20 | +- **models:** allow empty string as docsUrl ([1c34d92](https://github.com/code-pushup/cli/commit/1c34d923b06eec7f19bd97d93fdd109a4a40da1c)) |
| 21 | +- **models:** increase character limit for issue message ([e6f6fc8](https://github.com/code-pushup/cli/commit/e6f6fc83ad6d4419339c64e4924abd23f7d1b3d4)) |
| 22 | +- **plugin-eslint:** allow unmatched patterns ([d350187](https://github.com/code-pushup/cli/commit/d350187109205788eaefd3ee280f5f80a9896cd7)) |
| 23 | +- **plugin-eslint:** ensure runner output directory exists ([fca87f5](https://github.com/code-pushup/cli/commit/fca87f582ccce7a6c09f823fe03d14809a878fb4)) |
| 24 | +- **plugin-eslint:** ensure working directory exists before writing .eslintrc.json ([3f19d6f](https://github.com/code-pushup/cli/commit/3f19d6f7ecc8fe69dd717cdb2a9912d6a1c53033)) |
| 25 | +- **plugin-eslint:** exclude rules which are turned off ([f2cc454](https://github.com/code-pushup/cli/commit/f2cc45424b3d14e4b0c7c9964d8be9288af1f0c4)) |
| 26 | +- **plugin-eslint:** handle implicitly relative config paths ([39a7d43](https://github.com/code-pushup/cli/commit/39a7d43cb900607bacb21764540f5b0a5fcf418a)) |
| 27 | +- **plugin-eslint:** omit empty docsUrl in audit metadata ([3127683](https://github.com/code-pushup/cli/commit/3127683b59bd328f085ff1c558db02d985e4b5cd)) |
| 28 | +- **plugin-eslint:** pluralize audit display value based on count ([aa35d0c](https://github.com/code-pushup/cli/commit/aa35d0cc00e505f71ccdaa6612f498d95a88c4ea)) |
| 29 | +- refactor after core package intro ([#83](https://github.com/code-pushup/cli/issues/83)) ([aa39d09](https://github.com/code-pushup/cli/commit/aa39d098c53f7de958509ad465c18b6bee5ec4b9)) |
| 30 | +- sync package-lock.json with `npm install` ([0fde5f3](https://github.com/code-pushup/cli/commit/0fde5f318b9b110bd308181b21da063bab961832)) |
| 31 | +- **testing:** fix tests for Windows ([#165](https://github.com/code-pushup/cli/issues/165)) ([b80255b](https://github.com/code-pushup/cli/commit/b80255b5ed93c9cb6312d8c426a82f4b8bd1cdf3)), closes [#131](https://github.com/code-pushup/cli/issues/131) |
| 32 | +- **utils,cli:** remove all mentions of the `interactive` option ([#245](https://github.com/code-pushup/cli/issues/245)) ([be7471e](https://github.com/code-pushup/cli/commit/be7471ee8aadf6a6a6c1af2e3ceb35e48a372759)), closes [#120](https://github.com/code-pushup/cli/issues/120) |
| 33 | +- **utils:** handle descriptions ending in code block in report.md ([a9a05ad](https://github.com/code-pushup/cli/commit/a9a05ade4d57a24b364cf6e10ba08d35f89e9a95)) |
| 34 | + |
| 35 | +### Features |
| 36 | + |
| 37 | +- add transform to persist config ([#229](https://github.com/code-pushup/cli/issues/229)) ([ce4d975](https://github.com/code-pushup/cli/commit/ce4d975feafeea1249faf58a3acbbfc1483d8c90)) |
| 38 | +- **cli:** add `--persist.filename` cli option ([#187](https://github.com/code-pushup/cli/issues/187)) ([296df7d](https://github.com/code-pushup/cli/commit/296df7df42afcb656f33a657b7d1820a75208824)) |
| 39 | +- **cli:** disabled version option ([#162](https://github.com/code-pushup/cli/issues/162)) ([9a5371c](https://github.com/code-pushup/cli/commit/9a5371cdef6f1148d0230aaa866b4e9d3e0bdba0)), closes [#124](https://github.com/code-pushup/cli/issues/124) |
| 40 | +- **cli:** initial collect command ([#45](https://github.com/code-pushup/cli/issues/45)) ([ba048be](https://github.com/code-pushup/cli/commit/ba048be5f3e9b4291ae6311051cda89403186795)) |
| 41 | +- **cli:** introduce the `onlyPlugins` option ([#246](https://github.com/code-pushup/cli/issues/246)) ([13c9d26](https://github.com/code-pushup/cli/commit/13c9d26c24f3dd8bc97f62298231487d01b0ffa5)), closes [#119](https://github.com/code-pushup/cli/issues/119) |
| 42 | +- **cli:** persist login and formatting options ([#47](https://github.com/code-pushup/cli/issues/47)) ([6241fd7](https://github.com/code-pushup/cli/commit/6241fd7412f33a8d40183b40f8ed7e39e85278dd)) |
| 43 | +- **cli:** setup yargs for cli ([#42](https://github.com/code-pushup/cli/issues/42)) ([37ea0a5](https://github.com/code-pushup/cli/commit/37ea0a56c987ef38cf7e961d885c711b32de777a)), closes [#6](https://github.com/code-pushup/cli/issues/6) [#38](https://github.com/code-pushup/cli/issues/38) |
| 44 | +- **cli:** use bundle-require instead of jiti (no hackfix, but also no CJS configs) ([028c592](https://github.com/code-pushup/cli/commit/028c592817b8440e0af5ce1f72e8fffde2f11314)) |
| 45 | +- configure build and tests to handle ESM and CJS configs ([48cd967](https://github.com/code-pushup/cli/commit/48cd967866a84488e6a2382fe44687a31ca47db2)) |
| 46 | +- **core:** add core package ([dd8ddae](https://github.com/code-pushup/cli/commit/dd8ddaeaaf91534261f0416e15b79fe924a4a798)) |
| 47 | +- **core:** add esm plugin logic ([#248](https://github.com/code-pushup/cli/issues/248)) ([18d4e3a](https://github.com/code-pushup/cli/commit/18d4e3af31bc10a55b01fc8201d83c6caf0548e3)) |
| 48 | +- **core:** change to execute all plugins before throwing on failed ([#275](https://github.com/code-pushup/cli/issues/275)) ([32a6ef5](https://github.com/code-pushup/cli/commit/32a6ef55444b28ef6468eb2b38facd5f1c554a80)), closes [#159](https://github.com/code-pushup/cli/issues/159) |
| 49 | +- **models:** add isBinary field to category schema ([8b13039](https://github.com/code-pushup/cli/commit/8b130390059a9986fd06f9c9fc2415ad7963da5b)) |
| 50 | +- **models:** add report filename option ([#174](https://github.com/code-pushup/cli/issues/174)) ([bdeab54](https://github.com/code-pushup/cli/commit/bdeab543c305d7c100762b0e490b292468eac172)) |
| 51 | +- **models:** setup types and parser with zod ([7d5c99e](https://github.com/code-pushup/cli/commit/7d5c99e47d026167914a265941c710eed5fd84a2)) |
| 52 | +- **models:** validate plugin icons using portal-client package ([f52cc75](https://github.com/code-pushup/cli/commit/f52cc75ed766e47e1d9f82fda1560e0085b3c02e)) |
| 53 | +- **nx-plugin:** add configuration generator ([#294](https://github.com/code-pushup/cli/issues/294)) ([ee21143](https://github.com/code-pushup/cli/commit/ee21143f3128be606779b5224b35a329b092399f)), closes [#61](https://github.com/code-pushup/cli/issues/61) |
| 54 | +- **nx-plugin:** initial setup and init command ([#51](https://github.com/code-pushup/cli/issues/51)) ([c8dd4d9](https://github.com/code-pushup/cli/commit/c8dd4d95fc8869df697bcc18e73c6cb93f05ba6a)), closes [#9](https://github.com/code-pushup/cli/issues/9) |
| 55 | +- **plugin-eslint:** add support for inline eslint config ([67571eb](https://github.com/code-pushup/cli/commit/67571eb529ade91a77e2c739a3995674e52701af)) |
| 56 | +- **plugin-eslint:** configure bin entry point ([b34ecb2](https://github.com/code-pushup/cli/commit/b34ecb224ff0182aab40811e1abdfe1f5446efcd)) |
| 57 | +- **plugin-eslint:** convert rule ids to slugs, add basic description to audits ([971c97a](https://github.com/code-pushup/cli/commit/971c97a49b583f61b9e6eb8500c4712687f5797a)) |
| 58 | +- **plugin-eslint:** create groups from rules' meta.docs.category (per plugin) ([56e129c](https://github.com/code-pushup/cli/commit/56e129c58be4c0544bc1c9dffec1f7ce09260254)) |
| 59 | +- **plugin-eslint:** create groups from rules' meta.type (problem/suggestion/layout) ([0350e49](https://github.com/code-pushup/cli/commit/0350e492c26015097ef94fb51eb15d7d334a5080)) |
| 60 | +- **plugin-eslint:** implement runner logic ([0ad5445](https://github.com/code-pushup/cli/commit/0ad5445e427fd365e6e039d3aa13a3a5e7c1d47e)) |
| 61 | +- **plugin-eslint:** include NPM package name and version ([25bda11](https://github.com/code-pushup/cli/commit/25bda113f31c20cc98832ed2f112abe0e058b54c)) |
| 62 | +- **plugin-eslint:** register audit metadata based on eslintrc and file patterns ([3aac581](https://github.com/code-pushup/cli/commit/3aac581acb5955b673641ee9df52e6a99656b07b)) |
| 63 | +- **plugin-eslint:** rule options used to identify audit, options in slug (hash) and description ([b9f51c9](https://github.com/code-pushup/cli/commit/b9f51c97d40cbfe7c62f85c4a289ad2528f1fba1)) |
| 64 | +- **plugin-eslint:** validate initializer params with Zod ([56e1aee](https://github.com/code-pushup/cli/commit/56e1aeeedec220fb5f68de9c3fa0eb309fbd2cf2)) |
| 65 | +- support top-level await in config files ([7712250](https://github.com/code-pushup/cli/commit/7712250320a93ce61436476f41a247616adf540e)) |
| 66 | +- support TS config files using Jiti + hackfix lighthouse import.meta usages ([3b7927d](https://github.com/code-pushup/cli/commit/3b7927d65d4607a35dc23d076e72184c281ae8f6)) |
| 67 | +- **utils:** add audits sorting for reports ([#302](https://github.com/code-pushup/cli/issues/302)) ([10ee12e](https://github.com/code-pushup/cli/commit/10ee12e8138fa0dd71b0e0acb2d717327e22007c)), closes [#210](https://github.com/code-pushup/cli/issues/210) |
| 68 | +- **utils:** add command line args helper ([#52](https://github.com/code-pushup/cli/issues/52)) ([9d6acec](https://github.com/code-pushup/cli/commit/9d6aceccb85a4c4cc71319e4c8d14a9ff2897e8e)), closes [#43](https://github.com/code-pushup/cli/issues/43) |
| 69 | +- **utils:** add file size logging ([#65](https://github.com/code-pushup/cli/issues/65)) ([c46046f](https://github.com/code-pushup/cli/commit/c46046f9756ea2d02e1d9bb7cc0bbfeff09e61a3)), closes [#59](https://github.com/code-pushup/cli/issues/59) |
| 70 | +- **utils:** add file-system helper ([#336](https://github.com/code-pushup/cli/issues/336)) ([001498b](https://github.com/code-pushup/cli/commit/001498b1f54460f77f46eaaa9033e4b04629c878)) |
| 71 | +- **utils:** add package `utils` for cli independent logic ([#39](https://github.com/code-pushup/cli/issues/39)) ([dacaaf7](https://github.com/code-pushup/cli/commit/dacaaf74fb4795a96083ca00fd3b7ca5d3928400)), closes [#32](https://github.com/code-pushup/cli/issues/32) |
| 72 | +- **utils:** add scoring logic ([#133](https://github.com/code-pushup/cli/issues/133)) ([89fecbb](https://github.com/code-pushup/cli/commit/89fecbba34d78b526b065de13fdb27e522bb4c3f)) |
| 73 | +- **utils:** add upload logic ([#66](https://github.com/code-pushup/cli/issues/66)) ([3e88ffc](https://github.com/code-pushup/cli/commit/3e88ffcbbe375f1fe01bdfd05c088253eeeb98d9)), closes [#21](https://github.com/code-pushup/cli/issues/21) [#57](https://github.com/code-pushup/cli/issues/57) [#85](https://github.com/code-pushup/cli/issues/85) |
| 74 | +- **utils:** implement a new design for stdout ([#206](https://github.com/code-pushup/cli/issues/206)) ([84b8c28](https://github.com/code-pushup/cli/commit/84b8c281dd0f2cfdacfc25f9f7b658a81828fde0)), closes [#190](https://github.com/code-pushup/cli/issues/190) |
| 75 | +- **utils:** implement report.md formatting ([#196](https://github.com/code-pushup/cli/issues/196)) ([346596d](https://github.com/code-pushup/cli/commit/346596dc44c7970e3a960222961ba61d0b2b646d)), closes [#148](https://github.com/code-pushup/cli/issues/148) |
| 76 | +- **utils:** implement verbose helper logic ([#121](https://github.com/code-pushup/cli/issues/121)) ([112ebe7](https://github.com/code-pushup/cli/commit/112ebe7d1cce68872398967ffaea84c6906bafed)) |
| 77 | +- **utils:** move parts from utils into core ([#81](https://github.com/code-pushup/cli/issues/81)) ([dd0a180](https://github.com/code-pushup/cli/commit/dd0a1805ddb97de14d7a4938938aa0bfd852a528)), closes [#78](https://github.com/code-pushup/cli/issues/78) |
| 78 | +- **utils:** update git latest commit functionality ([#205](https://github.com/code-pushup/cli/issues/205)) ([7ec4582](https://github.com/code-pushup/cli/commit/7ec45829a34127410e972a207e37ee03bc33d09a)), closes [#192](https://github.com/code-pushup/cli/issues/192) |
| 79 | + |
| 80 | +### Performance Improvements |
| 81 | + |
| 82 | +- **utils:** add benchmark logic and example ([#137](https://github.com/code-pushup/cli/issues/137)) ([142943e](https://github.com/code-pushup/cli/commit/142943e1000064a759dc0d0e8239849af32d263e)) |
| 83 | +- **utils:** improve the performance of scoring and reporting ([#212](https://github.com/code-pushup/cli/issues/212)) ([41d7c0b](https://github.com/code-pushup/cli/commit/41d7c0b442b7f73dbb0408fc704af27e4827855e)), closes [#132](https://github.com/code-pushup/cli/issues/132) |
0 commit comments