Giter Site home page Giter Site logo

angular-ui-router-bower's Introduction

AngularUI - The companion suite for AngularJS


Build Status

Usage

Requirements

  • AngularJS v1.0.0+ is currently required.
  • jQuery / Plugins (depends on directive). Check specific directive dependencies for more information

Installation

The repository comes with the modules pre-built and compressed into the build/ directory.

angular.module('myApp', ['ui']);

The modules can be found in the Directives and Filters folders. Check out the readme file associated with each module for specific module usage information.

Development

You do not need to build the project to use it - see above - but if you are working on it then this is what you need to know.

Requirements

  1. Install Node.js and NPM (should come with)

  2. Install local dependencies:

$ npm install
  1. Install global dependencies grunt, coffee-script, and testacular:
$ npm install -g testacular coffee-script grunt

Build Files & Run Tests

Before you commit, always run grunt to build and test everything once.

$ grunt

Test & Develop

The modules come with unit tests that should be run on any changes and certainly before commiting changes to the project. The unit tests should also provide further insight into the usage of the modules.

First, start the testacular server:

$ grunt server

Then, open your browser to http://localhost:8080 and run the watch command to re-run tests on every save:

$ grunt watch

Publishing

For core team: if you wish to publish a new version follow these steps:

  1. Bump the version number inside package.json
  2. Build and test
  3. Commit the updated package.json and build/ folder on their own commit
  4. Tag the commit: git tag v[maj].[min].[patch]
  5. Push the tag: git push [angular-ui] master --tags

angular-ui-router-bower's People

Contributors

christopherthielen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

angular-ui-router-bower's Issues

npm install "github:angular-ui/angular-ui-router-bower" fails with "TypeError: Cannot read property 'match' of undefined" error

I am running this on Azure Pipeline with Node v10.0.0 and NPM v5.6.0

warn Error on download for github:angular-ui/angular-ui-router-bower
TypeError: Cannot read property 'match' of undefined
at checkRateLimit (D:\a\1\s\TestApp.Web\node_modules\jspm-github\github.js:276:22)
at D:\a\1\s\TestApp.Web\node_modules\jspm-github\github.js:753:46
at tryCatch (D:\a\1\s\TestApp.Web\node_modules\rsvp\dist\rsvp.js:525:12)
at invokeCallback (D:\a\1\s\TestApp.Web\node_modules\rsvp\dist\rsvp.js:538:13)
at publish (D:\a\1\s\TestApp.Web\node_modules\rsvp\dist\rsvp.js:508:7)
at flush (D:\a\1\s\TestApp.Web\node_modules\rsvp\dist\rsvp.js:2415:5)
at process._tickCallback (internal/process/next_tick.js:172:11)

2021-02-15T07:29:50.8421271Z npm verb lifecycle [email protected]postinstall: CWD: D:\a\1\s\TestApp.Web
2021-02-15T07:29:50.8422138Z npm info lifecycle [email protected]
postinstall: Failed to exec postinstall script
2021-02-15T07:29:50.8422978Z npm verb stack Error: [email protected] postinstall: jspm install && typings install
2021-02-15T07:29:50.8423573Z npm verb stack Exit status 1
2021-02-15T07:29:50.8424599Z npm verb stack at EventEmitter. (C:\hostedtoolcache\windows\node\10.0.0\x64\node_modules\npm\node_modules\npm-lifecycle\index.js:285:16)
2021-02-15T07:29:50.8426928Z npm verb stack at EventEmitter.emit (events.js:182:13)
2021-02-15T07:29:50.8427816Z npm verb stack at ChildProcess. (C:\hostedtoolcache\windows\node\10.0.0\x64\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
2021-02-15T07:29:50.8428752Z npm verb stack at ChildProcess.emit (events.js:182:13)
2021-02-15T07:29:50.8429562Z npm verb stack at maybeClose (internal/child_process.js:947:16)
2021-02-15T07:29:50.8430285Z npm verb stack at Process.ChildProcess._handle.onexit (internal/child_process.js:236:5)
2021-02-15T07:29:50.8430933Z npm verb pkgid [email protected]
2021-02-15T07:29:50.8431474Z npm verb cwd D:\a\1\s\TestApp.Web
2021-02-15T07:29:50.8432016Z npm verb Windows_NT 10.0.17763
2021-02-15T07:29:50.8432803Z npm verb argv "C:\hostedtoolcache\windows\node\10.0.0\x64\node.exe" "C:\hostedtoolcache\windows\node\10.0.0\x64\node_modules\npm\bin\npm-cli.js" "install"
2021-02-15T07:29:50.8433829Z npm verb node v10.0.0
2021-02-15T07:29:50.8434194Z npm verb npm v5.6.0
2021-02-15T07:29:50.8434694Z npm ERR! code ELIFECYCLE
2021-02-15T07:29:50.8436350Z npm ERR! errno 1
2021-02-15T07:29:50.8437117Z npm ERR! [email protected] postinstall: jspm install && typings install
2021-02-15T07:29:50.8437767Z npm ERR! Exit status 1
2021-02-15T07:29:50.8438273Z npm ERR!
2021-02-15T07:29:50.8438726Z npm ERR! Failed at the [email protected] postinstall script.
2021-02-15T07:29:50.8439400Z npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2021-02-15T07:29:50.8440016Z npm verb exit [ 1, true ]
2021-02-15T07:29:50.8440305Z

The complete log in too long and Github is limiting the length making it hard to post.

Version 1.0.9 specifies version 1.0.8 in it's bower.json file.

The title is pretty self explanatory the version appears not to have been bumped. I think this is causing my bower install to fail with:

bower angular-ui-router#^1.0.8         mismatch Version declared in the json (1.0.8) is different than the resolved one (1.0.9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.