@shopgate/extension-config-validator
v1.4.8
Published
```npm install @shopgate/extension-config-validator```
Downloads
514
Keywords
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]
If no path is provided, ./extension-config.json in the current working directory is used.
Alternative usage
You can add it to your package.json like this:
"scripts": {
"validate": "extension-config-validator [path]"
}Changelog
1.4.8
Fixed
- restored Joi validation errors for invalid configurations
1.4.7
Fixed
- made the CLI path argument optional so the default
./extension-config.jsonis used when no path is provided
1.4.6
Changed
- updated dependencies and migrated validation APIs for Node.js 24 compatibility
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,keysand nothing on params of bigapi type - fixed unit tests
1.1.3
Changed
- the field
nameof an input or output within is now calledkey
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
