Connect your Minecraft username to Magikcraft
With Magikcraft, you can write JavaScript code in your web browser at play.magikcraft.io,
When you have made changes to a world, you need to do three things:
Edit the package.json
file and increment the version number.
The version number uses semver (semantic versioning) - in the form of x.y.z.
Increment x and set y and z to 0 if it is a really big change - like a whole new version of the world that means we need to write new code and lesson plans. So, for example, you would go from 1.2.6
to 2.0.0
.
If it is a minor version change - different from a previous version, but with no impact on code or documentation - increment y and reset z. For example: 1.1.18
to 1.2.0
.
If it is a patch release - cosmetic or world mechanics fix, then increment z - for example, 3.2.15
to 3.2.16
.
git add .
git commit -m "Some comment on what changed"
git push
Run the following command to publish a new package:
npm publish