@rbxts/app-forge 0.6.0-alpha.30 → 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,28 +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 _result = rules
36
- if _result ~= nil then
37
- _result = _result.group
38
- end
39
- if _result == "Core" then
40
- return nil
41
- end
42
- local _value = rules.parent
43
- if _value ~= "" and _value then
44
- ParentRule(name, self.forge)
45
- end
46
- return nil
24
+ ParentRule(name, self.forge)
47
25
  end
48
26
  end
49
27
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/app-forge",
3
- "version": "0.6.0-alpha.30",
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",