6 Commits

Author SHA1 Message Date
5aea46df6b Attempts to fix cross-device rename issue.
Resolves a `EXDEV: cross-device link not permitted` error when attempting to use `fs.rename` to move a file from one device to another. Reintroduces the `fs-extra` package to help with this.
2023-09-21 14:27:32 +00:00
3ada2155db Updated Build Script
Total rewrite of the build script. There were some issues with the original I built, so I spent some time rewriting it into this. I've been testing it with my mods for a while now, and I believe I've ironed out all of the issues. I wanted to replace the old script before 3.7 dropped.

Notable Changes
- Dropped the inline ignore array for a `.buildignore` file. The syntax of this file now exactly matches that of a `.gitignore` file.
- Dropped the `bestzip` package for `archiver`.
- Dropped all custom functions that handled file and directory ignoring for the `Ignore` package.
- Includes the `Winston` package for sexy logging.
- Changed any function that touches a file to run asynchronously.
- Changed the build process to use an OS temporary directory instead of creating one in the project directory.
- Added a verbose option to display which files ended up being copied and which were ignored for testing the `.buildignore` file.
- Changed the packaged mod to include the folder structure in which it must be installed: `/user/mods/mod-name-here`.

Closes issue #13
2023-09-21 14:27:31 +00:00
Dev
9932613f6b Update types and package.json version number compatibility 2023-09-18 15:11:02 +01:00
Dev
21765e610c Update example packages to match server 2023-07-29 14:17:31 +01:00
Dev
1a4d3dacf0 Update supported version 2023-07-18 18:45:11 +01:00
deae903799 Custom Item Service Example 2023-04-02 17:21:38 +07:00