Skip to content

Commit d8020c8

Browse files
authored
Merge pull request #147 from sboldyreva/angularjs-steps
Angularjs steps
2 parents 9e5bb6c + 7aa408d commit d8020c8

File tree

2 files changed

+96
-21
lines changed

2 files changed

+96
-21
lines changed

docs/.vuepress/routes.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@
1111
"/els-for-languages/#rhel-based-systems": "/els-for-languages/#rpm-based-systems",
1212
"/els-for-languages/#ubuntu": "/els-for-languages/#deb-based-systems",
1313
"/els-for-languages/#supported-os": "/els-for-languages/#supported-os-and-php-versions",
14-
"/els-for-languages/#supported-versions": "/els-for-languages/#supported-os-and-php-versions"
14+
"/els-for-languages/#supported-versions": "/els-for-languages/#supported-os-and-php-versions",
15+
"/els-for-languages/#step-2-create-an-account-on-npmjs-com": "/els-for-languages/#step-3-set-up-els-for-angular-16"
1516
}

docs/els-for-languages/README.md

+94-20
Original file line numberDiff line numberDiff line change
@@ -2219,11 +2219,7 @@ This guide outlines the steps needed to integrate the TuxCare ELS for Angular re
22192219

22202220
You need a username, password, and token in order to use TuxCare ELS Angular repository. Anonymous access is disabled. To receive the credentials please contact [[email protected]](mailto:[email protected]).
22212221

