mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 03:36:06 +00:00
Switch git submodules to Wally packages (#584)
* Switch git submodules to Wally packages * Update build snapshot * Add wally to foreman and use latest versions * Install packages in CI runners * Fix indents * Install packages in the correct directory * Install packages in correct dir of release action too * Remove submodules from ci checkout * Remove submodules from release checkout * Update selene with latest fix * Fix whitespace Co-authored-by: Lucien Greathouse <me@lpghatguy.com>
This commit is contained in:
parent
565c12405e
commit
e864cf0c7d
63 changed files with 271 additions and 190 deletions
|
|
@ -2,7 +2,8 @@
|
|||
Defines the errors that can be returned by the reconciler.
|
||||
]]
|
||||
|
||||
local Fmt = require(script.Parent.Parent.Parent.Fmt)
|
||||
local Packages = script.Parent.Parent.Parent.Packages
|
||||
local Fmt = require(Packages.Fmt)
|
||||
|
||||
local Error = {}
|
||||
|
||||
|
|
@ -34,4 +35,4 @@ function Error:__tostring()
|
|||
return Fmt.fmt("Error({}): {:#?}", self.kind, self.details)
|
||||
end
|
||||
|
||||
return Error
|
||||
return Error
|
||||
|
|
|
|||
|
|
@ -5,7 +5,8 @@
|
|||
Patches can come from the server or be generated by the client.
|
||||
]]
|
||||
|
||||
local Log = require(script.Parent.Parent.Parent.Log)
|
||||
local Packages = script.Parent.Parent.Parent.Packages
|
||||
local Log = require(Packages.Log)
|
||||
|
||||
local PatchSet = require(script.Parent.Parent.PatchSet)
|
||||
local Types = require(script.Parent.Parent.Types)
|
||||
|
|
|
|||
|
|
@ -3,7 +3,8 @@
|
|||
usable by Rojo's reconciler, potentially using RbxDom.
|
||||
]]
|
||||
|
||||
local RbxDom = require(script.Parent.Parent.Parent.RbxDom)
|
||||
local Packages = script.Parent.Parent.Parent.Packages
|
||||
local RbxDom = require(Packages.RbxDom)
|
||||
local Error = require(script.Parent.Error)
|
||||
|
||||
local function decodeValue(encodedValue, instanceMap)
|
||||
|
|
@ -38,4 +39,4 @@ local function decodeValue(encodedValue, instanceMap)
|
|||
return true, decodedValue
|
||||
end
|
||||
|
||||
return decodeValue
|
||||
return decodeValue
|
||||
|
|
|
|||
|
|
@ -3,7 +3,9 @@
|
|||
patch that can be later applied.
|
||||
]]
|
||||
|
||||
local Log = require(script.Parent.Parent.Parent.Log)
|
||||
local Packages = script.Parent.Parent.Parent.Packages
|
||||
local Log = require(Packages.Log)
|
||||
|
||||
local invariant = require(script.Parent.Parent.invariant)
|
||||
local getProperty = require(script.Parent.getProperty)
|
||||
local Error = require(script.Parent.Error)
|
||||
|
|
@ -152,4 +154,4 @@ local function diff(instanceMap, virtualInstances, rootId)
|
|||
return true, patch
|
||||
end
|
||||
|
||||
return diff
|
||||
return diff
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
return function()
|
||||
local Log = require(script.Parent.Parent.Parent.Log)
|
||||
local Packages = script.Parent.Parent.Parent.Packages
|
||||
local Log = require(Packages.Log)
|
||||
|
||||
local InstanceMap = require(script.Parent.Parent.InstanceMap)
|
||||
local PatchSet = require(script.Parent.Parent.PatchSet)
|
||||
|
|
@ -286,4 +287,4 @@ return function()
|
|||
expect(size(patch.added)).to.equal(1)
|
||||
expect(patch.added["CHILD"]).to.equal(virtualInstances["CHILD"])
|
||||
end)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -2,7 +2,8 @@
|
|||
Attempts to read a property from the given instance.
|
||||
]]
|
||||
|
||||
local RbxDom = require(script.Parent.Parent.Parent.RbxDom)
|
||||
local Packages = script.Parent.Parent.Parent.Packages
|
||||
local RbxDom = require(Packages.RbxDom)
|
||||
local Error = require(script.Parent.Error)
|
||||
|
||||
local function getProperty(instance, propertyName)
|
||||
|
|
@ -56,4 +57,4 @@ local function getProperty(instance, propertyName)
|
|||
return true, valueOrErr
|
||||
end
|
||||
|
||||
return getProperty
|
||||
return getProperty
|
||||
|
|
|
|||
|
|
@ -2,8 +2,9 @@
|
|||
Attempts to set a property on the given instance.
|
||||
]]
|
||||
|
||||
local RbxDom = require(script.Parent.Parent.Parent.RbxDom)
|
||||
local Log = require(script.Parent.Parent.Parent.Log)
|
||||
local Packages = script.Parent.Parent.Parent.Packages
|
||||
local Log = require(Packages.Log)
|
||||
local RbxDom = require(Packages.RbxDom)
|
||||
local Error = require(script.Parent.Error)
|
||||
|
||||
local function setProperty(instance, propertyName, value)
|
||||
|
|
@ -45,4 +46,4 @@ local function setProperty(instance, propertyName, value)
|
|||
return true
|
||||
end
|
||||
|
||||
return setProperty
|
||||
return setProperty
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue