Skip to content

Modify Workspace Detection #116

Description

@wsandersvc

Current configuration

const workspaces = require(commander_plus_1.default.folder + '/package.json').workspaces.packages;

Should be

const workspaces = require(commander_plus_1.default.folder + '/package.json').workspaces;
if (workspaces && 'packages' in workspaces) {
    workspaces = workspaces.packages
}

To handle cases where package.json contains the following with implict packages

"workspaces": [
  ".",
  "amplify/backend/function/**/src"
],

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions