146 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
795a97271f Attempts to fix a Windows path issue. 2023-09-21 14:27:32 +00:00
938c644f1d Updated README Files
Updated the README files with a touch more information.
2023-09-21 14:27:31 +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
d23f96f3db Update types 2023-09-12 14:36:36 +01:00
Dev
bb1fe2e422 Update types for 370 2023-09-05 14:22:50 +01:00
Dev
58593864c1 Update types for 3.7.0 2023-08-31 12:22:38 +01:00
Dev
71a2f8dae6 Update types 2023-08-06 16:20:08 +01:00
Dev
d9c933fe2b Update types 2023-08-04 17:33:45 +01:00
Dev
1230a53555 Typo fix 2023-08-03 14:55:12 +01:00
Dev
e6c0fc7835 Update types 2023-08-02 16:18:37 +01:00
Dev
b2348014ea Fixed issue with example mods building zip containing types + other unnecessary files (Thanks to TorturedChunk for fix) 2023-08-02 09:52:36 +01:00
Dev
3d58c2e8dd Add trader id to Trader enum 2023-08-02 08:13:25 +01:00
Dev
21fc225eed Update types 2023-08-01 17:37:33 +01:00
Dev
b84be52584 Update example trader mod to use fluent api approach to adding assorts 2023-08-01 17:36:55 +01:00
Dev
edfffaa320 Update types to match server 2023-07-30 17:43:30 +01:00
Dev
30186be2d2 Build examples against es2021 2023-07-29 14:26:23 +01:00
Dev
21765e610c Update example packages to match server 2023-07-29 14:17:31 +01:00
Dev
ccfa42319f Update types for example 2 and 3 2023-07-29 13:59:04 +01:00
Dev
8efe048c1d Improve readme consistency 2023-07-29 13:54:41 +01:00
Dev
badd8fa265 Update readme + example 1 types 2023-07-29 13:48:13 +01:00
Dev
ef814a53e3 Update types for 3.6.0 - example #1 2023-07-25 16:00:47 +01:00
Dev
1a4d3dacf0 Update supported version 2023-07-18 18:45:11 +01:00
Dev
57b1a22381 Update types 2023-07-18 16:59:04 +01:00
Dev
91636817ae Update types 2023-07-18 16:56:07 +01:00
Dev
622ab3fbc2 Update types 2023-07-16 11:01:53 +01:00
Dev
421120f623 Improve addTrader example
Move some code to new class `traderHelper`
More comments
Added example of constructing weapon from scratch
exposed trader update time as parameter instead of hard coding
Add additional example for adding singular item with different params
Added ability to add buy restrictions to items
2023-07-16 11:01:19 +01:00
Dev
65659372dd Additional type changes 2023-07-14 13:07:41 +01:00
Dev
c4cfcdc367 Initial changes for 3.6.0 2023-07-14 12:31:38 +01:00
Dev
561e30f57c Udpate types to match 3.5.8 hotfixes 2023-07-05 19:06:27 +01:00
Dev
7b2f9c2862 Update for 358 hotfix 2023-06-30 14:16:58 +01:00
Dev
2d51bf4844 Update types for 3.5.8 2023-06-25 13:33:29 +01:00
Dev
7dab084b7c Update types to match server 2023-06-06 16:37:29 +01:00
Dev
7b6f0d7191 Update types for 3.5.7 2023-05-30 10:48:07 +01:00
Dev
34a7f5aaea Update typse to match latest server for example 1 2023-05-29 23:15:28 +01:00
Dev
e72f313d88 Update types for 3.5.6 2023-05-15 17:57:25 +01:00
Dev
81b0cd7872 Update types 2023-04-09 15:20:44 +01:00
Dev
ec69b649b3 Update 2023-04-08 18:02:51 +01:00
Dev
163fb17393 Update type 2023-04-07 16:36:54 +01:00
Dev
b875e5eb03 Updated types for 3.4.5 2023-04-07 13:51:58 +01:00
deae903799 Custom Item Service Example 2023-04-02 17:21:38 +07:00
Dev
c6e5f127a7 Update types for 3.5.4 2023-03-25 22:12:15 +00:00
Dev
33f835fb83 Update types for 3.5.4 2023-03-23 14:39:36 +00:00
Dev
af9cacc6e9 Update types 2023-03-13 19:11:29 +00:00
Dev
aeac2053d3 Update types 2023-03-09 11:23:08 +00:00
Dev
78f1193641 Update types 2023-03-05 18:27:48 +00:00
4b9660d454 Fix example 13 errors 2023-02-19 20:46:42 +00:00
f01d0bab6e Update types for 3.5.1 2023-02-19 20:42:07 +00:00
95cca5325e Add new examples 2023-02-12 16:45:38 +00:00