This repository was archived by the owner on Aug 18, 2025. It is now read-only.
v3.0.0
3.0.0 (2024-10-15)
Bug Fixes
- compiler@api: 馃┕ remove .finish() (8d66e88)
Features
- 馃幐 changed structure of class (5887b9b)
- 馃幐 remove dashes on commands (a7d4eda)
- cli: add "sjs" as alias for cli (6415b00)
- cli: add config flag for command "compile" (9e6964f)
BREAKING CHANGES
- 馃Ж Renamed the commands
Commands like --compile, --init, --help will remove its dashes into compile, init, help to remove a bit of confusion between command and flags.
- 馃Ж AfterCompilation.finish() removed
For the API change, .finish() is no longer required to be used to remove temporary files as now it happens on .compile()
These are the examples from before and after change.
Before v3
const pack =
await new Suitcase("./pack/")
.readConfig()
.compile("./out.mcpack");
const getStats = await pack.finish()
console.log("Stats: ", await getStats());After v3
const pack =
await new Suitcase("./pack/")
.readConfig()
.compile("./out.mcpack");
console.log("Stats: ", await pack.getStats());