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-path
option andHSM_HACKMUD_PATH
environment variable #150Object
inObject.call.bind
is now minified to less chars when available #130- Rename
--skip-minify
to--no-minify
hsm --help
- Convert
console.log()
and friends to#D()
#135 - Default hackmud path
- Can now directly import
hackmud-script-manager
without/index.js
hackmud-script-manager/env.d.ts
_SCRIPT_NAME
and_SCRIPT_USER
no longer turn into"UNKNOWN"
#151
Fix
JSON.stringify()
andJSON.parse()
innode_modules
are 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_NAME
turning 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-path
option andHSM_HACKMUD_PATH
environment variable
- replaced with
- drop
hsm config
- default exports from modules
- mandate
scriptName
option toprocessScript()
andtransform()
- renamed
Info["file"]
andInfo["minLength"]
topath
andcharacterCount
- rename
uniqueID
touniqueId
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
!