Skip to content

Serenity Executables

Latest
Compare
Choose a tag to compare
@PMK744 PMK744 released this 13 May 21:46
· 3 commits to main since this release

SerenityJS Executable
The release creates a server executable for the SerenityJS launcher!

Version Switching
The SerenityJS executable allows users to switch from beta and latest releases easily. To switch to beta, edit the "serenityjs" property in the package.json file to "beta". You will be notified that the launcher will be switching the beta package releases. To simply switch back to the latest release, change the "serenityjs" property back to "latest". You will be notified that the launcher is switching back to the latest stable release. When the launcher successfully switches versions, the package.json file will indicate which versions are currently installed. You can also switch to a local build of any package that is located on your machine, simply use NPM to install the path of the package to your server directory, and changing the "serenityjs" property to "development"

Executable Entry
Once the executable is fully initialized, the executable will then execute the index.ts file in a NodeJS environment. This file can be edited to the users liking to add additional functionality to the server. Anything written in this file will be executed before server plugins are initialized.