exile.watch docs
  • Introduction
  • The Maven - exile.watch context
  • Projects
    • hideout
    • crucible
      • Contributing
    • writ
      • Contributing
    • splinters
      • Contributing
      • @exile-watch/vite-config
      • @exile-watch/biome-config
      • @exile-watch/typescript-config
      • @exile-watch/unit-testing-config
      • @exile-watch/lefthook-config
    • nucleus
      • Contributing (data)
        • Encounter token breakdown
      • Contributing (scripts)
        • Scripts definition
      • @exile-watch/encounter-data
      • @exile-watch/seo
    • malachai
      • Contributing
      • snap gyazo thumbnail
    • doryani
      • Contributing
      • Actions
        • Authenticate to GitHub Package Registry
        • Install npm dependencies
        • Code quality assurance
        • Deploy webapp
        • Publish package
        • Preview publish package
        • Preview deploy webapp
  • voidstone
    • Contributing
  • Development
    • Commit message guidelines
    • Prerequisites
    • Generating GitHub PAT
    • .npmrc file
  • Architecture
    • Dependencies
    • Tech stack
    • Adoption chart
    • GHA workflows web
  • Legal
    • License - FSL, Apache 2.0
    • Non-Affiliation Notice
    • Code of Conduct
    • Privacy Policy
Powered by GitBook
On this page

Was this helpful?

  1. Projects
  2. nucleus
  3. Contributing (scripts)

Scripts definition

PreviousContributing (scripts)Next@exile-watch/encounter-data

Last updated 2 days ago

Was this helpful?

Every script is taking a part of auto-generating data content on the website.

There are 3 rules:

  1. extract-*-tokens.js scripts always goes first.

  2. Order of other scripts when they fire don't matter after that step.

  3. clean-invalid-data-files.js always goes last.

script
description

extract-*-tokens.js

Converts .yml token files to .json format

build-indexed-search.js

Refines extracted data to retain only what is necessary for the search input

build-paths.js

Refines extracted data to retain only what is necessary for the sidebar navigation

clean-invalid-data-files.js

Removes files that have had their file name updated

exile.watch logo