You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/els-for-libraries/angularjs/README.md
+40-68Lines changed: 40 additions & 68 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,39 +49,7 @@ TuxCare provides ELS for AngularJS as an NPM package, hosted on a secure interna
49
49
50
50
4. Replace your AngularJS dependencies with TuxCare ones. You can use one of the following methods:
51
51
52
-
***Option 1: TuxCare Patcher (Automated)**
53
-
54
-
Install the Patcher globally and run the following commands. The TuxCare Patcher automatically detects the AngularJS version in your `package.json` and updates your `dependencies` and `overrides` to use the corresponding TuxCare `@els-js/*` packages.
Manually update your `package.json` file by replacing your AngularJS dependencies with the TuxCare packages. This method gives you full control over which packages to update.
87
55
@@ -93,7 +61,7 @@ TuxCare provides ELS for AngularJS as an NPM package, hosted on a secure interna
@@ -173,6 +141,38 @@ TuxCare provides ELS for AngularJS as an NPM package, hosted on a secure interna
173
141
174
142
</TableTabs>
175
143
144
+
* **Option 2: TuxCare Patcher (Automated)**
145
+
146
+
Install the Patcher globally and run the following commands. The TuxCare Patcher automatically detects the AngularJS version in your `package.json` and updates your `dependencies` and `overrides` to use the corresponding TuxCare `@els-js/*` packages.
5. You need to remove the `node_modules` directory and the `package-lock.json` file, and also clear the `npm cache` before installing the patched packages. Use the following commands:
177
177
178
178
<CodeWithCopy>
@@ -217,35 +217,7 @@ TuxCare provides VEX for AngularJS ELS versions: [security.tuxcare.com/vex/cyclo
217
217
218
218
## How to Upgrade to a Newer Version of TuxCare Packages
219
219
220
-
If you have already installed a package with a `tuxcare.1` suffix and want to upgrade to a newer release (for example, `tuxcare.4`), you can use one of the following methods:
221
-
222
-
***Option 1: TuxCare Patcher (Automated). Recommended for projects with multiple TuxCare dependencies.**
223
-
224
-
The TuxCare Patcher automatically detects all TuxCare dependencies in your `package.json` and updates them to the latest available versions.
225
-
226
-
<CodeWithCopy>
227
-
228
-
```text
229
-
tuxcare-patch-js --upgrade
230
-
```
231
-
232
-
</CodeWithCopy>
233
-
234
-
***Option 2: Manual Update via CLI (Single Dependency)**
235
-
236
-
If you want to update a single TuxCare dependency, use the npm install command with the specific version. This automatically updates both `package.json` and `package-lock.json`:
***Option 3: Manual Update via package.json (Multiple Dependencies)**
247
-
248
-
If you want to update several TuxCare dependencies, manually update the version strings in your `package.json`, then remove installed files and clear npm cache to avoid conflicts:
220
+
If you have already installed a package with a `tuxcare.1` suffix and want to upgrade to a newer release (for example, `tuxcare.3`), remove node_modules, clear the npm cache to avoid conflicts, and then run the installation command:
Copy file name to clipboardExpand all lines: docs/els-for-libraries/bootstrap-sass/README.md
+18-46Lines changed: 18 additions & 46 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,21 @@ TuxCare provides ELS for bootstrap-sass as an NPM package, hosted on a secure in
49
49
50
50
4. Update your `package.json` file to replace your bootstrap-sass dependencies with the TuxCare packages. You can do this in two ways:
51
51
52
-
***Option 1: TuxCare Patcher (Automated)**
52
+
***Option 1: Manual update**
53
+
54
+
Manually update your `package.json` file by replacing your bootstrap-sass dependencies with the TuxCare packages. This method gives you full control over which packages to update.
Install the Patcher globally and run it. The TuxCare Patcher automatically detects the bootstrap-sass version in your `package.json` and updates your `dependencies` and `overrides` to use the corresponding TuxCare `@els-js/*` packages.
55
69
@@ -74,26 +88,12 @@ TuxCare provides ELS for bootstrap-sass as an NPM package, hosted on a secure in
Manually update your `package.json` file by replacing your bootstrap-sass dependencies with the TuxCare packages. This method gives you full control over which packages to update.
5. You need to remove the `node_modules` directory and the `package-lock.json` file, and also clear the `npm cache` before installing the patched packages. Use the following commands:
99
99
@@ -139,35 +139,7 @@ TuxCare provides VEX for bootstrap-sass ELS versions: [security.tuxcare.com/vex/
139
139
140
140
## How to Upgrade to a Newer Version of TuxCare Packages
141
141
142
-
If you have already installed a package with a `tuxcare.1` suffix and want to upgrade to a newer release (for example, `tuxcare.3`), you can use one of the following methods:
143
-
144
-
***Option 1: TuxCare Patcher (Automated). Recommended for projects with multiple TuxCare dependencies.**
145
-
146
-
The TuxCare Patcher automatically detects all TuxCare dependencies in your `package.json` and updates them to the latest available versions.
147
-
148
-
<CodeWithCopy>
149
-
150
-
```text
151
-
tuxcare-patch-js --upgrade
152
-
```
153
-
154
-
</CodeWithCopy>
155
-
156
-
***Option 2: Manual Update via CLI (Single Dependency)**
157
-
158
-
If you want to update a single TuxCare dependency, use the npm install command with the specific version. This automatically updates both `package.json` and `package-lock.json`:
***Option 3: Manual Update via package.json (Multiple Dependencies)**
169
-
170
-
If you want to update several TuxCare dependencies, manually update the version strings in your `package.json`, then remove installed files and clear npm cache to avoid conflicts:
142
+
If you have already installed a package with a `tuxcare.1` suffix and want to upgrade to a newer release (for example, `tuxcare.3`), remove node_modules, clear the npm cache to avoid conflicts, and then run the installation command:
0 commit comments