Is the Node.js CLI available for general use at th...
# sdf
s
Is the Node.js CLI available for general use at this time? I don't see anything in SuiteAnswers about it. I already use Node to run my unit tests, so I'd happily switch to it if it was available. If not, where can we look for announcements about it?
a
It's in development! Hopefully available in 19.2
We are working hard to get it out!
which unit testing framework do you use?
Jest?
s
yes to Jest here
s
I started off with Mocha+Sinon, but am using Jest now for my latest SDF project
Our company used to prefer Mocha, but lately decided that Jest is best
a
nice
We are working to release a sample project in SDF with Jest
c
jest is the only solution 🙂
d
is the node sdfcli going to be a npm wrapper around the existing sdf.jar?
I'm imagining i'll be able to
npm install sdf
?
a
We are working to get the CLI in the public npm repo. Hopefully you guys will be able to install it through npm
For now, some commands of the Node.js cli will rely on the SDF Jar. However, long term we want to remove completely that dependency and just work with a pure Node.js CLI
This design seemed to be the most reasonable in terms of time to delivery. However, we do understand that having a dependency with Java JDK is not ideal
d
cool thanks for the update/roadmap