Releases: samualtnorman/hackmud-script-manager
Hackmud Script Manager 0.1
New hackmud_env-tools
version, which means new Script Manager version.
In the new hackmud_env-tools
version there were some API changes which means command changes.
Added
- New
pull
command.- Usage:
hsm pull <script> <src>
- Copies a specified script from the hackmud directory to your local directory.
- Usage:
Changes
hsm push
command has been renamed tohsm push-built
.hsm sync
has been renamed tohsm push
.
Fixed
watch
command updates config now.
Removed
- No more
watch
command :'(
Hackmud Script Manager 0.0.2
Fixed a typo in the package.json
that meant the package and command just did not work... like... at all. :)
Hackmud Script Manager 0.0.1
First release! Since this is the first version, here's basically all the features this package has so far.
--version
and -v
options print the version number.
--help
and -h
options prints very primitive information based on which command you ran.
All the commands (except config
) are just wrappers for the hackmud_env-tools
package.
hsm build <src - default "src"> <dist - default "dist">
Builds your script files from the chosen src folder to the target build directory.
Prints which files were built, and how many characters were saved.
hsm clear <dist - default: "dist"> <user - default: defaultUser from config>
Cleans up files in the target directory and the chosen user from the hackmud directory.
Prints number of cleared files.
hsm push <dist - default: "dist"> <user - default: defaultUser from config>
Copies scripts from the target build folder to the chosen user in the hackmud directory.
Prints how many files were pushed.
hsm sync <src - default ".">
Takes optional --users=[comma seperated users]
which if specified only pushes to those users.
Takes optional --scripts=[comma seperated scripts]
which if specified only pushes those scripts.
This is probably the most useful command, being a combination of build
and push
.
Pushes scripts directly from the src folder to the hackmud directory.
Prints every file that was synced, which users the script was pushed to, and number of characters that were saved.
hsm watch <src - default: "src"> <user - default: defaultUser from config>
Watches the chosen src folder for changes and pushes scripts if they change to chosen user in hackmud directory.
Prints script name, user it was pushed to, and how many characters were saved right after pushing a script.
hsm config get <...path>
Prints the value in the config from the specified path.
hsm config delete <...path>
Deletes the value in the config from the specified path.
hsm config set <...path> <value>
Sets the specified value in the config from the specified path.
Hackmud Script Manager 0.8.1
Added
- Now generates type definitions for JavaScript files.
- The parameter and return types use the
any
type, it's more just for autocompletes.
- The parameter and return types use the
Hackmud Script Manager 0.3
I stopped working on this project for a while, I picked it up again and these were changes sitting on my computer that I hadn't bothered to commit, push, or release.
Looks like I mostly just simplified how the script minifier works