Divorce configuration definitions for CCD
Run yarn install
to install the dependencies for both this project and the submodule
yarn generate-excel-all
to generate excel configs for all environments (Demo, AAT and Prod)
The generated excel files will be in defintions/divorce/xlsx
yarn generate-excel-(local\demo\aat\prod)
For example
yarn generate-excel-aat
yarn generate-bulk-excel-(local\demo\aat\prod)
For example
yarn generate-bulk-excel-aat
yarn generate-bulk-excel-all
If you prefer to make the changes directly on the excel file, and then convert back to JSON:
- Generate a fresh base Excel file using the
yarn generate-excel
. The generated excel file will be indefintions/divorce/xlsx/ccd-config-base.xlsx
and will contain placeholder URLs. - Make the changes to
ccd-config-base.xlsx
but ensure you don't have any environment-specific URLs (use placeholders instead). - Once you're satisfied with your changes in the Excel file, convert back to JSON using
yarn generate-json
- Review the JSON file changes to ensure all your changes are correct
When we make a major change for a release:
- Increment the version number in
CaseType.json
(e.g v113.xx) - Generate all excel files using
yarn generate-excel-all
- Create a new release in https://github.com/hmcts/div-ccd-definitions/releases/new
- Upload all the generate Excel files to the release and add give it the same version number from (1)