Skip to content

craft-hub / readWorkspaceSource

Function: readWorkspaceSource() ​

readWorkspaceSource(files): object

Defined in: packages/craft-hub/src/workspace-source.ts:83

Decode a source.json(c) bundle or a directory of portable workspace JSON(C) documents.

Parameters ​

files ​

Record<string, string>

Returns ​

object

$schema? ​

optional $schema?: string = schemaHint

id ​

id: string

name ​

name: string

schemaVersion ​

schemaVersion: 1

workspaces ​

workspaces: object[]

Released under the MIT License.