buckyos 0.7.188 → 0.7.189

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -698,7 +698,10 @@ export function extToolsManifestErrors(value: unknown): string[] {
698
698
  if (manifest.schema !== EXT_TOOLS_MANIFEST_SCHEMA) errors.push(`schema must be ${EXT_TOOLS_MANIFEST_SCHEMA}`)
699
699
  if (typeof manifest.id !== 'string' || !EXT_TOOLS_ID.test(manifest.id)) errors.push('id must be lowercase letters, digits and -')
700
700
  if (typeof manifest.version !== 'string' || !EXT_TOOLS_VERSION.test(manifest.version)) errors.push('version must be letters, digits and ._+-')
701
- if (!Array.isArray(manifest.provides) || manifest.provides.length === 0) errors.push('provides must not be empty')
701
+ if (!Array.isArray(manifest.provides)) errors.push('provides must be a list')
702
+ else if (manifest.provides.length === 0 && !(Array.isArray(manifest.online) && manifest.online.length > 0)) {
703
+ errors.push('a package provides commands or declares online items')
704
+ }
702
705
  const online = extToolsOnlineErrors(manifest)
703
706
  errors.push(...online.errors)
704
707
  const commands = new Set<string>()
package/cli/version.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  // Generated by scripts/generate-cli-version.mjs. Do not edit.
2
- export const PACKAGE_VERSION = '0.7.188'
2
+ export const PACKAGE_VERSION = '0.7.189'
3
3
  export const TOOL_VERSION = PACKAGE_VERSION
4
4
  export const SDK_VERSION = PACKAGE_VERSION
5
5
  export const PROTOCOL_VERSION = '1'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "buckyos",
3
- "version": "0.7.188",
3
+ "version": "0.7.189",
4
4
  "description": "BuckyOS WebSDK for browser and Node.js environments",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {