🦄 A little esoteric Cumulocity widget that involves unicorns and high-dose of happiness.
You do understand that being afraid of everything means you learn nothing. There's no opportunity to discover, to explore.
So this one is for opening a possibility to write a Cumulocity widget in TypeScript.
*shameless rant: I myself am still in favour of JavaScript over TypeScript. I find the trade-off made between the syntax noise and the number of bugs reduced by using TypeScript is not that worth it. Types are good but TypeScript is just overrated.
-
Make sure you have Node.js LTS installed and npm from its website, or better even, use nvm.
-
Install yarn.
-
Clone the repo,
cd
to your project directory, and setup dependencies:
$ yarn install:clean
Just give it a spin in your Cockpit app. Careful, it's addictive (you've been warned).
$ yarn start
$ yarn test
$ yarn build
Glenn Dwiyatcita (@dwiyatci)
MIT.
See LICENSE.txt.