Hackmud Script Manager 0.20
To update to the latest release, run pnpm add hackmud-script-manager@latest in the environment folder.
Added/Updated
--hackmud-pathoption andHSM_HACKMUD_PATHenvironment variable #150ObjectinObject.call.bindis now minified to less chars when available #130- Rename
--skip-minifyto--no-minify hsm --help- Convert
console.log()and friends to#D()#135 - Default hackmud path
- Can now directly import
hackmud-script-managerwithout/index.js hackmud-script-manager/env.d.ts_SCRIPT_NAMEand_SCRIPT_USERno longer turn into"UNKNOWN"#151
Fix
JSON.stringify()andJSON.parse()innode_modulesare now converted toJSON.ostringify()andJSON.oparse()#137- Empty object/array literal cause parent object/array literal not to be quine cheateable #146
hsm push(all-scripts invocation) does not follow symbolic links #155- Nested string arrays disappear when minified #153
- No longer generate unnecessary around function expressions #147
- not calling preprocessor function semantics
- fix
_FULL_SCRIPT_NAMEturning into"undefined.foo" - Do not push javascript version of script if typescript version exists #152
Changed
- samualtnorman/hackmud-environment#27
- got rid of
~/.config/hsm.json- replaced with
--hackmud-pathoption andHSM_HACKMUD_PATHenvironment variable
- replaced with
- drop
hsm config - default exports from modules
- mandate
scriptNameoption toprocessScript()andtransform() - renamed
Info["file"]andInfo["minLength"]topathandcharacterCount - rename
uniqueIDtouniqueId
Setup: https://github.com/samualtnorman/hackmud-script-manager?tab=readme-ov-file#install
Associated Issue: #154
Full Changelog: v0.19.0...v0.20.0
Thank you @danswann for your contribution to env.d.ts!