A Typescript template project with debugging support, import rewrites and developer convenience.
- Transpile/Run Server:
npm run watch
- Set an alias once in bitburner:
alias init="wget http://localhost:8000/init.js init.js; wget http://localhost:8000/deployment/self-update.js deployment/self-update.js"
- Run in bitburner:
init
For debugging bitburner on Steam you will need to enable a remote debugging port. This can be done by rightclicking bitburner in your Steam library and selecting properties. There you need to add --remote-debugging-port=9222
For Edge exists a launch config, you will have to import your save in that - otherwise you will have to run your regular Edge with your user profile in debugging mode, which is not recommended.
Nodejs >= 10
Clone this project and on your terminal run:
# Install dependencies
npm ci
# Transpile the code and start server
npm start
# The server will run locally on port 8000 (default)
The code is being automatically generated and ingame the deployment process will check regularly if any updates are available. It will then download all generated scripts in ./dist/
onto home
and do a run processor.js
.
Read the CONTRIBUTING.md file for more information.
Read the CODE_OF_CONDUCT.md file for more information.