Hello everybody, this is an incredible moment!, th...
# dev-ops
c
Hello everybody, this is an incredible moment!, the milestone was achieved and we are distributing the newest SuiteCloud product as Open Source ! We proudly announce the SuiteCloud SDK project in GitHub, which includes: • SuiteCloud CLI for Node.Js: The newest member of the SuiteCloud Platform Development Tools based on Node.js that offers a modern experience to interact with SDF using the *C*ommand *L*ine *I*nterface in a new way, furthermore offer a new project structure aligned with the industry standards opening many possibilities for the future of your SuiteCloud Projects. (Don't forget to star ⭐ our GitHub project if you like it) • SuiteCloud Unit Testing (Beta): Introducing for the first time to the SuiteCloud ecosystem, a seamless integration with Jest to offer the possibility to cover the SuiteScript logic with a modern and well-adopted framework that works "out of the box" for SuiteCloud Projects. Furthermore in the Beta version, we are introducing a SuiteScript 2.0 Record Module Stub to provide an example of how you could create your own Stubs and add them to your project. */************************** * What do they offer? * **************************/* SuiteCloud CLI for Node.Js • Node.js based CLI distributed as Open Source (GitHub + NPM)
npm i -g @oracle/suitecloud-cli
• 12 Commands to interact with SDF and support for the development lifecycle
suitecloud -help
• Interactive support to assist you while you execute your command • IDE Agnostic Tool (It runs in your terminal of preference, including WebStorm and VsCode) • Advance option for NetSuite Developers (NPM support, new SuiteCloud Project structure) • Configuration file to hook your commands (
beforeExecuting
afterExecuting
onComplete
onError
), to trigger and customize functional behaviors (Example: UnitTesting before deploying) • New authentication mode (Only TBA Supported and based on oAuth -> 2FA not a pain anymore) • SetupAccount, convenient command to manage your credentials.
suitecloud account:setup
SuiteCloud Unit Testing (Beta) • Jest Framework Integration with SuiteCloud Project ecosystem • Minimum package dependency (Jest + SuiteCloud UnitTesting) • Customizable to your needs with Jest configuration file • Possibility to include your own SuiteScript Stubs (or any other) • We provide the SuiteScript 2.0 Record Stub ready to use (and more to come!) • Testing coverage report (
npm test -- --coverage
) • Unit Testing Debugger (for IDE´s that support Node.js Debugging -> WebStorm and vsCode included) • Note: To use it, you just need to create a new SuiteCloud Project in Interactive mode and accept to include Unit Testing for the current project
suitecloud project:create -i
*/************************** * How do you get it? * **************************/* The suitecloud-cli (SuiteCloud CLI for Node.js) has been published in npmjs.com and can be globally installed on your system by running:
Copy code
npm i -g @oracle/suitecloud-cli
Yes.... that´s it! 😎 */************************** * Side Notes * **************************/* • SuiteCloud CLI for Node.js is Ready to be used starting in 2020.1 • We are going Open Source with the intention to provide transparency and contribute with the community, if you find a bug/issue, you just need to file it in the Issue section of our GitHub repository
👍 4