node-aria-tools v2.1.0
NAT
NAT stands for
- NodeJS
- Aria
- Tools
Requirements
- NodeJS 16
Philosophy
Actions are segmented and are not run unless needed. This allows for faster compilation when needed.
Usage
First Run
Make sure to download the certificates locally. Paste them in ~/.m2/keystore. You must have a cert.pem and a private_key.pem.
nat --initWill install vrotsc, vropkg and vrotest globally for you... you can specify different version of btva by passing --btvaVersion=2.35.0
General
nat -b -pThis will be all you need...
(TEMP)it will do mvn clean package if the target folder does not exists, since for now it still depends on it for dependencies (TEMP)
Tests
nat -tThis will test the code. You must have built it beforehand (or you can add -b to the command).
Performance
Watch Mode
In one terminal:
nat --watch --watchMs 1000Will build the code and start recompiling only the changed file.
in a separate terminal you can run nat -p to push the code when it completes or even nat -t to run unit tests
Roadmap
- Better Certificate Handling. Certificates should only work with local paths.
- Better vrotsc/vropkg installation
- More Customizability regarding inputs
- Don't rely on initial mvn clean package
- Building Code
- Compiling Code
- Convert information about the artifact to a special lock file.
- Pushing code
- Running Tests
- Save Artifact in memory so we don't read it twice
- Improve Push Code Logic
- Only push changed files for watch mode?
- Download dependencies
- Definitions
- Code Coverage
- Push Dependencies
- Don't rely on vrotsc, vropkg and vrotest from maven central
Development
Setting Up BTVA Dependencies
- Follow the instructrions for the first run.
- run
npm run devin one terminal first - run
tsc --watchin one terminal and keep it running