2021-03-06
- Changed default CLI packing behavior to output to a zip file instead of a folder.
- Fixed invalid versions not outputting a
pack_format
. - Refactored code to be written in TypeScript.
2021-01-23
- Added Node.js exports,
init(options?)
andpack(input, output, options?)
- Added optional
<input>
command-line option torpkr pack
, changing the syntax torpkr pack [<input>] [<output>|--force]
. - Changed default file globs to be more specific.
2021-01-23
- Refactored pack format information to use package
pack-format
.
2021-01-21
- Added support for packaging to a zip file by appending
.zip
to the output name. - Added
--folder
flag (alias-f
) to package to an automatically-named folder instead of the default zip file. - Changed default packaging from a folder to a zip file.
2021-01-02
- Added support for pack version 7 (Minecraft 1.17+).
- Added a warning when initialising inside an existing project.
- Changed the output folder name to more accurately combine the release and development versions.
- Changed the output of
rpkr
(without any parameters) to display a welcome message instead of an error. - Bumped copyfiles dependency from 2.3.0 to 2.4.1.
2020-08-08
- Fixed special characters in custom parameter names not being escaped when substituting.
2020-08-08
- Added support for pack version 6 (Minecraft 1.16.2+).
2020-08-01
- Added
configver
parameter to the.rpkr.json
configuration file.
2020-07-18
- Breaking: Changed configuration file from
.rpkr
(in a custom format) to.rpkr.json
(in a JSON format). - Added support for automatic langugage generation by setting the values of language codes in the
.rpkr.json
configuration file.
2020-07-16
- Added
description
property to.rpkr
, which creates an automaticpack.mcmeta
file if set.- Can contain references to other parameters in the
.rpkr
file (including custom ones) by enclosing the parameter name in angle brackets (<>
). - Ampersands (
&
) are automatically converted to section signs (§
) to become color codes. - Pack version is automatically generated from the value of
mcver
.
- Can contain references to other parameters in the
- Added support for custom variables in the
.rpkr
configuration file.
2020-07-16
- Supports the creation and reading of
.rpkr
configuration files with keysname
,packver
,mcver
,snapver
, andfiles
. - Supports packaging into either a pre-set (using
.rpkr
) or user-specified output folder.