1.0.5 • Published 3 years ago
@themezernx/target-parser v1.0.5
Target Parser
A small library that converts menu names from layouts, themes and SZS
files.
For example:
Home Menu
(nice) <-> home
(theme) <-> homemenu
(web) <-> ResidentMenu
(target) <-> ResidentMenu.szs
(target)
Home Menu
(nice): the 'nice' name displayed in UI.home
(theme): the nxtheme target.homemenu
(web): the short name used in e.g. urls on Themezer.net.ResidentMenu
(target): the target in a layout. It is also the actual filename of the menu.ResidentMenu.szs
(target): same as above.0100000000001000
(titleId): the internal system title that the menu is stored in.
Build
# install dependencies
yarn
# compile the script
yarn run build