2222-
### Step 2: Create an account on [npmjs.com](https://www.npmjs.com/login)
2223-
2224-
You need to create an account on [npmjs.com](https://www.npmjs.com/login) to install the ELS Angular NPM package. Anonymous access is disabled.
2225-
2226-
### Step 3: Set Up ELS for Angular 16
2222+
### Step 2: Set Up ELS for Angular 16
22272223

22282224
TuxCare provides ELS for Angular 16 as an NPM package, hosted on a secure internal registry. Follow the steps below to add it to your project and get started.
22292225

@@ -2253,18 +2249,6 @@ TuxCare provides ELS for Angular 16 as an NPM package, hosted on a secure intern
22532249
Replace ${TOKEN} with the token you received from [[email protected]](mailto:[email protected]).
22542250
:::
22552251

2256-
* In your terminal, run:
2257-
2258-
```text
2259-
npm login --userconfig .npmrc
2260-
```
2261-
2262-
and login to your [npmjs.com](https://www.npmjs.com/login) account. This will link your authentication to the registry.
2263-
2264-
:::tip
2265-
After logging in, npm will automatically add a line like `//registry.npmjs.org/:_authToken=${TOKEN}` to your `.npmrc` file. It stores a new token which is used to authenticate you to the [npmjs.com](https://www.npmjs.com/login) registry.
2266-
:::
2267-
22682252
* Update your `package.json` file to replace your Angular dependencies with the TuxCare packages:
22692253

22702254
```text
@@ -2318,13 +2302,12 @@ TuxCare provides ELS for Angular 16 as an NPM package, hosted on a secure intern
23182302
Endless Lifecycle Support (ELS) for AngularJS from TuxCare provides security fixes for AngularJS that have reached its end of life. This allows you to continue running AngularJS applications without vulnerability concerns, even after official support has ended.
23192303

23202304
:::warning
2321-
ELS for AngularJS is currently in active development and will be available soon. If you are interested or would like to stay informed, please contact [[email protected]](mailto:[email protected])
2305+
ELS for AngularJS is currently in active development. If you are interested in updates, adoption, or have specific requirements or feature requests, please contact [[email protected]](mailto:[email protected])
23222306
:::
23232307

23242308
### Supported AngularJS Versions
23252309

2326-
* AngularJS 1.8
2327-
* Other versions available upon request
2310+
* AngularJS 1.5, 1.6, 1.7, 1.8
23282311

23292312
### Vulnerability Coverage and Target Response Times
23302313

@@ -2370,3 +2353,94 @@ Note: This feature is under consideration for future development and may be avai
23702353
### Technical Support
23712354

23722355
TuxCare provides technical support according to the [support policy](https://tuxcare.com/TuxCare-support-policy.pdf?_gl=1*9hjdum*_up*MQ..*_ga*MTQ0MTM0NTI4OC4xNjk5Mzk2ODYy*_ga_Z539WTSZ80*MTY5OTM5Njg2MC4xLjAuMTY5OTM5Njg2MC4wLjAuMA..*_ga_1790YFKF4F*MTY5OTM5Njg2MC4xLjAuMTY5OTM5Njg2MC4wLjAuMA..*_ga_64QBSWJJGS*MTY5OTM5Njg2MC4xLjAuMTY5OTM5Njg2MC4wLjAuMA..) . It delivers 24/7/365 access to the TuxCare’s support team through the TuxCare Support Portal <https://tuxcare.com/support-portal/> and to the TuxCare’s online knowledge base.
2356+
2357+
### Connection to ELS for AngularJS Repository
2358+
2359+
This guide outlines the steps needed to integrate the TuxCare ELS for AngularJS repository.
2360+
2361+
### Step 1: Get user credentials
2362+
2363+
You need a username, password, and token in order to use TuxCare ELS AngularJS repository. Anonymous access is disabled. To receive the credentials, please contact [[email protected]](mailto:[email protected]).
2364+
2365+
### Step 2: Set Up ELS for AngularJS
2366+
2367+
TuxCare provides ELS for AngularJS as an NPM package, hosted on a secure internal registry. Follow the steps below to add it to your project and get started.
2368+
2369+
* Navigate to the root directory of your AngularJS project.
2370+
* Create a `.npmrc` file or update it if it already exists.
2371+
2372+
**Example:**
2373+
2374+
```text
2375+
my-angularjs-project/
2376+
├── node_modules/
2377+
├── package.json
2378+
├── .npmrc ⚠️ ← Create it here
2379+
└── package-lock.json
2380+
```
2381+
2382+
* Use an editor of your choice (e.g., VS Code) to add the following registry address line:
2383+
2384+
```text
2385+
registry=https://registry.npmjs.org/
2386+
@els-angularjs:registry=https://nexus.repo.tuxcare.com/repository/els_angularjs/
2387+
//nexus.repo.tuxcare.com/repository/els_angularjs/:_auth=${TOKEN}
2388+
```
2389+
2390+
:::warning
2391+
Replace ${TOKEN} with the token you received from [[email protected]](mailto:[email protected]).
2392+
:::
2393+
2394+
* Update your `package.json` file to replace your AngularJS dependencies with the TuxCare packages:
2395+
2396+
**AngularJS 1.5**
2397+
2398+
```text
2399+
"dependencies": {
2400+
"@els-angularjs/angular-1.5": "^0.0.1",
2401+
"angular": "./node_modules/@els-angular/angularjs-1.5/deps/angular"
2402+
}
2403+
```
2404+
2405+
**AngularJS 1.6**
2406+
2407+
```text
2408+
"dependencies": {
2409+
"@els-angularjs/angular-1.6": "^0.0.1",
2410+
"angular": "./node_modules/@els-angular/angularjs-1.6/deps/angular"
2411+
}
2412+
```
2413+
2414+
**AngularJS 1.7**
2415+
2416+
```text
2417+
"dependencies": {
2418+
"@els-angularjs/angular-1.7": "^0.0.1",
2419+
"angular": "./node_modules/@els-angular/angularjs-1.7/deps/angular"
2420+
}
2421+
```
2422+
2423+
**AngularJS 1.8**
2424+
2425+
```text
2426+
"dependencies": {
2427+
"@els-angularjs/angular-1.8": "^0.0.1",
2428+
"angular": "./node_modules/@els-angular/angularjs-1.8/deps/angular"
2429+
}
2430+
```
2431+
2432+
* In your terminal, run the following command to install ELS for AngularJS dependencies:
2433+
2434+
```text
2435+
npm install --userconfig .npmrc
2436+
```
2437+
2438+
You will see an output like:
2439+
2440+
```text
2441+
changed 1 package, and audited 5 packages in 892ms
2442+
2443+
2 vulnerabilities (1 moderate, 1 high)
2444+
```
2445+
2446+
* You've successfully integrated the TuxCare ELS for AngularJS repository into your project.

0 commit comments

Comments
 (0)