How to configure AngularJS NES
First, please review our Minimum Requirements to ensure a smooth installation. Then follow 3 easy steps:
1. Update your package.json
2. Create or update your .npmrc file
3. Install & Run!
Detailed Instructions
1. Substitute the AngularJS dependencies in your package.json with the following:
{
"dependencies": {
"angular": "npm:@neverendingsupport/angularjs@1.9.7",
"angular-aria": "npm:@neverendingsupport/angularjs@1.9.7-aria",
"angular-i18n": "npm:@neverendingsupport/angularjs@1.9.7-i18n",
"angular-mocks": "npm:@neverendingsupport/angularjs@1.9.7-mocks",
"angular-route": "npm:@neverendingsupport/angularjs@1.9.7-route",
"angular-touch": "npm:@neverendingsupport/angularjs@1.9.7-touch",
"angular-loader": "npm:@neverendingsupport/angularjs@1.9.7-loader",
"angular-animate": "npm:@neverendingsupport/angularjs@1.9.7-animate",
"angular-cookies": "npm:@neverendingsupport/angularjs@1.9.7-cookies",
"angular-messages": "npm:@neverendingsupport/angularjs@1.9.7-messages",
"angular-resource": "npm:@neverendingsupport/angularjs@1.9.7-resource",
"angular-sanitize": "npm:@neverendingsupport/angularjs@1.9.7-sanitize",
"angular-parse-ext": "npm:@neverendingsupport/angularjs@1.9.7-parse-ext",
"angular-message-format": "npm:@neverendingsupport/angularjs@1.9.7-message-format"
},
"overrides": {
"angular": { ".": "npm:@neverendingsupport/angularjs@1.9.7" },
"angular-aria": { ".": "npm:@neverendingsupport/angularjs@1.9.7-aria" },
"angular-i18n": { ".": "npm:@neverendingsupport/angularjs@1.9.7-i18n" },
"angular-mocks": { ".": "npm:@neverendingsupport/angularjs@1.9.7-mocks" },
"angular-route": { ".": "npm:@neverendingsupport/angularjs@1.9.7-route" },
"angular-touch": { ".": "npm:@neverendingsupport/angularjs@1.9.7-touch" },
"angular-loader": { ".": "npm:@neverendingsupport/angularjs@1.9.7-loader" },
"angular-animate": { ".": "npm:@neverendingsupport/angularjs@1.9.7-animate" },
"angular-cookies": { ".": "npm:@neverendingsupport/angularjs@1.9.7-cookies" },
"angular-messages": { ".": "npm:@neverendingsupport/angularjs@1.9.7-messages" },
"angular-resource": { ".": "npm:@neverendingsupport/angularjs@1.9.7-resource" },
"angular-sanitize": { ".": "npm:@neverendingsupport/angularjs@1.9.7-sanitize" },
"angular-parse-ext": { ".": "npm:@neverendingsupport/angularjs@1.9.7-parse-ext" },
"angular-message-format": { ".": "npm:@neverendingsupport/angularjs@1.9.7-message-format" }
}
}
Note 1: The version represented above (1.9.7
) is a placeholder. See the release notes for the latest available version.
Note 2: All of the entries in the overrides block are not necessarily required. If you're not using a package (directly or transitively) you may omit it. Conversely, if installation fails because a third party dependency expects the Open Source version of a dependency, use the recipe above to "overwrite" that specific requirement.
Versioning Note: While the version here is listed as 1.9.x, this version is contractually compatible with the Open Source AngularJS 1.8.x in nearly every way. The versioning moved from 1.8 to 1.9 due to an Internet Explorer behavioral degradation in rare cases. We have had many customers integrate with Internet Explorer without issue, but if your usage includes Internet Explorer please feel free to reach out to support@herodevs.com for more information.
2. 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>
3. Install your dependencies and run the service:
npm install
npm start
And just like that, you can run your integration tests against AngularJS NES!
Additional Information
Note: The version represented below (1.9.7
) is a placeholder. See the release notes for the latest available version.
The direct download URLs for AngularJS NES are:
- https://registry.nes.herodevs.com/npm/pkg/@neverendingsupport/angularjs/-/1.9.7.tgz
- https://registry.nes.herodevs.com/npm/pkg/@neverendingsupport/angularjs/-/1.9.7-aria.tgz
- https://registry.nes.herodevs.com/npm/pkg/@neverendingsupport/angularjs/-/1.9.7-i18n.tgz
- https://registry.nes.herodevs.com/npm/pkg/@neverendingsupport/angularjs/-/1.9.7-mocks.tgz
- https://registry.nes.herodevs.com/npm/pkg/@neverendingsupport/angularjs/-/1.9.7-route.tgz
- https://registry.nes.herodevs.com/npm/pkg/@neverendingsupport/angularjs/-/1.9.7-touch.tgz
- https://registry.nes.herodevs.com/npm/pkg/@neverendingsupport/angularjs/-/1.9.7-loader.tgz
- https://registry.nes.herodevs.com/npm/pkg/@neverendingsupport/angularjs/-/1.9.7-animate.tgz
- https://registry.nes.herodevs.com/npm/pkg/@neverendingsupport/angularjs/-/1.9.7-cookies.tgz
- https://registry.nes.herodevs.com/npm/pkg/@neverendingsupport/angularjs/-/1.9.7-messages.tgz
- https://registry.nes.herodevs.com/npm/pkg/@neverendingsupport/angularjs/-/1.9.7-resource.tgz
- https://registry.nes.herodevs.com/npm/pkg/@neverendingsupport/angularjs/-/1.9.7-sanitize.tgz
- https://registry.nes.herodevs.com/npm/pkg/@neverendingsupport/angularjs/-/1.9.7-parse-ext.tgz
- https://registry.nes.herodevs.com/npm/pkg/@neverendingsupport/angularjs/-/1.9.7-message-format.tgz