@shopgate/extension-config-validator

## Install ```npm install @shopgate/extension-config-validator```

Usage no npm install needed!

<script type="module">
  import shopgateExtensionConfigValidator from 'https://cdn.skypack.dev/@shopgate/extension-config-validator';
</script>

README

Extension Config File Validator

Install

npm install @shopgate/extension-config-validator

Usage

To execute the validator pass it to the root folder you extension: $(npm bin)/extension-config-validator <path>

Alternative usage

You can add it to your package.json like this:

"scripts": {
 "validate": "extension-config-validator <path>"
}

Changelog

1.4.2

Fixed

  • validation of internal hooks' inputs/outputs for consistency

1.4.1

Added

  • component validation in validation command

1.4.0

Added

  • validation for component paths

1.3.0

Added

  • support for 'internal' inputs/outputs which are accessible only by steps of the respective extension

1.2.0

Fixed

  • add support for admin config type

1.1.4

Fixed

  • support key, keys and nothing on params of bigapi type
  • fixed unit tests

1.1.3

Changed

  • the field nameof an input or output within is now called key

1.1.2

Fixed

  • entrypoint
  • removed some error prone and not needed async processing

1.1.0

Added

  • validation for hook step definitions

1.0.4

Added

  • validation for step configurations
  • validation for component paths