resourcepacker
Advanced tools
Comparing version 1.0.0-pre3 to 1.0.0
# Changelog | ||
## 1.0.0-pre3 | ||
## 1.0.0 | ||
*2020-08-01* | ||
- Added `configver` parameter to the `.rpkr.json` configuration file. | ||
### 1.0.0-pre3 | ||
*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. | ||
- Removed support for custom variables in the configuration file. | ||
## 1.0.0-pre2 | ||
### 1.0.0-pre2 | ||
*2020-07-16* | ||
@@ -17,5 +20,5 @@ - Added `description` property to `.rpkr`, which creates an automatic `pack.mcmeta` file if set. | ||
## 1.0.0-pre1 | ||
### 1.0.0-pre1 | ||
*2020-07-16* | ||
- Supports the creation and reading of `.rpkr` configuration files with keys `name`, `packver`, `mcver`, `snapver`, and `files`. | ||
- Supports packaging into either a pre-set (using `.rpkr`) or user-specified output folder. |
#!/usr/bin/env node | ||
const RPKR_VERSION = '1.0.0-pre3'; | ||
const RPKR_VERSION = '1.0.0'; | ||
@@ -10,2 +10,3 @@ const fs = require('fs'); | ||
const CONFIG = { | ||
configver: 2, | ||
name: process.cwd().split(/\/|\\/).slice(-1)[0], | ||
@@ -12,0 +13,0 @@ packver: '1.0.0', mcver: '1.16.x', mcsnap: null, |
{ | ||
"name": "resourcepacker", | ||
"version": "1.0.0-pre3", | ||
"version": "1.0.0", | ||
"description": "Easily and cleanly packages Minecraft resource packs from a messy working directory", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -1,4 +0,3 @@ | ||
[![Latest version](https://img.shields.io/github/v/release/Nixinova/resourcepacker?label=latest&style=flat-square&include_prereleases)](https://github.com/Nixinova/resourcepacker/releases) | ||
[![npm version](https://img.shields.io/npm/v/resourcepacker?style=flat-square)](https://www.npmjs.com/package/resourcepacker) | ||
[![npm downloads](https://img.shields.io/npm/dt/resourcepacker?style=flat-square)](https://www.npmjs.com/package/resourcepacker) | ||
[![Latest version](https://img.shields.io/github/v/release/Nixinova/resourcepacker?label=latest&style=flat-square&logo=github)](https://github.com/Nixinova/resourcepacker/releases) | ||
[![npm downloads](https://img.shields.io/npm/dt/resourcepacker?style=flat-square&logo=npm)](https://www.npmjs.com/package/resourcepacker) | ||
[![Last updated](https://img.shields.io/github/release-date-pre/Nixinova/resourcepacker?label=updated&style=flat-square)](https://github.com/Nixinova/resourcepacker/releases) | ||
@@ -16,3 +15,3 @@ | ||
To package a resource pack, simply type **`rpkr pack`** and your resource pack will be packaged into an output folder. You can control which directory the files are outputted to by placing the output folder name in quotes after this command; for example, `rpkr pack "My Pack 1.16"` outputs to folder "My Pack 1.16". If the output folder is not set, it defaults to the format "`name` `packver` (`mcver`)", where each value comes from the `.rpkr.json` file. | ||
To package a resource pack, simply type **`rpkr pack`** and your resource pack will be packaged into an output folder. You can control which directory the files are outputted to by placing the output folder name in quotes after this command; for example, `rpkr pack "My Pack 1.16"` outputs to folder "My Pack 1.16". If the output folder is not set, it defaults to the format "`<name>` `<packver>` (`<mcver>`)", where each value comes from the `.rpkr.json` file. | ||
@@ -25,2 +24,3 @@ ## Configuration | ||
* `configver`: The `.rpkr.json` file version. Leave as-is. | ||
* `name`: The name of your resource pack. Defaults to the name of the current folder. | ||
@@ -27,0 +27,0 @@ * `packver`: The version of your resource pack. Defaults to "1.0.0". |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
83
1
11641