N.B. This documentation is intended for administrators of the repository and NPM package.
Changes to the Country and Territory registers need to be reflected in the data bundled with the autocomplete. This is currently a manual process.
- Currently there is no automated process for being notified of when updates to these registers take place. So you will need to co-ordinate to be made aware when updates take place.
- Update
dist/location-autocomplete-canonical-list.jsonadding to or amending the array as appropriate. - Update
dist/location-autocomplete-graph.jsonadding to or amending the object with changes as appropriate. Note every record must have a key of the CURIE e.g.country:GB.
You can see an example of a data update Pull Request in: #51
npm run dev- Go to: http://localhost:8080
- Check that your changes are reflected in the autocomplete
- Follow the steps in Releasing
Note: There are a couple of projects to generate the data files that are not currently supported. https://github.com/openregister/kibitz and https://github.com/openregister/generate-picker-data-file for context on this see #44