59 Commits

Author SHA1 Message Date
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
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
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
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
aeac2053d3 Update types 2023-03-09 11:23:08 +00:00
Dev
78f1193641 Update types 2023-03-05 18:27:48 +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
f56c0e1c5c Fix: Update types to fix error in example 12 2023-01-01 12:43:53 +00:00
7d3dbf6cd1 Update for 3.4.1 2022-12-27 12:33:42 +00:00
2dc93fda84 Update types for 3.4.0 2022-12-20 18:32:21 +00:00
37c8ff1a12 Update package jsons to match 340 code 2022-12-19 14:07:04 +00:00
0cca86c132 Update types 2022-11-14 15:08:43 +00:00
64c9842cee Update aki version strings + example mod 1s types 2022-11-12 16:08:26 +00:00
3e2d95eb2e Update for 3.2.5 2022-10-17 19:50:31 +01:00
fd4f213982 Update readme title 2022-10-04 15:08:59 +01:00
57390ef455 Update download link 2022-10-04 15:02:11 +01:00
9eee3a7a4d Update readme 2022-10-04 15:01:02 +01:00
4af4e7e780 Update examples for 3.2.4 2022-10-02 23:00:27 +01:00
bd8a707087 Update for 3.2.3 2022-09-11 16:45:21 +01:00
25b51fcce1 Formatting changes + completion message change 2022-09-09 09:53:24 +01:00
Dinkadactyl
c849f9e51b Merge branch 'master' into master 2022-09-08 17:32:40 +00:00
e9c0f8c8e2 Update types to match 3.2.3 2022-09-08 16:35:55 +01:00
Dinkadactyl
e06fea8398
External Build Script
This update removes the inline build scripts from the `package.json` file and replaces them with an external build script: `packageBuild.ts`. An external script allows for much more flexibility.

Along with the external script change, this PR updates a few other things:
 - Moved from `copyfiles` to `fs-extra` for minor speed improvements.
 - Generates the mod package name by using the `package.json` information. The format used is `Author-PackageName-Version`.
 - Saves the compressed file in the `dist` folder.
 - Saves the compressed file using the new mod package name.
 - Compressed file now includes a root directory named after the mod package for easy copying to the user's `user/mods` game directory.
2022-08-31 22:28:48 -04:00
5ba3a299f8 Update types to 3.2.2 2022-08-29 15:58:24 +01:00
129b6eb52a 3.2.2 2022-08-23 21:56:08 +01:00
cdba0e1ecc 3.2.1 update 2022-08-15 22:07:06 +01:00
3586f650d2 Update types for 3.2.0 release 2022-08-08 11:13:42 +01:00
80bf789157 320 types update 2022-08-07 16:58:09 +01:00
c4ee2f5787 Update examples for 3.2.0 2022-08-06 23:08:19 +01:00
2b6e6e6ba5 Merge branch 'master' of https://dev.sp-tarkov.com/chomp/ModExamples 2022-07-25 20:49:28 +01:00
9d1d6f8995 Update version strings 2022-07-25 20:49:20 +01:00