@rbxts/app-forge 0.6.0-alpha.31 → 0.6.0-alpha.32

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.
@@ -2,7 +2,6 @@
2
2
  local TS = _G[script]
3
3
  -- Packages
4
4
  -- Components
5
- local AppRegistry = TS.import(script, script.Parent, "decorator").AppRegistry
6
5
  -- Types
7
6
  -- Rules
8
7
  local ParentRule = TS.import(script, script, "parent").default
@@ -22,21 +21,7 @@ do
22
21
  self.forge = forge
23
22
  end
24
23
  function RulesManager:applyRules(name)
25
- local _name = name
26
- local appData = AppRegistry[_name]
27
- local _rules = appData
28
- if _rules ~= nil then
29
- _rules = _rules.rules
30
- end
31
- local rules = _rules
32
- if not rules then
33
- return nil
34
- end
35
- local _value = rules.parent
36
- if _value ~= "" and _value then
37
- ParentRule(name, self.forge)
38
- end
39
- return nil
24
+ ParentRule(name, self.forge)
40
25
  end
41
26
  end
42
27
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/app-forge",
3
- "version": "0.6.0-alpha.31",
3
+ "version": "0.6.0-alpha.32",
4
4
  "description": "An App Manager for react",
5
5
  "main": "out/init.lua",
6
6
  "types": "out/index.d.ts",