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

Was this helpful?

  1. Projects
  2. writ

Contributing

@exile-watch/writ setup & contribution guide

PreviouswritNextsplinters

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/writ project
# package path e.g. ~/writ/packages/writ-react
$: npm link
# @exile-watch/writ project
# package path e.g. ~/writ/packages/writ-react
$: npm run build
# @exile-watch/crucible project
# root path ~/crucible
$: npm link @exile-watch/writ-react #

6. Conclusion

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

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

# @exile-watch/writ project
# package path e.g. ~/writ/packages/writ-react
$: 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/writ repo
Create GitHub PAT token
Create .npmrc file
writ
crucible
writ
writ
writ
crucible
Prerequisites
exile.watch logo