1.0.1 • Published 6 years ago

cumulocity-unicornify-widget v1.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

cumulocity-unicornify-widget

version downloads MIT License

:unicorn: A little esoteric Cumulocity widget that involves unicorns and high-dose of happiness.

Screenshot

Why?

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.

Installation

  • 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

Usage

Just give it a spin in your Cockpit app. Careful, it's addictive (you've been warned).

Quicky up and running

$ yarn start

Unit testing

$ yarn test

Build plugin

$ yarn build

Author

Glenn Dwiyatcita (@dwiyatci)

License

MIT.

See LICENSE.txt.