mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
Extract get_data_version into a shared function used by both effects and service_map. Use the actual data version (instead of the previous package version) when computing migration targets, and skip migrations when the target range is unsatisfiable. Also detect install vs update based on the presence of a data version file rather than load disposition alone.
Start SDK
Config Conversion
- Copy the old config json (from the getConfig.ts)
- Install the start-sdk with
npm i - paste the config into makeOutput.ts::oldSpecToBuilder (second param)
- Make the third param
{
StartSdk: "start-sdk/lib",
}
- run the script
npm run buildOutputto make the output.ts - Copy this whole file into startos/procedures/config/spec.ts
- Fix all the TODO