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/splinters repo
  • 2. Create GitHub PAT token
  • 3. Create .npmrc file
  • 4. Install dependencies
  • 5. Check changes made in splinter package locally in writ or crucible project
  • 6. Conclusion

Was this helpful?

  1. Projects
  2. splinters

Contributing

@exile-watch/splinters setup & contribution guide

PrevioussplintersNext@exile-watch/vite-config

Last updated 1 month 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/splinters project
# package path e.g. ~/splinters/packages/biome-config
$: npm link
# @exile-watch/splinters project
# package path e.g. ~/splinters/packages/biome-config
$: npm run build
# e.g. @exile-watch/crucible project
# root path ~/crucible
$: npm link @exile-watch/biome-config

6. Conclusion

Not happy with the changes? Repeat step b) Build splinters package and c) Link splinter package in crucible

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

# @exile-watch/splinters project
# package path e.g. ~/splinters/packages/biome-config
$: npm unlink
# e.g. @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 or project

a) Create package link

b) Build package

c) Link package in

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