fop-cli 4.2.8 → 4.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -0
- package/install.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -105,6 +105,9 @@ fop -n ~/easylist ~/easyprivacy ~/fanboy-addon
|
|
|
105
105
|
| `--fix-typos-on-add` | Check cosmetic rule typos in git additions before commit |
|
|
106
106
|
| `--auto-fix` | Auto-fix typos without prompting (use with --fix-typos-on-add) |
|
|
107
107
|
| `--only-sort-changed` | Only process files changed according to git |
|
|
108
|
+
| `--check-banned-list=FILE` | Check for banned domains in git additions |
|
|
109
|
+
| `--auto-banned-remove` | Auto-remove banned domains and commit |
|
|
110
|
+
| `--ci` | CI mode - exit with error code on failures (banned domains) |
|
|
108
111
|
| `--rebase-on-fail` | Auto rebase and retry push if it fails |
|
|
109
112
|
| `--ignore-config` | Ignore .fopconfig file, use only CLI args |
|
|
110
113
|
| `--output` | Output changed files with --changed suffix (no overwrite) |
|
|
@@ -193,6 +196,15 @@ auto-fix = false
|
|
|
193
196
|
# Only sort git-changed files (skip unchanged)
|
|
194
197
|
only-sort-changed = false
|
|
195
198
|
|
|
199
|
+
# Path to banned domain list file
|
|
200
|
+
check-banned-list =
|
|
201
|
+
|
|
202
|
+
# Auto-remove banned domains and commit
|
|
203
|
+
auto-banned-remove = false
|
|
204
|
+
|
|
205
|
+
# CI mode - exit with error code on failures
|
|
206
|
+
ci = false
|
|
207
|
+
|
|
196
208
|
# Auto rebase and retry if push fails
|
|
197
209
|
rebase-on-fail = false
|
|
198
210
|
|
|
@@ -280,6 +292,15 @@ The Rust version is significantly faster than Python FOP due to:
|
|
|
280
292
|
- Optimized regex handling
|
|
281
293
|
- Efficient memory management
|
|
282
294
|
|
|
295
|
+
## Windows PowerShell Note
|
|
296
|
+
|
|
297
|
+
If you see `UnauthorizedAccess` or `PSSecurityException` when running `fop` in PowerShell, run this once to fix permanently:
|
|
298
|
+
```powershell
|
|
299
|
+
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
|
|
300
|
+
```
|
|
301
|
+
|
|
302
|
+
Alternatively, use Git Bash, MINGW64, or WSL.
|
|
303
|
+
|
|
283
304
|
## License
|
|
284
305
|
|
|
285
306
|
GPL-3.0 (same as original Python FOP)
|
package/install.js
CHANGED
|
@@ -7,7 +7,7 @@ const path = require('path');
|
|
|
7
7
|
const { execSync } = require('child_process');
|
|
8
8
|
|
|
9
9
|
// Configuration - UPDATE THESE FOR YOUR RELEASE
|
|
10
|
-
const VERSION = '4.
|
|
10
|
+
const VERSION = '4.3.0';
|
|
11
11
|
const GITHUB_REPO = 'ryanbr/fop-rs'; // Change to your repo
|
|
12
12
|
const BINARY_NAME = 'fop';
|
|
13
13
|
|