Skip to main content

Development Scripts

NPM Scripts

NameDescriptionExample Usage
startStart teraslice teraslice instance.pnpm start -c ./teraslice-master.yaml
setupAdd any missing dependencies, link the packages together, and build any packages. This is useful to run after pulling down any changes.pnpm run setup
buildBuild and compile typescript packagespnpm build
build:watchBuild and watch for changes on typescript packages.pnpm build:watch
build:docterThe all-in-one fix the build or tests helper scriptpnpm build:docker
syncSync all library versions and handle minor formatting fixespnpm sync
docsSync up and add any missing docspnpm docs
bumpUpdate a package to specific version and its dependencies.pnpm bump job-components --release major, run pnpm bump --help for more info.
testTest all of the packagespnpm test or an individual suite pnpm test --suite elasticsearch, run pnpm test --help for more info.
lintRun linting on all of the packagespnpm lint
lint:fixFix correctable linting errors in the packages (this should be safe to do)pnpm lint:fix