Visit AngularJS NES Home Page
Create an
AngularJS UI Router
How to incorporate AngularJS UI Router into your project
Minimum Requirements
Please review our Minimum Requirements to ensure a smooth installation. Then follow 3 easy steps:
- Update your
package.json - Create or update your
.npmrcfile - Install & Run!
Detailed Instructions
Substitute the AngularJS UI Router dependencies in your package.json with the following
For those using uirouter-angularjs 0.4.x
If your project requires the use of v0.4.x you may refer to the FIRST package.json below, the two that follow are for our newer v1.1.x
package.json
{
"dependencies": {
"angular-ui-router": "npm:@neverendingsupport/uirouter-angularjs@0.4.3-ui-router-0.4.5"
},
"overrides": {
"angular-ui-router": { ".": "npm:@neverendingsupport/uirouter-angularjs@0.4.3-ui-router-0.4.5" }
}
}
package.json
{
"dependencies": {
"@uirouter/angularjs": "npm:@neverendingsupport/uirouter-angularjs@1.1.1-ui-router-1.1.4",
"@uirouter/core": "npm:@neverendingsupport/uirouter-core@6.1.1-core-6.1.5"
},
"overrides": {
"@uirouter/angularjs": { ".": "npm:@neverendingsupport/uirouter-angularjs@1.1.1-ui-router-1.1.4" },
"@uirouter/core": { ".": "npm:@neverendingsupport/uirouter-core@6.1.1-core-6.1.5" }
}
}
For Clarification
The above instructions apply if you are using the new, scoped UI Router packages. If you are still using the old, unscoped angular-ui-router package, then substitute with the following:
package.json
{
"dependencies": {
"angular-ui-router": "npm:@neverendingsupport/uirouter-angularjs@1.1.1-ui-router-1.1.4"
},
"overrides": {
"angular-ui-router": { ".": "npm:@neverendingsupport/uirouter-angularjs@1.1.1-ui-router-1.1.4" },
"@uirouter/angularjs": { ".": "npm:@neverendingsupport/uirouter-angularjs@1.1.1-ui-router-1.1.4" },
"@uirouter/core": { ".": "npm:@neverendingsupport/uirouter-core@6.1.1-core-6.1.5" }
}
}
Create an .npmrc file with the following
Replace <NES_ACCESS_TOKEN> with your access token.
.npmrc
@neverendingsupport:registry=https://registry.nes.herodevs.com/npm/pkg/
//registry.nes.herodevs.com/npm/pkg/:_authToken=<NES_ACCESS_TOKEN>
Install your dependencies and run the service
/bin/sh
npm install
And just like that, you can run your integration tests against !
Additional Information
Direct Download URLs
The direct download URLs for are: