Skip to content

Commit

Permalink
Switch from LIBINFO.json files to LIBRARY.yml files, and add in an op…
Browse files Browse the repository at this point in the history
…tional runtime field
  • Loading branch information
gaymeowing committed Aug 17, 2024
1 parent 909bead commit f4c9770
Show file tree
Hide file tree
Showing 39 changed files with 93 additions and 78 deletions.
4 changes: 0 additions & 4 deletions libs/Grouper/LIBINFO.json

This file was deleted.

6 changes: 6 additions & 0 deletions libs/Grouper/LIBINFO.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
tags:
- GroupService
- Roleplay
- Roleplay Group
- Cafe
version: 2.2.0
4 changes: 0 additions & 4 deletions libs/Leventine/LIBINFO.json

This file was deleted.

6 changes: 6 additions & 0 deletions libs/Leventine/LIBRARY.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
tags:
- levenstein distance
- fzy
- search
- fast
version: 1.3.0
4 changes: 0 additions & 4 deletions libs/Observer/LIBINFO.json

This file was deleted.

8 changes: 8 additions & 0 deletions libs/Observer/LIBRARY.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
tags:
- observers
- tools
- player
- character
- tag
- CollectionService
version: 1.0.0
4 changes: 0 additions & 4 deletions libs/Random/LIBINFO.json

This file was deleted.

4 changes: 4 additions & 0 deletions libs/Random/LIBRARY.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
tags:
- random
- math
version: 1.3.0
4 changes: 0 additions & 4 deletions libs/Ratelimit/LIBINFO.json

This file was deleted.

4 changes: 4 additions & 0 deletions libs/Ratelimit/LIBRARY.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
tags:
- ratelimiting
- mrrp
version: 2.1.0
4 changes: 0 additions & 4 deletions libs/Retryer/LIBINFO.json

This file was deleted.

4 changes: 4 additions & 0 deletions libs/Retryer/LIBRARY.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
tags:
- retrying
- http
version: 2.3.0
4 changes: 0 additions & 4 deletions libs/SafeTeleport/LIBINFO.json

This file was deleted.

4 changes: 4 additions & 0 deletions libs/SafeTeleport/LIBRARY.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
tags:
- TeleportService
- typed
version: 2.0.0
4 changes: 0 additions & 4 deletions libs/TextChat/LIBINFO.json

This file was deleted.

3 changes: 3 additions & 0 deletions libs/TextChat/LIBRARY.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
tags:
- TextChatService
version: 2.1.0
4 changes: 0 additions & 4 deletions libs/Url/LIBINFO.json

This file was deleted.

5 changes: 5 additions & 0 deletions libs/Url/LIBRARY.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
version: 1.3.0
tags: [ url, url encode, url decode, query ]
runtime:
optional: [ roblox ]
main: pure
4 changes: 0 additions & 4 deletions libs/character/LIBINFO.json

This file was deleted.

4 changes: 4 additions & 0 deletions libs/character/LIBRARY.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
tags:
- character
- typed
version: 1.4.0
4 changes: 0 additions & 4 deletions libs/connector/LIBINFO.json

This file was deleted.

4 changes: 4 additions & 0 deletions libs/connector/LIBRARY.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
tags:
- meow
- mrrp
version: 1.0.0
4 changes: 0 additions & 4 deletions libs/cross/LIBINFO.json

This file was deleted.

4 changes: 4 additions & 0 deletions libs/cross/LIBRARY.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
tags:
- cross runtime
- runtime
version: 1.0.0
4 changes: 0 additions & 4 deletions libs/isempty/LIBINFO.json

This file was deleted.

4 changes: 4 additions & 0 deletions libs/isempty/LIBRARY.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
tags:
- table
- empty
version: 1.1.0
4 changes: 0 additions & 4 deletions libs/linkedlist/LIBINFO.json

This file was deleted.

5 changes: 5 additions & 0 deletions libs/linkedlist/LIBRARY.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
tags:
- linked list
- doubly-linked
- typed
version: 2.1.0
4 changes: 0 additions & 4 deletions libs/loganalytics/LIBINFO.json

This file was deleted.

4 changes: 4 additions & 0 deletions libs/loganalytics/LIBRARY.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
tags:
- analytics
- logging
version: 1.1.0
4 changes: 0 additions & 4 deletions libs/pagesutil/LIBINFO.json

This file was deleted.

5 changes: 5 additions & 0 deletions libs/pagesutil/LIBRARY.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
tags:
- pages
- utility
- iterator
version: 2.1.0
4 changes: 0 additions & 4 deletions libs/playerzone/LIBINFO.json

This file was deleted.

5 changes: 5 additions & 0 deletions libs/playerzone/LIBRARY.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
tags:
- zone
- zone detection
- player
version: 2.0.0
4 changes: 0 additions & 4 deletions libs/race/LIBINFO.json

This file was deleted.

3 changes: 3 additions & 0 deletions libs/race/LIBRARY.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
tags:
- race
version: 1.3.0
4 changes: 0 additions & 4 deletions libs/rbxthumb/LIBINFO.json

This file was deleted.

5 changes: 5 additions & 0 deletions libs/rbxthumb/LIBRARY.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
tags:
- thumbnail
- roblox
- rbxthumb
version: 1.3.0
8 changes: 6 additions & 2 deletions scripts/release/libinfo.luau
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,16 @@ local serde = require("@lune/serde")
local fs = require("@lune/fs")

type LibInfo = {
topics: { string },
tags: { string },
version: string,
runtime: {
optional: { string }?,
main: string,
}?
}

local function libinfo(lib: string): LibInfo
return serde.decode("json", fs.readFile(`libs/{lib}/LIBINFO.json`))
return serde.decode("yaml", fs.readFile(`libs/{lib}/LIBRARY.yml`))
end

return libinfo

0 comments on commit f4c9770

Please sign in to comment.