@rbxts/app-forge 0.6.0-alpha.53 → 0.6.0-alpha.55

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.
@@ -1,9 +1,7 @@
1
1
  -- Compiled with roblox-ts v3.0.0
2
2
  local TS = _G[script]
3
3
  -- Packages
4
- local _vide = TS.import(script, TS.getModule(script, "@rbxts", "vide").src)
5
- local cleanup = _vide.cleanup
6
- local effect = _vide.effect
4
+ local effect = TS.import(script, TS.getModule(script, "@rbxts", "vide").src).effect
7
5
  -- Types
8
6
  -- Components
9
7
  local AppContainer = TS.import(script, script, "container").AppContainer
@@ -47,10 +45,7 @@ do
47
45
  local _value = value
48
46
  _sources[_name] = _value
49
47
  effect(function()
50
- local val = value()
51
- cleanup(function()
52
- print("1")
53
- end)
48
+ return self.rulesManager:applyRules(name)
54
49
  end)
55
50
  else
56
51
  warn("forge.bind is used for studio when game isnt running")
@@ -1,10 +1,12 @@
1
1
  -- Compiled with roblox-ts v3.0.0
2
2
  local TS = _G[script]
3
+ -- Packages
4
+ local untrack = TS.import(script, TS.getModule(script, "@rbxts", "vide").src).untrack
3
5
  -- Types
4
6
  -- Components
5
7
  local AppRegistry = TS.import(script, script.Parent.Parent, "decorator").AppRegistry
6
8
  local function ParentRule(entry, forge)
7
- local entrySource = forge:getSource(entry)()
9
+ local entrySource = untrack(forge:getSource(entry))
8
10
  -- ▼ ReadonlyMap.forEach ▼
9
11
  local _callback = function(app, name)
10
12
  local rules = app.rules
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/app-forge",
3
- "version": "0.6.0-alpha.53",
3
+ "version": "0.6.0-alpha.55",
4
4
  "description": "An App Manager for Vide",
5
5
  "main": "out/init.lua",
6
6
  "types": "out/index.d.ts",