0.8.2 • Published 10 years ago

@crivas/ute-ui v0.8.2

Weekly downloads
-
License
-
Repository
github
Last release
10 years ago

UTE UI

===========

v0.8.2

Important Links


For NPM

npm install or sudo npm install


For Bower

Installation

vi bower.json # "ute-ui" : "http://totes-gitlab01.rogers.com/ute/ute-ui.git#latest"
# or manually add that line to the bower.json file
bower install ute-ui
# if that fails try installing it by hitting the directory manually
bower install http://totes-gitlab01.rogers.com/ute/ute-ui.git#latest

Generate Package

  • build and host local website
npm install
gulp build
  • go to http://localhost:8008/#/ute-package
  • select the packages you want
  • click on compile and download at the bottom OR copy and paste the outputted JSON on the page
    • if you downloaded file then move it to the root folder of your project (same level as your Gulpfile.js)
    • or create a new file on the root folder in your project
  • run command (you can cancel gulp build if you want) gulp dist-all
  • you will see files generated in a dist folder on the root level of your project

JS

<script src="bower_components/ute-ui/dist/js/ute-ui.js"></script>

CSS

Depending on how you structured your application you can add the compiled CSS to the index page or you can include the SCSS from another SCSS page.

<link rel="stylesheet" href="bower_components/chartist/dist/css/ute-ui.css">

Add UTE as a module dependency to your app

angular.module('customApp', ['ute.ui']);

Running Unit Tests

npm run test currently gulp task has been disabled


Tagging and Releasing

Through Gulp

  • change version in bower.json file
  • run gulp version-bump

Manually

Example

  • change version in bower.json file
  • change version in app.js
  • change version in this README file
  • create dist files: gulp build-dist
  • create new tag: git tag -a v0.8.0 -m 'bump version 0.8.0'
  • push tags: git push --tags