Home > @infiniteobjects/heft-shopify-rig
heft-shopify-rig package
Heft rig for Shopify themes
Classes
Enumerations
Functions
Function |
Description |
compileSettingsForTheme({ environment, sourcePath, destinationPath, useLocal, devMode, log, }) |
Creates settings for the target theme environment and copies them to the destination |
createGlobForFolder(sourceFolder, targetFolder) |
creates a glob for for a given folder |
getEnvironmentFromStore(store) |
Gets the environment for a given store |
getSourcePaths(sourceFolder, targetFolder) |
Get source paths |
getThemePaths(themeSource) |
Generates an array of files to map the theme source to the shopify theme structure. |
mergeDeep(target, source) |
Merges two objects deeply |
reconstructTheme(options) |
Takes a path to a Shopify theme and a Source theme, It copies the files from the Shopify theme to the Source theme respecting the Source theme structure. |
runAsync(options) |
Update the theme version in the theme schema. |
Interfaces
Variables
Type Aliases