Skip to content

Invalid example for versioning feature #159

@jumic

Description

@jumic

Hi,

the versioning example "Stage-Specific Overrides" shows two compile errors:

Image

First error - property enabled
Property 'enabled' is missing in type '{ strategy: VersioningStrategy; outputs: VersioningOutputConfig; }' but required in type 'VersioningConfig'.
I think it makes sense to disable versioning for a specific stage (mostly dev). If this is correct, enabled: true, should be added to the example and we should make sure this property will be evaluated.

Second error - validation not supported
Object literal may only specify known properties, and 'validation' does not exist in type 'VersioningConfig'.
I can't see this feature in the code - Either it it should be removed from the example or added as a feature to projen-pipelines.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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