Skip to content
Bryan Housel edited this page Aug 11, 2021 · 4 revisions

Update version, tag, and publish

  • git checkout main
  • git pull origin
  • npm install
  • npm run build
  • npm run wikidata
  • npm run dist (version number updates automatically and will print to console)
  • git add . && git commit -m 'vA.B.C'
  • git tag vA.B.C
  • git push origin main vA.B.C
  • npm publish

Purge cache (optional)

curl 'https://purge.jsdelivr.net/npm/[email protected]/dist/nsi.min.json'
curl 'https://purge.jsdelivr.net/npm/[email protected]/dist/dissolved.min.json'
curl 'https://purge.jsdelivr.net/npm/[email protected]/dist/featureCollection.min.json'
curl 'https://purge.jsdelivr.net/npm/[email protected]/dist/genericWords.min.json'
curl 'https://purge.jsdelivr.net/npm/[email protected]/dist/presets/nsi-id-presets.min.json'
curl 'https://purge.jsdelivr.net/npm/[email protected]/dist/replacements.min.json'
curl 'https://purge.jsdelivr.net/npm/[email protected]/dist/trees.min.json'

Home

For Contributors

Contributing to the index

Advanced Topics

For Developers

Information for developers using the name-suggestion-index in another project.

For Maintainers

Information for maintainers, including how to clone and build the project.

 

Clone this wiki locally