How to configure AngularJS 1.5 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.5.23",
"angular-aria": "npm:@neverendingsupport/angularjs@1.5.23-aria",
"angular-i18n": "npm:@neverendingsupport/angularjs@1.5.23-i18n",
"angular-mocks": "npm:@neverendingsupport/angularjs@1.5.23-mocks",
"angular-route": "npm:@neverendingsupport/angularjs@1.5.23-route",
"angular-touch": "npm:@neverendingsupport/angularjs@1.5.23-touch",
"angular-loader": "npm:@neverendingsupport/angularjs@1.5.23-loader",
"angular-animate": "npm:@neverendingsupport/angularjs@1.5.23-animate",
"angular-cookies": "npm:@neverendingsupport/angularjs@1.5.23-cookies",
"angular-messages": "npm:@neverendingsupport/angularjs@1.5.23-messages",
"angular-resource": "npm:@neverendingsupport/angularjs@1.5.23-resource",
"angular-sanitize": "npm:@neverendingsupport/angularjs@1.5.23-sanitize",
"angular-parse-ext": "npm:@neverendingsupport/angularjs@1.5.23-parse-ext",
"angular-message-format": "npm:@neverendingsupport/angularjs@1.5.23-message-format"
},
"overrides": {
"angular": { ".": "npm:@neverendingsupport/angularjs@1.5.23" },
"angular-aria": { ".": "npm:@neverendingsupport/angularjs@1.5.23-aria" },
"angular-i18n": { ".": "npm:@neverendingsupport/angularjs@1.5.23-i18n" },
"angular-mocks": { ".": "npm:@neverendingsupport/angularjs@1.5.23-mocks" },
"angular-route": { ".": "npm:@neverendingsupport/angularjs@1.5.23-route" },
"angular-touch": { ".": "npm:@neverendingsupport/angularjs@1.5.23-touch" },
"angular-loader": { ".": "npm:@neverendingsupport/angularjs@1.5.23-loader" },
"angular-animate": { ".": "npm:@neverendingsupport/angularjs@1.5.23-animate" },
"angular-cookies": { ".": "npm:@neverendingsupport/angularjs@1.5.23-cookies" },
"angular-messages": { ".": "npm:@neverendingsupport/angularjs@1.5.23-messages" },
"angular-resource": { ".": "npm:@neverendingsupport/angularjs@1.5.23-resource" },
"angular-sanitize": { ".": "npm:@neverendingsupport/angularjs@1.5.23-sanitize" },
"angular-parse-ext": { ".": "npm:@neverendingsupport/angularjs@1.5.23-parse-ext" },
"angular-message-format": { ".": "npm:@neverendingsupport/angularjs@1.5.23-message-format" }
}
}
Note 1: The version represented above (1.5.23
) 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.
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 1.5 NES!
Additional Information
Note: The version represented below (1.5.23
) is a placeholder. See the release notes for the latest available version.
The direct download URLs for AngularJS 1.5 NES are:
- https://registry.nes.herodevs.com/npm/pkg/@neverendingsupport/angularjs/-/1.5.23.tgz
- https://registry.nes.herodevs.com/npm/pkg/@neverendingsupport/angularjs/-/1.5.23-aria.tgz
- https://registry.nes.herodevs.com/npm/pkg/@neverendingsupport/angularjs/-/1.5.23-i18n.tgz
- https://registry.nes.herodevs.com/npm/pkg/@neverendingsupport/angularjs/-/1.5.23-mocks.tgz
- https://registry.nes.herodevs.com/npm/pkg/@neverendingsupport/angularjs/-/1.5.23-route.tgz
- https://registry.nes.herodevs.com/npm/pkg/@neverendingsupport/angularjs/-/1.5.23-touch.tgz
- https://registry.nes.herodevs.com/npm/pkg/@neverendingsupport/angularjs/-/1.5.23-loader.tgz
- https://registry.nes.herodevs.com/npm/pkg/@neverendingsupport/angularjs/-/1.5.23-animate.tgz
- https://registry.nes.herodevs.com/npm/pkg/@neverendingsupport/angularjs/-/1.5.23-cookies.tgz
- https://registry.nes.herodevs.com/npm/pkg/@neverendingsupport/angularjs/-/1.5.23-messages.tgz
- https://registry.nes.herodevs.com/npm/pkg/@neverendingsupport/angularjs/-/1.5.23-resource.tgz
- https://registry.nes.herodevs.com/npm/pkg/@neverendingsupport/angularjs/-/1.5.23-sanitize.tgz
- https://registry.nes.herodevs.com/npm/pkg/@neverendingsupport/angularjs/-/1.5.23-parse-ext.tgz
- https://registry.nes.herodevs.com/npm/pkg/@neverendingsupport/angularjs/-/1.5.23-message-format.tgz