You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since #458 glob expressions are allowed in linked and ignored packages. Trying to use changeset status with a glob expression in linked produces a ValidationError:
$ yarn changeset status
馃 error ValidationError: Some errors occurred when validating the changesets config:
馃 error The package "*" is specified in the `linked` option but it is not found in the project. You may have misspelled the package name.
馃 error at parse (/Source/backstage/node_modules/@changesets/config/dist/config.cjs.dev.js:173:11)
馃 error at Object.read (/Source/backstage/node_modules/@changesets/config/dist/config.cjs.dev.js:64:10)
馃 error at async getReleasePlan (/Source/backstage/node_modules/@changesets/get-release-plan/dist/get-release-plan.cjs.dev.js:21:22)
馃 error at async getStatus (/Source/backstage/node_modules/@changesets/cli/dist/cli.cjs.dev.js:877:23)
馃 error at async run$1 (/Source/backstage/node_modules/@changesets/cli/dist/cli.cjs.dev.js:1121:11) {
馃 error _error: Error
馃 error at new ExtendableError (/Source/backstage/node_modules/extendable-error/bld/index.js:23:24)
馃 error at new ValidationError (/Source/backstage/node_modules/@changesets/errors/dist/errors.cjs.dev.js:16:1)
馃 error at parse (/Source/backstage/node_modules/@changesets/config/dist/config.cjs.dev.js:173:11)
馃 error at Object.read (/Source/backstage/node_modules/@changesets/config/dist/config.cjs.dev.js:64:10)
馃 error at async getReleasePlan (/Source/backstage/node_modules/@changesets/get-release-plan/dist/get-release-plan.cjs.dev.js:21:22)
馃 error at async getStatus (/Source/backstage/node_modules/@changesets/cli/dist/cli.cjs.dev.js:877:23)
馃 error at async run$1 (/Source/backstage/node_modules/@changesets/cli/dist/cli.cjs.dev.js:1121:11)
馃 error }
error Command failed with exit code 1.
I am encountering this with backstage/backstage which has the linked configuration:
"linked": [["*"]],
Proposed solution
The text was updated successfully, but these errors were encountered:
Oh, okay - in a hurry I've assumed that your issue was related to something else and that this could have helped you.
From what I've noticed this call stack was not using the latest @changesets/config in your repository and this is a very probable cause that would result in this validation error. So I've prepared a quick PR for you here: backstage/backstage#3577
Affected Packages
config
Problem
Since #458 glob expressions are allowed in linked and ignored packages. Trying to use
changeset status
with a glob expression inlinked
produces a ValidationError:I am encountering this with backstage/backstage which has the linked configuration:
Proposed solution
The text was updated successfully, but these errors were encountered: