First, please review our Minimum Requirements to ensure a smooth installation. Then follow 3 easy steps:
- Update your
package.json
. - Create or update your
.npmrc
file. - Install & Run!
Detailed Instructions
-
Substitute the UI Router references in
package.json
with the following:"dependencies": {
"@uirouter/angularjs": "npm:@neverendingsupport/angularjs-essentials@1.1.1-uirouter-angularjs-1.1.2",
"@uirouter/core": "npm:@neverendingsupport/angularjs-essentials@6.1.1-uirouter-core-6.1.3"
},
"overrides": {
"@uirouter/angularjs": { ".": "npm:@neverendingsupport/angularjs-essentials@1.1.1-uirouter-angularjs-1.1.2" },
"@uirouter/core": { ".": "npm:@neverendingsupport/angularjs-essentials@6.1.1-uirouter-core-6.1.3" }
}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:"dependencies": {
"angular-ui-router": "npm:@neverendingsupport/angularjs-essentials@1.1.1-uirouter-angularjs-1.1.2"
},
"overrides": {
"angular-ui-router": { ".": "npm:@neverendingsupport/angularjs-essentials@1.1.1-uirouter-angularjs-1.1.2" },
"@uirouter/angularjs": { ".": "npm:@neverendingsupport/angularjs-essentials@1.1.1-uirouter-angularjs-1.1.2" },
"@uirouter/core": { ".": "npm:@neverendingsupport/angularjs-essentials@6.1.1-uirouter-core-6.1.3" }
} -
Create an
.npmrc
file with the following:
- Replace<NES_ACCESS_TOKEN>
with your access token.@neverendingsupport:registry=https://registry.nes.herodevs.com/npm/pkg/
//registry.nes.herodevs.com/npm/pkg/:_authToken=<NES_ACCESS_TOKEN> -
Install your dependencies and run:
npm install
And just like that, you can run your integration tests against AngularJS UI Router NES!
Additional Information
The direct download URLs for AngularJS UI Router 1.1 NES are: