From 3a7b8e57629df027ab1c0da6b3ca3d32ad7f7f9c Mon Sep 17 00:00:00 2001 From: Sven Greb Date: Fri, 28 Apr 2023 18:36:48 +0200 Subject: [PATCH] Release version 0.12.0 --- changelog.md | 133 +++++++++++++++++- package-lock.json | 12 +- package.json | 2 +- .../@svengreb/eslint-config-base/index.js | 2 +- .../@svengreb/eslint-config-base/package.json | 2 +- .../eslint-config-typescript/index.js | 2 +- .../eslint-config-typescript/package.json | 2 +- packages/@svengreb/eslint-config/index.js | 2 +- packages/@svengreb/eslint-config/package.json | 4 +- 9 files changed, 141 insertions(+), 20 deletions(-) diff --git a/changelog.md b/changelog.md index d380977..11b2357 100644 --- a/changelog.md +++ b/changelog.md @@ -29,9 +29,84 @@ +# 0.12.0 + +![Release Date: 2023-04-28](https://img.shields.io/static/v1.svg?style=flat-square&label=Release%20Date&message=2023-04-28&colorA=4c566a&colorB=88c0d0) [![Project Board](https://img.shields.io/static/v1.svg?style=flat-square&label=Project%20Board&message=0.12.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/users/svengreb/projects/10/views/10) [![Milestone](https://img.shields.io/static/v1.svg?style=flat-square&label=Milestone&message=0.12.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/svengreb/styleguide-javascript/milestone/7) + +⇅ [Show all commits][243] + +## Improvements + +
+Update to tmpl template repository version 0.11.0 — #86 ⇄ #87 (⊶ cacc9fac) + +→ Updated to [`tmpl` version `0.11.0`][244], including the versions in between starting from [0.10.0][245]: + +1. [Optimized GitHub action workflow scope][246]. +2. [Updated Node.js packages & GitHub actions][247] [^1] [^2]. +3. [Opts-in the Dependabot version update configuration][248]. +4. [Migrated to Markdown style guide version 0.4.0][249]. + +This also includes changes required for any linter matches. + +
+ +
+svengreb GitHub account and @svengreb npm package scope migration — #88 ⇄ #89 (⊶ 61b554e7) + +→ With [the retirement of the _Arctic Ice Studio_ personal & Nord project brand][250] this project also moved to the _real-in-person_ identity “Sven Greb“ both in the context of the repository to [the `svengreb` GitHub account][251] and the `@svengreb` npm package scope. +During this migration the current npm packages [`@arcticicestudio/eslint-config-base`][253], [`@arcticicestudio/eslint-config`][253] and [`@arcticicestudio/eslint-config-typescript`][254] have been deprecated in favor of the new and upcoming [`@svengreb/eslint-config-base`][255], [`@svengreb/eslint-config`][256] and [`@svengreb/eslint-config-typescript`][257] packages that will be published afterwards. + +Also [the visual representation of this style guide][258] through the way too outdated and deprecated [GitBook][259] major version `2` has been unpublished and removed. The documentations and references have been updated to use the GitHub repository with the Markdown rendering instead for now until a custom website has been implemented using a modern _TechStack_ like [Next.js][260]. + +
+ +
+Migrate to @svengreb/remark-preset-lint npm package — #90 ⇄ #91 (⊶ 53538322) + +→ Before the used [`@arcticicestudio/remark-preset-lint` package][261] has been deprecated during [the `svengreb` GitHub account and `@svengreb` npm package scope migration][262] and replaced by the [new `@svengreb/remark-preset-lint` package][263]. + +
+ +
+Migrate to ESLint major version 8 — #92 ⇄ #93 (⊶ 19588e57) + +

+ + + + +

