BuildScriptRework #9

Merged
chomp merged 4 commits from BuildScriptRework into master 2022-09-09 04:53:59 -04:00
Owner
No description provided.
chomp added 4 commits 2022-09-09 04:53:52 -04:00
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.
Reviewed-on: #8
chomp merged commit b804735ef7 into master 2022-09-09 04:53:59 -04:00
chomp deleted branch BuildScriptRework 2022-09-09 04:53:59 -04:00
Sign in to join this conversation.
No Reviewers
No Label
No Milestone
No project
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: chomp/ModExamples#9
No description provided.