1
0
Fork 0
Scripts for bitburner hacking game
Go to file
Tanimodori d0dceaab8f chore: use node.gitignore from github repo 2023-02-09 09:10:07 +08:00
src chore: initial commit 2022-10-23 03:32:17 +08:00
.eslintrc Add project as per ESLint requirements 2023-02-08 18:56:36 +01:00
.gitattributes chore: initial commit 2022-10-23 03:32:17 +08:00
.gitignore chore: use node.gitignore from github repo 2023-02-09 09:10:07 +08:00
.prettierrc chore: initial commit 2022-10-23 03:32:17 +08:00
LICENSE chore: initial commit 2022-10-23 03:32:17 +08:00
README.md docs: add update tips 2022-11-25 22:09:46 +08:00
package-lock.json chore: update viteburner and vite v4 2023-01-30 21:54:42 +08:00
package.json chore: update viteburner and vite v4 2023-01-30 21:54:42 +08:00
tsconfig.json types: add vite/client 2022-11-04 00:55:21 +08:00
vite.config.ts feat: allowing import /src 2022-10-27 09:56:35 +08:00

README.md

Viteburner-template

This is a template for a viteburner project. It is a simple example of how to use Viteburner.

How to use

Prerequisites: Node.js

git clone https://github.com/Tanimodori/viteburner-template.git
cd viteburner-template
npm i
npm run dev

In bitburner, select "Options > Remote API", enter the port of viteburner displays (default: 12525) and click "Connect".

API

See viteburner.

How to update my clone to the latest version of the template

Usually you only need to upgrade viteburner using npm (or any other package manager you use).

npm i -D viteburner@latest

Or if you want to update all configs:

# add "upstream" to git remote in case you've overwritten the "origin"
git remote add upstream https://github.com/Tanimodori/viteburner-template.git
# fetch the updates from "upstream"
git fetch upstream
# perform the merge
git merge upstream/main
# NOTE: resolve git conflicts manually now.
# install packages if any gets updated.
npm i

License

MIT License © 2022-present Tanimodori