@quenty/templateprovider 11.55.1 → 11.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/package.json +3 -3
- package/src/Shared/TemplateProvider.spec.lua +25 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [11.56.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/templateprovider@11.55.1...@quenty/templateprovider@11.56.0) (2026-10-24)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @quenty/templateprovider
|
|
9
|
+
|
|
6
10
|
## [11.55.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/templateprovider@11.55.0...@quenty/templateprovider@11.55.1) (2026-10-20)
|
|
7
11
|
|
|
8
12
|
### Bug Fixes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/templateprovider",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.56.0",
|
|
4
4
|
"description": "Base of a template retrieval system",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@quenty/loader": "10.11.3",
|
|
40
40
|
"@quenty/maid": "3.12.3",
|
|
41
41
|
"@quenty/nevermore-test-runner": "1.6.3",
|
|
42
|
-
"@quenty/observablecollection": "12.
|
|
42
|
+
"@quenty/observablecollection": "12.55.0",
|
|
43
43
|
"@quenty/playermock": "1.11.1",
|
|
44
44
|
"@quenty/promise": "10.25.1",
|
|
45
45
|
"@quenty/promisemaid": "5.25.1",
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"publishConfig": {
|
|
55
55
|
"access": "public"
|
|
56
56
|
},
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "eefcb7e24fe7642e06e4ceed920aceecdad97cd1"
|
|
58
58
|
}
|
|
@@ -537,6 +537,31 @@ describe("TemplateProvider.AddTemplates", function()
|
|
|
537
537
|
controller:Destroy()
|
|
538
538
|
end)
|
|
539
539
|
|
|
540
|
+
it("provides every initial container when their folders become containers too", function()
|
|
541
|
+
local controller = setup()
|
|
542
|
+
|
|
543
|
+
-- The skip depends on where containers hash, so one provider rarely shows it
|
|
544
|
+
for _ = 1, 30 do
|
|
545
|
+
local containers = {}
|
|
546
|
+
for index = 1, 5 do
|
|
547
|
+
local container = controller.newInstance("Configuration", `Container{index}`)
|
|
548
|
+
controller.newInstance("ModuleScript", `Template{index}`, container)
|
|
549
|
+
for folderIndex = 1, 3 do
|
|
550
|
+
controller.newInstance("Folder", `Folder{folderIndex}`, container)
|
|
551
|
+
end
|
|
552
|
+
table.insert(containers, container)
|
|
553
|
+
end
|
|
554
|
+
|
|
555
|
+
local provider = controller.newProvider(containers)
|
|
556
|
+
|
|
557
|
+
for index = 1, 5 do
|
|
558
|
+
expect(provider:GetTemplate(`Template{index}`)).never.toBeNil()
|
|
559
|
+
end
|
|
560
|
+
end
|
|
561
|
+
|
|
562
|
+
controller:Destroy()
|
|
563
|
+
end)
|
|
564
|
+
|
|
540
565
|
it("rejects a table entry that is not an instance or observable", function()
|
|
541
566
|
local controller = setup()
|
|
542
567
|
local provider = controller.newProvider({})
|