3.0.1
π§ Changes
- Icon default path was changed, now shouldn't put your
icon.svg
in./Addon
folder, now you must put your icon in main folder./
π Improvements
Lost error detector was improved. Now it detects next issues:
- Empty plugin property Id
- Duplicated plugin property id's
- Empty group Id
- Duplicated group id's
- Empty Category Id
- Duplicated Category id's
- Empty Action/Condition/Expression Id
- Duplicated Action/Condition/Expression id's
- Empty Parameter Id
- Duplicated Parameter id's
- Duplicated methods names
π New features
- Added new command to CLI
lost build --watch
for faster addon development
That command will automatically reload build command after you changed any addon file - Now when you are using
lost build
command, it'll create .d.ts file with plugin properties types at path:./Addon/Types/properties.d.ts
Usage example
class LostInstance extends globalThis.ISDKInstanceBase {
constructor() {
super();
const properties = this._getInitProperties() as PluginProperties;
}
}
It'll help you to detect type of your plugin property in main Instance.ts
file.