Skip to content

Commit 52198b8

Browse files
authored
Merge pull request #169 from sboldyreva/updates-angularjs
Updated AngularJS instructions
2 parents 36319a0 + 204b515 commit 52198b8

File tree

1 file changed

+30
-10
lines changed

1 file changed

+30
-10
lines changed

docs/els-for-languages/angularjs/README.md

Lines changed: 30 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,16 @@ TuxCare provides ELS for AngularJS as an NPM package, hosted on a secure interna
8282

8383
* Use an editor of your choice (e.g., VS Code) to add the following registry address line:
8484

85+
<CodeWithCopy>
86+
8587
```text
8688
registry=https://registry.npmjs.org/
87-
@els-angularjs:registry=https://nexus.repo.tuxcare.com/repository/els_angularjs/
88-
//nexus.repo.tuxcare.com/repository/els_angularjs/:_auth=${TOKEN}
89+
@els-js:registry=https://nexus.repo.tuxcare.com/repository/els_js/
90+
//nexus.repo.tuxcare.com/repository/els-js/:_auth=${TOKEN}
8991
```
9092

93+
</CodeWithCopy>
94+
9195
:::warning
9296
Replace ${TOKEN} with the token you received from [[email protected]](mailto:[email protected]).
9397
:::
@@ -96,46 +100,62 @@ TuxCare provides ELS for AngularJS as an NPM package, hosted on a secure interna
96100

97101
**AngularJS 1.5**
98102

103+
<CodeWithCopy>
104+
99105
```text
100106
"dependencies": {
101-
"@els-angularjs/angular-1.5": "^0.0.1",
102-
"angular": "./node_modules/@els-angular/angularjs-1.5/deps/angular"
107+
"angular": "npm:@els-js/angularjs-1.5"
103108
}
104109
```
105110

111+
</CodeWithCopy>
112+
106113
**AngularJS 1.6**
107114

115+
<CodeWithCopy>
116+
108117
```text
109118
"dependencies": {
110-
"@els-angularjs/angular-1.6": "^0.0.1",
111-
"angular": "./node_modules/@els-angular/angularjs-1.6/deps/angular"
119+
"angular": "npm:@els-js/angularjs-1.6"
112120
}
113121
```
114122

123+
</CodeWithCopy>
124+
115125
**AngularJS 1.7**
116126

127+
<CodeWithCopy>
128+
117129
```text
118130
"dependencies": {
119-
"@els-angularjs/angular-1.7": "^0.0.1",
120-
"angular": "./node_modules/@els-angular/angularjs-1.7/deps/angular"
131+
"angular": "npm:@els-js/angularjs-1.7"
121132
}
122133
```
123134

135+
</CodeWithCopy>
136+
124137
**AngularJS 1.8**
125138

139+
<CodeWithCopy>
140+
126141
```text
127142
"dependencies": {
128-
"@els-angularjs/angular-1.8": "^0.0.1",
129-
"angular": "./node_modules/@els-angular/angularjs-1.8/deps/angular"
143+
"angular": "npm:@els-js/angularjs-1.8"
130144
}
131145
```
132146

147+
</CodeWithCopy>
148+
133149
* In your terminal, run the following command to install ELS for AngularJS dependencies:
134150

151+
<CodeWithCopy>
152+
135153
```text
136154
npm install --userconfig .npmrc
137155
```
138156

157+
</CodeWithCopy>
158+
139159
You will see an output like:
140160

141161
```text

0 commit comments

Comments
 (0)