zoriya / Kyoo

A portable and vast media library solution.
https://kyoo.zoriya.dev
GNU General Public License v3.0
1.32k stars 29 forks source link

Update dependency @biomejs/biome to v1.8.3 #552

Open renovate[bot] opened 1 week ago

renovate[bot] commented 1 week ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@biomejs/biome (source) 1.8.1 -> 1.8.3 age adoption passing confidence

Release Notes

biomejs/biome (@​biomejs/biome) ### [`v1.8.3`](https://togithub.com/biomejs/biome/blob/HEAD/CHANGELOG.md#v183-2022-06-27) [Compare Source](https://togithub.com/biomejs/biome/compare/54b4c9a39078836843ef363bb6986fad74834480...c28d5978c1440b3ae184d1cc354233711abf8a8e) ##### CLI ##### Bug fixes - Fix [#​3104](https://togithub.com/biomejs/biome/issues/3104) by suppressing node warnings when using `biome migrate`. Contributed by [@​SuperchupuDev](https://togithub.com/SuperchupuDev) - Force colors to be off when using the GitHub reporter to properly create annotations in GitHub actions ([#​3148](https://togithub.com/biomejs/biome/issues/3148)). Contributed by [@​Sec-ant](https://togithub.com/Sec-ant) ##### Parser ##### Bug fixes - Implement [CSS unicode range](https://togithub.com/biomejs/biome/pull/3251). Contributed by [@​denbezrukov](https://togithub.com/denbezrukov) ##### Formatter ##### Bug fixes - Fix [#​3184](https://togithub.com/biomejs/biome/issues/3184) CSS formatter converts custom identifiers to lowercase. Contributed by [@​denbezrukov](https://togithub.com/denbezrukov) - Fix [#​3256](https://togithub.com/biomejs/biome/issues/3256) constant crashes when editing css files [#​3256](https://togithub.com/biomejs/biome/issues/3256). Contributed by [@​denbezrukov](https://togithub.com/denbezrukov) ##### Linter ##### New features - Add `nursery/useDeprecatedReason` rule. Contributed by [@​vohoanglong0107](https://togithub.com/vohoanglong0107). - Add [nursery/noExportedImports](https://biomejs.dev/linter/rules/no-exported-imports/). Contributed by [@​Conaclos](https://togithub.com/Conaclos) ##### Bug fixes - `useConsistentArrayType` and `useShorthandArrayType` now ignore `Array` in the `extends` and `implements` clauses. Fix [#​3247](https://togithub.com/biomejs/biome/issues/3247). Contributed by [@​Conaclos](https://togithub.com/Conaclos) - Fixes [#​3066](https://togithub.com/biomejs/biome/issues/3066) by taking into account the dependencies declared in the `package.json`. Contributed by [@​ematipico](https://togithub.com/ematipico) - The code action of the `useArrowFunction` rule now preserves a trailing comma when there is only a single type parameter in the arrow function and JSX is enabled. Fixes [#​3292](https://togithub.com/biomejs/biome/issues/3292). Contributed by [@​Sec-ant](https://togithub.com/Sec-ant) ##### Enhancements - Enhance tailwind sorting lint rule [#​1274](https://togithub.com/biomejs/biome/issues/1274) with variant support. Every preconfigured variant is assigned a `weight` that concurs on establishing the output sorting order. Since nesting variants on the same utility class is possible, the resulting `weight` is the Bitwise XOR of all the variants weight for that class. Dynamic variants (e.g. `has-[.custom-class]`, `group-[:checked]`) are also supported and they take the `weight` of their base variant name the custom value attached (e.g. `has-[.custom-class]` takes `has` weight). Arbitrary variants (e.g. `[&nth-child(2)]`) don't have a weight assigned and they are placed after every known variant. Classes with the same amount of arbitrary variants follow lexicographical order. The class that has the highest number of nested arbitrary variants is placed last. Screen variants (e.g. `sm:`, `max-md:`, `min-lg:`) are not supported yet. Contributed by [@​lutaok](https://togithub.com/lutaok) ### [`v1.8.2`](https://togithub.com/biomejs/biome/blob/HEAD/CHANGELOG.md#v182-2024-06-20) [Compare Source](https://togithub.com/biomejs/biome/compare/39db99b1cd087d6aa46ecfecba6adbfa0d45a303...54b4c9a39078836843ef363bb6986fad74834480) ##### CLI ##### Bug fixes - Fix [#​3201](https://togithub.com/biomejs/biome/issues/3201) by correctly injecting the source code of the file when printing the diagnostics. Contributed by [@​ematipico](https://togithub.com/ematipico) - Fix [#​3179](https://togithub.com/biomejs/biome/issues/3179) where comma separators are not correctly removed after running `biome migrate` and thus choke the parser. Contributed by [@​Sec-ant](https://togithub.com/Sec-ant) - Fix [#​3232](https://togithub.com/biomejs/biome/issues/3232) by correctly using the colors set by the user. Contributed by [@​ematipico](https://togithub.com/ematipico) ##### Enhancement - Reword the reporter message `No fixes needed` to `No fixes applied`. The former message is misleading when there're still errors or warnings in the files that should be taken care of manually. For example: ```block Checked 2 files in

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

zoriya commented 6 days ago

@onedr0p Do you think this would be possible to also update the bione version on front/package.json with this PR (and run it). This would make Biome update PR more interesting than the one char change from the config file.

If this is not possible should we simply disable those PR and use the cli to update this version?

onedr0p commented 6 days ago

Sure we might have to revisit ignoring all frontend updates since it's a flat ignore of the entire folder.

onedr0p commented 6 days ago

What does the manual (CLI) process entail? We can update the ignorePaths in the config like so

"ignorePaths": [
  "**/front/.yarn/**",
  "**/front/apps/**",
  "**/front/packages/**",
],

This way the front/packages.json will get picked up by renovate but unsure what you expect and I am not sure if renovate can cover the CLI commands that need to be ran.

zoriya commented 6 days ago

Updating the frontend means:

I think some of those steps will always need to be done by hand but maybe renovate could help a bit.

It might be good to look at how solito does this since they prone mono-repo with both mobile and web.

onedr0p commented 5 days ago

It seems maybe possible using this type of config in renovate?

https://docs.renovatebot.com/configuration-options/#postupgradetasks

zoriya commented 5 days ago

Thats look like what we want but it can only be used on self hosted renovate. Should we give up and keep the current approach?

onedr0p commented 5 days ago

Probably the latter, seems like you can just remove the custom manager for biome in the renovate config?