SHA256
7
0
forked from pool/biome

7 Commits

Author SHA256 Message Date
AutoGits PR Review Bot
5f1b9e978c Merge commit 'ed384e5760de4b202524076a61eebfd304a4480ed27e7c54ccbe9ad13221f450' 2025-07-31 07:11:00 +00:00
Soc Virnyl Estela
ed384e5760 bump: update package to version 2.1.3
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2025-07-31 14:33:04 +08:00
a431eeb6f4 Merge pull request 'update to version 2.1.2' (#1) from uncomfyhalomacro/biome:main into main
Reviewed-on: #1
Reviewed-by: Avindra Goolcharan <avindra@noreply.src.opensuse.org>
2025-07-31 04:20:26 +02:00
Soc Virnyl Estela
ea02a1d893 builds: set to rust tier 1 arches
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2025-07-26 10:48:34 +08:00
Soc Virnyl Estela
385ccd7f2e update to version 2.1.2
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2025-07-20 20:06:40 +08:00
9fe32ef9a1 2.0.0 -> 2.0.5 2025-06-24 18:38:29 -04:00
cd6055e3d9 2.0.0 2025-06-17 19:32:14 -04:00
5 changed files with 292 additions and 11 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fc06a89e1b925e8b1dfaca98f7af1d8e04d27acdcaeff786e2806f8bc26283f9
size 5895279

BIN
biome-2.1.3.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,283 @@
-------------------------------------------------------------------
Thu Jul 31 06:30:02 UTC 2025 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
- Update to version 2.1.3:
* feat(analyze/js): add useReactFunctionComponents rule (#7055)
* feat(lint): implement `noVueReservedKeys` rule (#7057)
* refactor(format): use specialised tokens (#7052)
* docs: update analyzer CONTRIBUTING.md (#7056)
* ci: make it so windows devs don't get lints that don't show up on linux/macos (#7003)
* chore(deps): update rust:1.88.0-bullseye docker digest to b315f98 (#7043)
* fix(lint): `useSemanticElements` self-closing elements (#7044)
* Revert "ci: use depot cargo in the PR workflow" (#7046)
* ci: use depot cargo in the PR workflow (#7045)
* fix(lint/noUnassignedVariables): handle JSX ref attribute assignments (#7000)
* test(biome-js-analyze): add tests to cover tests to cover ??=, ||=, &&= (#7010)
* fix(migrate): transfer comments to the separator (#7014)
* fix(suppression): invalid suppression comments should not cause a panic (#7012)
* fix(css_parser): add active-view-transition-type() (#6973) (#6991)
* refactor(formatter): specialised verbatim formatting (#7002)
* chore: update generated code from analyzer codegen (#7001)
* feat(json/analyze): rule `noQuickfixBiome` (#6992)
* fix(lint/useSortedClasses): remove leading and trailing whitespaces (#6979)
* fix: update documentation URL for `noUnknownPseudoClass` (#6990)
* feat(parse): add tailwind parser (#6980)
* fix(deps): update @biomejs packages (major) (#6962)
* feat(parse): add tailwind grammar (#6978)
* fix: remove infinite loop on `function A(A) {}` (#6976)
* feat(yaml_parser): parse flow constructs (#6961)
* chore: split `Type` from `TypeData` (#6963)
* feat(parser): support import defer (#6949)
* chore(deps): update dependency @types/node to v22.16.5 (#6955)
* feat(biome-js-analyze): expanded support for useReadonlyClassProperties to cover async class methods too (#6938)
* chore(deps): update dependency @types/node to v22.16.5 (#6956)
* chore(deps): update rust crate serde_json to 1.0.141 (#6957)
* chore(deps): update typescript-eslint monorepo to v8.37.0 (#6960)
* fix(deps): update rust crate roaring to 0.11.1 (#6959)
* perf: shrink `Text` (#6946)
* chore(deps): update github-actions (#6954)
* fix: typo `@vitest/eslint-plugin` source url (#6943)
* fix(biome_js_analyze): ignore `as const` and similar wrappers in `noMagicNumbers` rule (#6944)
* fix(core): fix type inference of `this` (#6942)
* fix: typo `perfer-for` → `prefer-for` (#6947)
* refactor: add `no-nested-component-definitions` rule to eslint migration (#6941)
* perf: introduce `Path` type (#6935)
* fix(linter): fix recursive hooks (#6931)
* fix(lsp): update diagnostics on watched files (#6924)
* fix: update `useComponentExportOnlyModules` website link (#6463)
* chore: fix changelog (#6917)
* docs: explain how to document options (#6916)
-------------------------------------------------------------------
Sat Jul 26 02:48:01 UTC 2025 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
- There is no guarantee that this builds with other build architectures.
* set ExclusiveArch: %{rust_tier1_arches}
-------------------------------------------------------------------
Sun Jul 20 11:53:52 UTC 2025 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
- Update to version 2.1.2:
* ci: release (#6909)
* feat(linter): add `excludedComponents` option to `useUniqueElementIds` (#6723)
* feat(yaml_parser): parse block sequence (#6727)
* fix(core): use non-recursive watchers (#6911)
* fix(cli): apply `--assist-enabled` (#6912)
* Revert "ci: release" (#6908)
* ci: release (#6807)
* fix(linter): fix false positive with `.d.ts` files in `useImportExtensions` (#6903)
* fix(core): fix type inference of `this` (#6901)
* fix(core): infer array indices (#6898)
* refactor: make Watcher aware of `ScanKind` (#6842)
* fix(biome_analyze): restore support for multiple consecutive suppression comments with rule instances. (#6844)
* fix(core): scanner ignores files inside VCS (#6839)
* feat(biome_js_analyze): added support for call expressions arguments (#6855)
* refactor(css_parser): flatten AnyCssDeclarationWithSemicolon (#6912) (#6879)
* perf: optimise `noImportCycles` (#6884)
* fix(lsp): skip unsafe fixes with quick fixes (#6878)
* fix(deps): update rust crates (#6875)
* chore(deps): update rust crate criterion to v3 (#6876)
* chore(deps): update rust crate tokio to 1.46.1 (#6871)
* fix(deps): update dependency prettier to v3.6.2 (#6874)
* fix(css_parser): handle multiple semicolons correctly in blocks (#6485) (#6865)
* docs(noImportCycles): add note about computation cost (#6864)
* feat(cli): consider configuration when selecting ScanKind (#6863)
* chore(deps): update typescript-eslint monorepo to v8.36.0 (#6873)
* chore(deps): update dependency @types/node to v22.16.3 (#6867)
* chore(deps): update dependency @types/node to v22.16.3 (#6866)
* chore(deps): update dependency eslint to v9.31.0 (#6868)
* chore(deps): update github-actions (#6869)
* chore: remove platinum sponsor (#6854)
* chore: fix `noVueReservedProps` changeset (#6858)
* chore: fix `just new*` commands (#6853)
* fix: classes with single quotes in functions should use double quotes (#6846)
* fix(biome_js_analyze): fixed noInvalidUseBeforeDeclaration false positives (#6794)
* fix(css_parser): support a list of identifiers in ::part() pseudo-element selector (#6840)
* feat: add global vscode and zed settings file to well known files (#6798)
* fix(core): silence diagnostics in scanner (#6845)
* fix(noUnusedPrivateClassMembers): improve member usage checks in the class (#6832)
* chore: fix typo (#6834)
* fix(core): infer for-of and for-in loop variables (#6809)
* perf: faster function parameters in inference (#6823)
* ci: add a job for linting markdown files (#6825)
* feat(lint): implement `noVueReservedProps` rule (#6757)
* feat(html/parser): text expressions (#6802)
* chore: update changelog
* fix(core): do not update the opened document when change observed by the watcher (#6818)
* fix(core): correctly identify sync callbacks inside async functions (#6804)
* chore: add tracing span for `open_file_internal()` (#6803)
* chore: check milestone before releasing (#6791)
* ci: release (#6786)
* ci: use `name` instead of `pattern` for downloading artifact (#6785)
* docs: update contribution guide and pull request template (#6664)
* ci: release (#6779)
* fix(wasm): serialize map as a plain object (#6781)
* ci: correct restore path of the artifact (#6780)
* fix(noFocusedTests): fix `fit` false positive (#6761)
* ci: release (#6778)
* ci: download js-api artifacts before publish (#6776)
* ci: release (#6582)
* chore: don't break up paragraphs in changesets (#6770)
* chore: set versions for new rules (#6769)
* chore: clean up changesets (#6768)
* perf(biome_package): updated incorrect generic passed to deserialize_… (#6760)
* fix(noUnusedImports): formally make an exception for type augmentation imports (#6756)
* fix(cli): improve error messages when given incompatible arguments (#6753)
* fix(grit): match bare imports (#6758)
* chore: reduce `PackageJson` size (#6754)
* fix(lint/noUselessFragments): apply the same logic for shorthand fragments and Fragment elements (#6717)
* fix(core): .gitignore is discovered in more scenarios (#6752)
* perf(biome_package): improve performance of biome_package (#6732)
* feat(biome_analyzer): support shebang together with `// biome-ignore-all` file-level suppressions (#6712)
* chore: remove style rule migration (#6746)
* chore: update contribution and changesets (#6748)
* chore(deps): update rust crate rust-lapper to 1.2.0 (#6743)
* chore(deps): update rust crate indexmap to 2.10.0 (#6742)
* chore(deps): update dependency rust to v1.88.0 (#6740)
* chore(deps): update github-actions (#6741)
* chore(deps): update dependency @types/node to v22.16.0 (#6737)
* chore(deps): update dependency eslint to v9.30.1 (#6738)
* chore(deps): update dependency @types/node to v22.16.0 (#6735)
* chore(deps): update dependency dprint to v0.50.1 (#6734)
* fix(biome-service): override all formatter options with user configured overrides (#6679)
* feat(organizeImports): add $ to organize imports :ALIAS: group (#6720)
* fix(lsp): do not response error on pulling actions from GritQL files (#6716)
* docs: update analyzer contribution guide (#6651)
* docs: fix typos in CHANGELOG & CONTRIBUTING (#6721)
* fix(lint/complexity/useDateNow): improve error message (#6413)
* fix(service): biome/file_features still should return a map instead of an array (#6718)
* fix(biome_js_analyze): correct text range of suppression reason (#6711)
* fix(noShadow): fix a false positive related to function parameters inside type definitions (#6709)
* fix(biome_analyze): stop squashing multiple line suppression comments. (#6650)
* fix(css_formatter): correct spacing in container style queries (#6700)
* fix(lint/noImplicitCoercion): false positive for `1 / value` (#6696)
* fix(core): ignore nested configs (#6662)
* feat(biome_js_analyse): added new option to rule to ignore unused function parameters (#6405)
* fix(biome-js-analyze): useReadonlyClassProperties check class getters… (#6671)
* feat: make enum can be transform in scope (#6678)
* fix(formatter): trailing commas in json files (#6683)
* chore: fix failure
* fix(parse/html): make `.` a valid char in tag names (#6693)
* chore(core): add resource to diagnostic (#6685)
* feat(parser): parse Astro frontmatter (#6689)
* fix(format/html): fix mangling of embedded language tags if `whitespaceSensitivity` is `strict` (#6673)
* fix(core): css assist (#6682)
* fix(biome-js-analyze): move no_secrets options inside biome-rules-opt… (#6672)
* fix(lint/noSecrets): calculate entropy with `entropyThreshold` option (#6642)
* fix(formatter): void elements with slash (#6663)
* feat(core): offset parsing (#6652)
* Merge pull request #6583 from biomejs/next
* Codegen
* Fix WASM build
* Merge remote-tracking branch 'upstream/main' into next
* refactor: share lint rule options (#5543)
* fix(js-api): don't use types of others modules (#6535)
* fix(lsp): add missing checks for capability dynamic registration support (#6643)
* fix(biome-js-analyze): update changes (#6636)
* perf: optimise ignore checking (#6659)
* refactor: share lint rule options (#5543)
* fix(js-api): don't use types of others modules (#6535)
* fix(lsp): add missing checks for capability dynamic registration support (#6643)
* fix(biome-js-analyze): update changes (#6636)
* lint fixes
* Merge branch 'main' into next
* fix(core): fix inference for boolean that must be truthy (#6641)
* feat(wasm): expose MemoryFileSystem via WASM API (#6428)
* feat(yaml): overhauling YAML lexer (#6481)
* feat(core): infer sequence operator and update operators (#6637)
* fix(cli): lax stdin strictness (#6596)
* chore(deps): update rust crate ureq to 3.0.12 (#6631)
* chore(deps): update rust crate papaya to 0.2.3 (#6630)
* fix(deps): update @biomejs packages (#6632)
* chore(deps): update dependency @types/node to v22.15.34 (#6627)
* chore(deps): pin docker/dockerfile docker tag to 9857836 (#6626)
* fix(core): fix extending configs with root field (#6625)
* feat(core): targeted file scanner (#6614)
* fix(biome-js-analyze): detect json import attribute with trimmed text value instead of plain text value (#6618)
* feat(core): port SyntaxNodePtr and AstPtr from rowan (#6534)
* chore: add `syntax` parser directive to Dockerfile (#6619)
* fix(biome-js-analyze): fixed the diagnostic message for noFocusedTests to display the offending fn name (#6599)
* refactor: extract out a `biome_line_index` crate (#6222)
* chore(lint): fix document of the `noMagicNumbers` rule that produces invalid MDX (#6598)
* docs: add mdevils to maintainers (#6612)
* fix(biome_js_analyze): fix JsDocTypeCollectorVisitior to also walk on JsStaticMemberAssignment (#6600)
* chore: update contribution guide to include vladimir ivanov as a maintainer (#6564)
* feat(core): implement conditional handling (#6593)
* fix(lsp): fix all should check for embedded languages (#6594)
* refactor(useSortedKeys): transfer trailing separator upon sorting (#6587)
* chore(justfile): adjust indentation and remove extra blank lines in `justfile` (#6568)
* feat(biome_js_analyse): added new rule noMagicNumbers (#6562)
* Merge pull request #6581 from arendjr/next
* chore: remove disclaimer on `noFloatingPromises` (#6579)
* ci: fix JSON payload release dispatch (#6580)
* Merge branch 'main' into next
* ci: release (#6507)
* fix(biome_js_analyze): add JsExport to be walked by JsDocTypeCollectorVisitior (#6565)
* fix(css_parser): use a conditional block for the @starting-style at-rule (#6553)
* fix(lsp): require config and code actions (#6557)
* fix(docs): mdx printing and missed diagnostic (#6561)
* fix(biome_js_analyze): produce diagnogstics for top-level useless fragment that is in a return statement (#6544)
* feat(core): handle logical operators (#6550)
* fix(lint/complexity/noUselessFragments): fix Fragments containing HTML entities marked as unnecessary (#6518)
* chore: link packages differently (#6558)
* fix(cli): replace `files.ignore` with `files.includes` in the error message (#6560)
* refactor: attach rule source kind to rule source (#6556)
* chore(editorconfig): remove max_line_length comment (#6555)
* fix(lsp): code action error (#6545)
* fix(linter): diagnostic range for `useAtlText` (#6458)
* fix(lsp): fix all file features (#6548)
* fix(js/useSortedKeys): add sources (#6552)
* fix(js/useSortedKeys): don't compare named properties with nameless ones (#6551)
* feat(lint): implement `noImplicitCoercion` rule (#6395)
* feat(lint): no-alert rule (#6355)
* feat(lint): implement `useUnifiedTypeSignature` rule (#6320)
* docs: fix indenting in the CLI-reference (#6542)
* fix(doc): typo in CONTRIBUTING.md (#6543)
* fix(biome-js-analyze): add a check for if/ else and ternary operators… (#6524)
* chore: add test case (#6532)
* fix(core): infer types of properties with getters (#6531)
* ci: add step to dispatch event for automated codegen (#6505)
* fix(core): infer method return types (#6525)
* chore: add labels for resolver and type inference (#6526)
* feat(linter): implement noUnassignedVariables rule (#6219)
* fix(core): handle ternary in type alias (#6520)
* fix(core): allow condition names in configuration packages (#6517)
* feat(linter): handle arrays of Promises in `noFloatingPromises` (#6512)
* feat(biome_js_analyze): implement noExcessiveLinesPerFunction (#6166)
* fix(assist/organizeImports): don't duplicate header file comment (#6511)
* fix(linter): don't enable nursery rules in domains (#6503)
* feat: add nx.json project.json to Well-known files (#6488)
* perf: store types behind `Arc`s (#6442)
* Merge branch 'main' into next
* perf: preallocate type store (#6421)
* feat(core): flatten intersections + call signatures (#6404)
* Merge branch 'main' into next
* fix(resolver): resolve type definitions for JavaScript files (#6343)
* chore: add `swr` fixtures (#6339)
* perf: deduplicate types (#6324)
* Merge remote-tracking branch 'origin/main' into next
* perf: resolve and map types in single pass (#6319)
* perf: use `TypeStore` in global resolver (#6318)
* fix(linter): prevent false positives in `noMisusedPromises` (#6315)
* feat(core): support `export *` syntax (#6311)
* feat(core): support import namespaces (#6303)
* Merge remote-tracking branch 'origin/main' into next
* feat(linter): detect `Promise`-returning callbacks in `noMisusedPromises` (#6291)
* refactor: invert expression inference order (#6284)
* feat(linter): introduce `noMisusedPromises` (#6275)
-------------------------------------------------------------------
Tue Jun 24 22:29:55 UTC 2025 - Avindra Goolcharan <avindra@opensuse.org>
- update to 2.0.5
* see github/releases for info
-------------------------------------------------------------------
Tue Jun 17 23:14:38 UTC 2025 - Avindra Goolcharan <avindra@opensuse.org>
- update to 2.0.0:
* see https://github.com/biomejs/biome/releases/tag/%40biomejs%2Fbiome%402.0.0
-------------------------------------------------------------------
Thu Oct 17 21:50:46 UTC 2024 - Avindra Goolcharan <avindra@opensuse.org>

View File

@@ -1,8 +1,8 @@
#
# spec file for package biome
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2022-2023 Avindra Goolcharan <avindra@opensuse.org>
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2022-2025 Avindra Goolcharan <avindra@opensuse.org>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,26 +17,27 @@
#
%define rev fa93a147abe64e9c85908d317a8dd1de343ad132
%define rev a1469432d44f95e3f685fe294c49ecf3517c1c7e
Name: biome
Version: 1.9.4
Version: 2.1.3
Release: 0
Summary: A JavaScript and TypeScript toolchain
License: Apache-2.0 AND MIT
Group: Productivity/Other
URL: https://github.com/biomejs/biome
Source0: https://github.com/biomejs/biome/archive/refs/tags/cli/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source0: https://github.com/biomejs/biome/archive/refs/tags/@biomejs/biome@%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: vendor.tar.zst
BuildRequires: cargo >= 1.53.0
BuildRequires: cargo-packaging
BuildRequires: zstd
ExclusiveArch: %{rust_tier1_arches}
%description
A toolchain for web projects, aimed to provide functionalities to maintain
them. Biome offers formatter and linter, usable via CLI and LSP.
%prep
%autosetup -a1 -p1 -n %{name}-cli-v%{version}
%autosetup -a1 -p1 -n %{name}--biomejs-%{name}-%{version}
%build
export BIOME_VERSION=%{version}-%{rev}

BIN
vendor.tar.zst (Stored with Git LFS)

Binary file not shown.