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 Angular Translate reference in package.json with the following:
"dependencies": {
"angular-translate": "npm:@neverendingsupport/angularjs-essentials@2.19.1-angular-translate-2.20.3"
},
"overrides": {
"angular-translate": { ".": "npm:@neverendingsupport/angularjs-essentials@2.19.1-angular-translate-2.20.3" }
}
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:
npm install
And just like that, you can run your integration tests against Angular Translate NES!
Additional Information
Differences in translation key sanitization
By default AngularJS Translate NES
sanitizes translation keys containing HTML that the Open Source version would potentially allow. As such, if your translation keys contain HTML markup you may need to configure the sanitization rules accordingly. If you believe this may affect your applications, please contact support and include information about your translation strategy.