Skip to content

Commit 1f172f2

Browse files
Specify and pin dependencies (#41)
* specifying versions to make installs consistent * specify git tag as version when installing
1 parent d823299 commit 1f172f2

File tree

2 files changed

+30
-6
lines changed

2 files changed

+30
-6
lines changed

luarocks.lock

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
return {
2+
build_dependencies = {
3+
luafilesystem = "1.8.0-1",
4+
["luarocks-build-tree-sitter-cli"] = "0.0.2-1",
5+
["luarocks-build-treesitter-parser"] = "6.0.0-1"
6+
},
7+
dependencies = {
8+
argparse = "0.7.1-1",
9+
compat53 = "0.14.4-1",
10+
inspect = "3.1.3-0",
11+
["ltreesitter-ts"] = "0.0.1-1",
12+
["lua-cjson"] = "2.1.0.10-1",
13+
luafilesystem = "1.8.0-1",
14+
lusc_luv = "4.0.1-1",
15+
luv = "1.50.0-1",
16+
tl = "0.24.4-1",
17+
["tree-sitter-cli"] = "0.24.4-2",
18+
["tree-sitter-teal"] = "0.0.33-1"
19+
},
20+
}

teal-language-server-0.1.0-1.rockspec

+10-6
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ version = "0.1.0-1"
55

66
source = {
77
url = "git+https://github.com/teal-language/teal-language-server.git",
8-
branch = "main"
8+
tag = "0.1.0"
99
}
1010

1111
description = {
@@ -15,17 +15,21 @@ description = {
1515
license = "MIT"
1616
}
1717

18+
build_dependencies = {
19+
"luarocks-build-treesitter-parser >= 6.0.0", -- can be removed when tree-sitter-teal specifies this version >= 6
20+
}
21+
1822
dependencies = {
1923
"luafilesystem",
20-
"tl",
24+
"tl == 0.24.4",
2125
"lua-cjson",
2226
"argparse",
2327
"inspect",
24-
"luv",
28+
"luv ~> 1",
2529
"lusc_luv >= 4.0",
26-
"ltreesitter-ts==0.0.1",
27-
"tree-sitter-cli==0.24.4",
28-
"tree-sitter-teal",
30+
"ltreesitter-ts == 0.0.1", -- can be removed when ltreesitter updates
31+
"tree-sitter-cli == 0.24.4",
32+
"tree-sitter-teal == 0.0.33",
2933
}
3034

3135
test_dependencies = { "busted~>2" }

0 commit comments

Comments
 (0)