81 Commits

Author SHA1 Message Date
Dev
b0718124cf Update types 2023-10-03 19:46:23 +01:00
Dev
2c10931ddc Update types 2023-10-02 16:36:06 +01:00
Dev
c3d5fd7228 Update types 2023-10-01 10:19:32 +01:00
Dev
148e517508 Update types 2023-09-30 15:48:09 +01:00
Dev
746a756046 Update types for examples 2023-09-27 22:14:51 +01:00
c0d3a6a357 Updated Build Script (#14)
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`.
- Updated some README files to add some more information.

Closes issue #13

Co-authored-by: Refringe <brownelltyler@gmail.com>
Reviewed-on: #14
Co-authored-by: Refringe <refringe@noreply.dev.sp-tarkov.com>
Co-committed-by: Refringe <refringe@noreply.dev.sp-tarkov.com>
2023-09-21 14:40:11 +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
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
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
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
561e30f57c Udpate types to match 3.5.8 hotfixes 2023-07-05 19:06:27 +01:00
Dev
2d51bf4844 Update types for 3.5.8 2023-06-25 13:33:29 +01:00
Dev
7b6f0d7191 Update types for 3.5.7 2023-05-30 10:48:07 +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
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
73bf80776d Update compatible versions 2023-02-12 16:36:46 +00:00
ef07efc01b Update types for examples 2023-02-12 16:32:10 +00:00
36bba54334 Fix: Trader shows in 3.5.0 2023-01-01 12:29:45 +00:00
7d3dbf6cd1 Update for 3.4.1 2022-12-27 12:33:42 +00:00
b0ce3a5081 Update trader example 2022-12-25 11:40:29 +00:00
a06b37273d improve add trader example 2022-12-25 11:04:14 +00:00
24f6974570 Updated addTrader example 2022-12-24 16:26:15 +00:00
6a7cc49ad6 Improve add trader example 2022-12-22 15:21:44 +00:00
2fa1d18251 Clean up add trader example 2022-12-22 11:44:39 +00:00
e623ee5312 Update example 13 to take into account new locale changes from bsg 2022-12-22 10:50:07 +00:00
2dc93fda84 Update types for 3.4.0 2022-12-20 18:32:21 +00:00