misc bugfixes for alpha.4 (#2953)

* fix lockup when stop during init

* Fix incorrect description for registry package remove command

* alpha.5

* beta.25

---------

Co-authored-by: Mariusz Kogen <k0gen@pm.me>
This commit is contained in:
Aiden McClelland
2025-05-23 11:23:29 -06:00
committed by GitHub
parent b1f9f90fec
commit 90e61989a4
19 changed files with 120 additions and 85 deletions

View File

@@ -64,13 +64,11 @@ import * as fs from "node:fs/promises"
import {
setupInit,
setupUninit,
setupOnInstall,
setupOnUpdate,
setupOnInstallOrUpdate,
setupOnInit,
setupOnUninit,
} from "../../base/lib/inits"
export const OSVersion = testTypeVersion("0.4.0-alpha.4")
export const OSVersion = testTypeVersion("0.4.0-alpha.5")
// prettier-ignore
type AnyNeverCond<T extends any[], Then, Else> =
@@ -506,21 +504,13 @@ export class StartSdk<Manifest extends T.SDKManifest> {
*/
setupDependencies: setupDependencies<Manifest>,
/**
* @description Use this function to create an InitScript that runs every time the service initializes
* @description Use this function to create an InitScript that runs every time the service initializes (install, update, restore, rebuild, and server bootup)
*/
setupOnInit,
/**
* @description Use this function to create an InitScript that runs only when the service is freshly installed
* @description Use this function to create an UninitScript that runs every time the service uninitializes (update, uninstall, and server shutdown)
*/
setupOnInstall,
/**
* @description Use this function to create an InitScript that runs only when the service is updated
*/
setupOnUpdate,
/**
* @description Use this function to create an InitScript that runs only when the service is installed or updated
*/
setupOnInstallOrUpdate,
setupOnUninit,
/**
* @description Use this function to setup what happens when the service initializes.
*