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
  • Prerequisites
  • Development
  • 1. Fork @exile-watch/nucleus repo
  • 2. Create GitHub PAT token
  • 3. Create .npmrc file
  • 4. Install dependencies
  • 5. Check changes made in nucleus package locally in crucible project
  • 6. Conclusion

Was this helpful?

  1. Projects
  2. nucleus

Contributing (scripts)

@exile-watch/nucleus setup & contribution guide

PreviousEncounter token breakdownNextScripts definition

Last updated 2 days ago

Was this helpful?

Development

4. Install dependencies

# project root
$: nvm use # uses node version that's defined in .nvmrc
$: npm i # install dependencies
# @exile-watch/nucleus project
# package path e.g. ~/nucleus/packages/encounter-data
$: npm link
# @exile-watch/nucleus project
# package path e.g. ~/nucleus/packages/encounter-data
$: npm run build
# @exile-watch/crucible project
# root path ~/crucible
$: npm link @exile-watch/encounter-data #

6. Conclusion

Not happy with the change? Repeat step b) Build nucleus package and c) Link nucleus package in crucible project

Happy with the change? Create a new pull request and don't forget to locally unlink modified package:

# @exile-watch/nucleus project
# package path e.g. ~/nucleus/packages/encounter-data
$: npm unlink
# @exile-watch/crucible project
# root path ~/crucible
$: npm i # this will "revert" linked module to the actual package 

1.

2.

3.

5. Check changes made in package locally in project

a) Create package link

b) Build package

c) Link package in project

Fork @exile-watch/nucleus repo
Create GitHub PAT token
Create .npmrc file
nucleus
crucible
nucleus
nucleus
nucleus
crucible
Prerequisites
exile.watch logo