External Build Script #8

Merged
chomp merged 2 commits from :master into BuildScriptRework 2022-09-09 04:29:52 -04:00
Contributor

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.
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.
Refringe added 1 commit 2022-08-31 22:34:57 -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.
Refringe added 1 commit 2022-09-08 13:32:42 -04:00
chomp changed target branch from master to BuildScriptRework 2022-09-09 04:29:47 -04:00
chomp merged commit 50368c469c into BuildScriptRework 2022-09-09 04:29:52 -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#8
No description provided.