-
Notifications
You must be signed in to change notification settings - Fork 33
A2 Iteration Process
Dimitri Glazkov edited this page Jan 10, 2025
·
3 revisions
Outlines the process for working on the A2 Framework components.
- New npm package called "a2" (name TBD)
- Contains a push script and BGL files
- The push script saves the BGL files to the specified server
General flow:
- Use the File System Board Server to build the BGL files and iterate
- Run the push script to push the new version to board server(s)
Testing:
- Each BGL file has an accompanying
_test.bgl.json
BGL file, which in turn invokes the BGL file to test it - Using
chai
assertions - Plus a simple test framework that supports
describe
and asyncit
.
Importing BGL from package:
- The package is published on npm
- Each BGL file is an export of the package
- Can use esm.sh to import the graph directly
- Can use npm versioning