+ +→ Before the supported ESLint major version for all npm packages of this styleguide was still `7` which has been [updated to `8`, released on 2021-10-09][264]. +To update all packages, [the official ESLint 8 migration guide][265] has been used to adapt [the breaking changes for users][266], but none of them affected this project so there were no further steps required other than updating the corresponding package (`dev`/`peer`)`dependencies`. + +The following plugins have been updated to their latest major & minor versions to match the supported ESLint version: + +- [`eslint`][267] — `^7.32.0` → [major version `8`][264] · currently latest version is [`^8.39.0`][279] which will be used as minimal requirement. +- [`eslint-plugin-prettier`][20] — `^3.4.1` → [major version `4`][269] · currently latest version is [`4.2.1`][280] which will be used as minimal requirement. + - Dropped support for older versions of ESLint, Prettier and Node. It now requires at least ESLint `>=7.28.0 <8.0.0`, Prettier `>=2.0.0 <3.0.0` and Node `>=12.0.0`. +- [`eslint-find-rules`][206] — `3.6.1` → [major version `4`][281] · currently latest version is [`4.1.0`][271] which will be used as minimal requirement. + - Comes with support for ESLint 8. +- [`@typescript-eslint/eslint-plugin`][274] — `^4.33.0` → [major version `5`][273] · currently latest version is [`5.59.1`][272] which will be used as minimal requirement. + - Comes with support for ESLint 8. + - Dropped support for Node `<=10`. + - Dropped support for ESLint `<=5`. +- [`@typescript-eslint/parser`][23] — `^4.33.0` → [major version `5`][273] · currently latest version is [`5.59.1`][272] which will be used as minimal requirement. + - Comes with support for ESLint 8. + - Dropped support for Node `<=10`. + - Dropped support for ESLint `<=5`. +- [`typescript`][187] — `^4.9.5` → [major version `5`][277] · currently latest version is [`5.0.4`][278] which will be used as minimal requirement. + - Dropped support for Node `<=12`. + +
+ # 0.11.0 -![Release Date: 2021-04-14](https://img.shields.io/static/v1.svg?style=flat-square&label=Release%20Date&message=2021-04-14&colorA=4c566a&colorB=88c0d0) [![Project Board](https://img.shields.io/static/v1.svg?style=flat-square&label=Project%20Board&message=0.11.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/users/svengreb/projects/10/views/109) [![Milestone](https://img.shields.io/static/v1.svg?style=flat-square&label=Milestone&message=0.11.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/svengreb/styleguide-javascript/milestone/6) +![Release Date: 2021-04-14](https://img.shields.io/static/v1.svg?style=flat-square&label=Release%20Date&message=2021-04-14&colorA=4c566a&colorB=88c0d0) [![Project Board](https://img.shields.io/static/v1.svg?style=flat-square&label=Project%20Board&message=0.11.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/users/svengreb/projects/10/views/10) [![Milestone](https://img.shields.io/static/v1.svg?style=flat-square&label=Milestone&message=0.11.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/svengreb/styleguide-javascript/milestone/6) ⇅ [Show all commits][237] @@ -76,7 +151,7 @@ Also see [typescript-eslint/typescript-eslint#1184][239] where this solution is # 0.10.0 -![Release Date: 2021-04-08](https://img.shields.io/static/v1.svg?style=flat-square&label=Release%20Date&message=2021-04-08&colorA=4c566a&colorB=88c0d0) [![Project Board](https://img.shields.io/static/v1.svg?style=flat-square&label=Project%20Board&message=0.10.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/users/svengreb/projects/10/views/108) [![Milestone](https://img.shields.io/static/v1.svg?style=flat-square&label=Milestone&message=0.10.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/svengreb/styleguide-javascript/milestone/5) +![Release Date: 2021-04-08](https://img.shields.io/static/v1.svg?style=flat-square&label=Release%20Date&message=2021-04-08&colorA=4c566a&colorB=88c0d0) [![Project Board](https://img.shields.io/static/v1.svg?style=flat-square&label=Project%20Board&message=0.10.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/users/svengreb/projects/10/views/10) [![Milestone](https://img.shields.io/static/v1.svg?style=flat-square&label=Milestone&message=0.10.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/svengreb/styleguide-javascript/milestone/5) ⇅ [Show all commits][229] @@ -122,7 +197,7 @@ To support triple-slash directives, the `/` marker has been added to the `line` # 0.9.0 -![Release Date: 2021-04-04](https://img.shields.io/static/v1.svg?style=flat-square&label=Release%20Date&message=2021-04-04&colorA=4c566a&colorB=88c0d0) [![Project Board](https://img.shields.io/static/v1.svg?style=flat-square&label=Project%20Board&message=0.9.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/users/svengreb/projects/10/views/107) [![Milestone](https://img.shields.io/static/v1.svg?style=flat-square&label=Milestone&message=0.9.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/svengreb/styleguide-javascript/milestone/4) +![Release Date: 2021-04-04](https://img.shields.io/static/v1.svg?style=flat-square&label=Release%20Date&message=2021-04-04&colorA=4c566a&colorB=88c0d0) [![Project Board](https://img.shields.io/static/v1.svg?style=flat-square&label=Project%20Board&message=0.9.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/users/svengreb/projects/10/views/10) [![Milestone](https://img.shields.io/static/v1.svg?style=flat-square&label=Milestone&message=0.9.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/svengreb/styleguide-javascript/milestone/4) ⇅ [Show all commits][178] @@ -259,7 +334,7 @@ To allow to use Prettier without `@arcticicestudio/eslint-config`, the support h # 0.8.0 -![Release Date: 2019-08-22](https://img.shields.io/static/v1.svg?style=flat-square&label=Release%20Date&message=2019-08-22&colorA=4c566a&colorB=88c0d0) [![Project Board](https://img.shields.io/static/v1.svg?style=flat-square&label=Project%20Board&message=0.8.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/users/svengreb/projects/10/views/106) [![Milestone](https://img.shields.io/static/v1.svg?style=flat-square&label=Milestone&message=0.8.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/svengreb/styleguide-javascript/milestone/3) +![Release Date: 2019-08-22](https://img.shields.io/static/v1.svg?style=flat-square&label=Release%20Date&message=2019-08-22&colorA=4c566a&colorB=88c0d0) [![Project Board](https://img.shields.io/static/v1.svg?style=flat-square&label=Project%20Board&message=0.8.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/users/svengreb/projects/10/views/10) [![Milestone](https://img.shields.io/static/v1.svg?style=flat-square&label=Milestone&message=0.8.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/svengreb/styleguide-javascript/milestone/3) ⇅ [Show all commits][139] @@ -350,7 +425,7 @@ Since _GitHub Actions_ are still in closed/limited public beta, there is no supp # 0.7.0 -![Release Date: 2019-08-19](https://img.shields.io/static/v1.svg?style=flat-square&label=Release%20Date&message=2019-08-19&colorA=4c566a&colorB=88c0d0) [![Project Board](https://img.shields.io/static/v1.svg?style=flat-square&label=Project%20Board&message=0.7.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/users/svengreb/projects/10/views/103) [![Milestone](https://img.shields.io/static/v1.svg?style=flat-square&label=Milestone&message=0.7.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/svengreb/styleguide-javascript/milestone/2) +![Release Date: 2019-08-19](https://img.shields.io/static/v1.svg?style=flat-square&label=Release%20Date&message=2019-08-19&colorA=4c566a&colorB=88c0d0) [![Project Board](https://img.shields.io/static/v1.svg?style=flat-square&label=Project%20Board&message=0.7.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/users/svengreb/projects/10/views/10) [![Milestone](https://img.shields.io/static/v1.svg?style=flat-square&label=Milestone&message=0.7.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/svengreb/styleguide-javascript/milestone/2) ⇅ [Show all commits][120] @@ -948,7 +1023,7 @@ It was set up to run the `npx` command to install the peer dependencies that is # 0.1.0 -![Release Date: 2018-01-27](https://img.shields.io/static/v1.svg?style=flat-square&label=Release%20Date&message=2018-01-27&colorA=4c566a&colorB=88c0d0) [![Project Board](https://img.shields.io/static/v1.svg?style=flat-square&label=Project%20Board&message=0.1.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/users/svengreb/projects/10/views/102) [![Milestone](https://img.shields.io/static/v1.svg?style=flat-square&label=Milestone&message=0.1.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/svengreb/styleguide-javascript/milestone/1) +![Release Date: 2018-01-27](https://img.shields.io/static/v1.svg?style=flat-square&label=Release%20Date&message=2018-01-27&colorA=4c566a&colorB=88c0d0) [![Project Board](https://img.shields.io/static/v1.svg?style=flat-square&label=Project%20Board&message=0.1.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/users/svengreb/projects/10/views/10) [![Milestone](https://img.shields.io/static/v1.svg?style=flat-square&label=Milestone&message=0.1.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/svengreb/styleguide-javascript/milestone/1) ⇅ [Show all commits][39] @@ -1299,3 +1374,49 @@ otherwise Markdown elements are not parsed and rendered! [240]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/void [241]: https://react.dev/reference/react/useEffect#fetching-data-with-effects [242]: https://react.dev/reference/react/useEffect + + + +[243]: https://github.com/svengreb/styleguide-javascript/compare/v0.11.0...v0.12.0 +[244]: https://github.com/svengreb/tmpl/releases/tag/v0.11.0 +[245]: https://github.com/svengreb/tmpl/releases/tag/v0.10.0 +[246]: https://github.com/svengreb/tmpl/issues/84 +[247]: https://github.com/svengreb/tmpl/issues/86 +[248]: https://github.com/svengreb/tmpl/issues/94 +[249]: https://github.com/svengreb/tmpl/issues/76 +[250]: https://github.com/orgs/nordtheme/discussions/183#retire-arctic-ice-studio-as-nord-brand +[251]: https://github.com/svengreb +[253]: https://www.npmjs.com/package/@arcticicestudio/eslint-config-base +[254]: https://www.npmjs.com/package/@arcticicestudio/eslint-config-typescript +[255]: https://www.npmjs.com/package/@svengreb/eslint-config-base +[256]: https://www.npmjs.com/package/@svengreb/eslint-config +[257]: https://www.npmjs.com/package/@svengreb/eslint-config-typescript +[258]: https://arcticicestudio.github.io/styleguide-markdown +[259]: https://www.gitbook.com +[260]: https://nextjs.org +[261]: https://github.com/arcticicestudio/styleguide-markdown/tree/main/packages/@arcticicestudio/remark-preset-lint +[262]: https://github.com/svengreb/styleguide-markdown/issues/63 +[263]: https://github.com/svengreb/styleguide-markdown/tree/main/packages/%40svengreb/remark-preset-lint +[264]: https://github.com/eslint/eslint/releases/tag/v8.0.0 +[265]: https://eslint.org/docs/latest/use/migrate-to-8.0.0 +[266]: https://eslint.org/docs/latest/use/migrate-to-8.0.0#breaking-changes-for-users +[267]: https://github.com/eslint/eslint +[269]: https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md#v400-2021-08-30 +[271]: https://github.com/sarbbottam/eslint-find-rules/releases/tag/v4.1.0 +[272]: https://github.com/typescript-eslint/typescript-eslint/releases/tag/v5.59.1 +[273]: https://github.com/typescript-eslint/typescript-eslint/releases/tag/v5.0.0 +[274]: https://github.com/typescript-eslint/typescript-eslint/tree/main/packages/eslint-plugin +[277]: https://devblogs.microsoft.com/typescript/announcing-typescript-5-0 +[278]: https://github.com/microsoft/TypeScript/releases/tag/v5.0.4 +[279]: https://github.com/eslint/eslint/releases/tag/v8.39.0 +[280]: https://github.com/prettier/eslint-plugin-prettier/releases/tag/v4.2.1 +[281]: https://github.com/sarbbottam/eslint-find-rules/releases/tag/v4.0.0 + + + + + + + +[^1]: https://github.com/svengreb/tmpl/issues/78 +[^2]: https://github.com/svengreb/tmpl/issues/83 diff --git a/package-lock.json b/package-lock.json index c13f717..7c8eb78 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@svengreb/styleguide-javascript", - "version": "0.11.0", + "version": "0.12.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@svengreb/styleguide-javascript", - "version": "0.11.0", + "version": "0.12.0", "license": "MIT", "workspaces": [ "packages/@svengreb/*" @@ -8816,10 +8816,10 @@ } }, "packages/@svengreb/eslint-config": { - "version": "0.11.0", + "version": "0.12.0", "license": "MIT", "dependencies": { - "@svengreb/eslint-config-base": ">=0.11.0 <1.0.0" + "@svengreb/eslint-config-base": ">=0.12.0 <1.0.0" }, "devDependencies": { "eslint": "^8.39.0", @@ -8838,7 +8838,7 @@ } }, "packages/@svengreb/eslint-config-base": { - "version": "0.11.0", + "version": "0.12.0", "license": "MIT", "dependencies": { "confusing-browser-globals": "1.0.11" @@ -8862,7 +8862,7 @@ } }, "packages/@svengreb/eslint-config-typescript": { - "version": "0.11.0", + "version": "0.12.0", "license": "MIT", "devDependencies": { "@typescript-eslint/eslint-plugin": "^5.59.1", diff --git a/package.json b/package.json index cad6d5a..9a6a913 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@svengreb/styleguide-javascript", - "version": "0.11.0", + "version": "0.12.0", "description": "An opinionated, yet universally applicable JavaScript code style guide", "author": { "name": "Sven Greb", diff --git a/packages/@svengreb/eslint-config-base/index.js b/packages/@svengreb/eslint-config-base/index.js index 05f5f53..832fcb1 100644 --- a/packages/@svengreb/eslint-config-base/index.js +++ b/packages/@svengreb/eslint-config-base/index.js @@ -6,7 +6,7 @@ /** * The opinionated, yet universally applicable JavaScript code style guide base rules as an extensible shared ESLint configuration. * Imports all rule definitions and sets the default parser options. - * @version 0.11.0 + * @version 0.12.0 * @license MIT * @author Sven Greb * @copyright 2016-present Sven Greb diff --git a/packages/@svengreb/eslint-config-base/package.json b/packages/@svengreb/eslint-config-base/package.json index 8070839..a1cfdbc 100644 --- a/packages/@svengreb/eslint-config-base/package.json +++ b/packages/@svengreb/eslint-config-base/package.json @@ -1,6 +1,6 @@ { "name": "@svengreb/eslint-config-base", - "version": "0.11.0", + "version": "0.12.0", "description": "The opinionated, yet universally applicable JavaScript code style guide base rules as an extensible shared ESLint configuration", "author": { "name": "Sven Greb", diff --git a/packages/@svengreb/eslint-config-typescript/index.js b/packages/@svengreb/eslint-config-typescript/index.js index 7f2e4fe..de662c1 100644 --- a/packages/@svengreb/eslint-config-typescript/index.js +++ b/packages/@svengreb/eslint-config-typescript/index.js @@ -6,7 +6,7 @@ /** * The opinionated, yet universally applicable JavaScript code style guide rules with TypeScript support as an extensible shared ESLint configuration. * Imports all rule definitions and sets the default parser options. - * @version 0.11.0 + * @version 0.12.0 * @license MIT * @author Sven Greb * @copyright 2016-present Sven Greb diff --git a/packages/@svengreb/eslint-config-typescript/package.json b/packages/@svengreb/eslint-config-typescript/package.json index 48e8bd0..2e7ca39 100644 --- a/packages/@svengreb/eslint-config-typescript/package.json +++ b/packages/@svengreb/eslint-config-typescript/package.json @@ -1,6 +1,6 @@ { "name": "@svengreb/eslint-config-typescript", - "version": "0.11.0", + "version": "0.12.0", "description": "The opinionated, yet universally applicable JavaScript code style guide rules with TypeScript support as an extensible shared ESLint configuration", "author": { "name": "Sven Greb", diff --git a/packages/@svengreb/eslint-config/index.js b/packages/@svengreb/eslint-config/index.js index 111596e..d6c38bd 100644 --- a/packages/@svengreb/eslint-config/index.js +++ b/packages/@svengreb/eslint-config/index.js @@ -6,7 +6,7 @@ /** * The opinionated, yet universally applicable JavaScript code style guide rules with React support as an extensible shared ESLint configuration. * Imports all rule definitions and sets the default parser options. - * @version 0.11.0 + * @version 0.12.0 * @license MIT * @author Sven Greb * @copyright 2016-present Sven Greb diff --git a/packages/@svengreb/eslint-config/package.json b/packages/@svengreb/eslint-config/package.json index d046517..5d3e501 100644 --- a/packages/@svengreb/eslint-config/package.json +++ b/packages/@svengreb/eslint-config/package.json @@ -1,6 +1,6 @@ { "name": "@svengreb/eslint-config", - "version": "0.11.0", + "version": "0.12.0", "description": "The opinionated, yet universally applicable JavaScript code style guide rules with React support as an extensible shared ESLint configuration", "author": { "name": "Sven Greb", @@ -44,7 +44,7 @@ "test:unused-rules": "eslint-find-rules --unused --deprecated --no-error" }, "dependencies": { - "@svengreb/eslint-config-base": ">=0.11.0 <1.0.0" + "@svengreb/eslint-config-base": ">=0.12.0 <1.0.0" }, "devDependencies": { "eslint": "^8.39.0",