This repository contains related code samples as a reference for customers using the OpenLogic AngularJS LTS offering.
The following examples are included:
Sample | Description |
---|---|
npm-install-scoped-ts | How to install OpenLogic AngularJS packages for TypeScript |
npm-install-scoped-js | How to install OpenLogic AngularJS packages for JavaScript |
npm-file-install-wget | How to install OpenLogic AngularJS packages using wget and a zip file if your npm version doesn't support npm alias |
npm-file-install-wget-bundle | How to install OpenLogic AngularJS bundled package using wget and a zip file if your npm version doesn't support npm alias |
Perform these important steps before trying any example in this repository:
- Log in with npm on the command line. Provide your Perforce registry credentials when prompted:
npm login --registry=https://angularjs.perforce.com/repository/perforce-angularjs-angular/ --scope=@perforce-angularjs
- Execute
cat ~/.npmrc
in the terminal. Verify that you see this output:
//angularjs.perforce.com/repository/perforce-angularjs-angular/:_authToken=NpmToken.<TOKEN>
@perforce-angularjs:registry=https://angularjs.perforce.com/repository/perforce-angularjs-angular/
The following AngularJS versions are supported by Perforce.
1.6.x | 1.8.x |
---|---|
1.6.10 | 1.8.3 |
1.6.11 | 1.8.4 |
1.6.12 | 1.8.5 |
1.6.13 | 1.8.6 |
1.6.14 | 1.8.7 |