Skip to content

Compile and publish a π-base data bundle

License

Notifications You must be signed in to change notification settings

pi-base/compile

Repository files navigation

🛑 DEPRECATED 🛑

➡️ This package is now managed in the pi-base/web monorepo


build-test Coverage Status

Compiles, checks, and publishes a data bundle for the π-base viewer to view.

Running Locally

In the directory containing your data files, run one of

$  npx /path/to/compile # if you have a clone of this repo locally
$  npx @pi-base/compile # run the latest version from npm

In either case, this should start a server that watches for changes to local files and serves the compiled bundle. To use this bundle with your viewer, navigate to /dev and update your Host setting.

Publishing

Actions can be published on a releases branch using ncc

git checkout releases/v1
git merge master
yarn release
git add -f dist/index.js
git commit
git push

Once stable, they probably should be given a tag.