12
0

1 Commits

3 changed files with 61 additions and 8 deletions

View File

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

View File

@@ -1,3 +1,46 @@
-------------------------------------------------------------------
Wed Dec 4 22:56:42 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
- update to 0.23.1:
* build: update bindings
* feat!: remove glimmer template tags
* build: update bindings
* fix(swift): add scanner.c to sources
- update to 0.23.0:
* fix: operator precedence rules for tagged template functions
* build: update bindings
* fix(go): correct test
* fix: move go.mod to root dir
* fix: for in / of statements containing new lines
* fix: disallow semi injection before a backtick
* fix: add import.meta to meta_property
- update to 0.21.4:
* fix: jsx_text node trims whitespace too often
* fix: automatic semicolon should be inserted given a number decimal
* fix: comment optimization should not cause automatic-semi insert
* fix: unnecessary seq sequences
* fix: comment should be terminal
- update to 0.21.3:
* fix: comments should not consume 2028+2029, and neither should
identifiers
* feat(build): and add jsx
* feat(build): add mjs and cjs file types
* fix(build): use flag_if_supported for cc flags
- update to 0.21.2:
* chore: bump deps
- update to 0.21.1:
* chore: remove reset function
* fix: un-inline statement
* fix: only allow automatic_semicolons after static
* chore: generate
* fix: static can be on its own line
* feat(queries): highlight glimmer tags
* docs: update readme
* build: update npm scripts and rust injection query name
- switch to download_files service
- add neovim links
- enable devel package
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Apr 29 22:01:09 UTC 2024 - Björn Bidar <bjorn.bidar@thaodan.de> Mon Apr 29 22:01:09 UTC 2024 - Björn Bidar <bjorn.bidar@thaodan.de>

View File

@@ -16,15 +16,14 @@
# #
%define _name javascript %define _name javascript
Summary: Javascript grammar for tree-sitter Name: tree-sitter-javascript
Name: tree-sitter-%{_name} Version: 0.23.1
Version: 0.21.0
Release: 0 Release: 0
Summary: Javascript grammar for tree-sitter
License: MIT License: MIT
Group: Development/Tools/Other
URL: https://github.com/tree-sitter/tree-sitter-javascript URL: https://github.com/tree-sitter/tree-sitter-javascript
Source0: %{name}-%{version}.tar.gz Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: tree-sitter BuildRequires: tree-sitter
%treesitter_grammars %{_name} %treesitter_grammars %{_name}
@@ -32,7 +31,7 @@ BuildRequires: tree-sitter
%{summary}. %{summary}.
%prep %prep
%autosetup -p1 %autosetup
%build %build
%treesitter_configure %treesitter_configure
@@ -42,9 +41,17 @@ BuildRequires: tree-sitter
%treesitter_install %treesitter_install
%treesitter_devel_install %treesitter_devel_install
#neovim stuff
install -d %{buildroot}%{_libdir}/tree_sitter
ln -s %{_libdir}/lib%{name}.so %{buildroot}%{_libdir}/tree_sitter/%{_name}.so
%files %files
%{treesitter_files}
%license LICENSE %license LICENSE
%treesitter_files
%{_libdir}/tree_sitter/%{_name}.so
%if 0%{?suse_version} < 1600
%dir %{_libdir}/tree_sitter
%endif
%treesitter_devel_package %treesitter_devel_package