fop-cli 4.0.4 → 4.1.1

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.
Files changed (3) hide show
  1. package/README.md +23 -0
  2. package/install.js +3 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -97,6 +97,14 @@ fop -n ~/easylist ~/easyprivacy ~/fanboy-addon
97
97
  | `--disable-domain-limit=` | Files to skip short domain check (comma-separated) |
98
98
  | `--warning-output=` | Output warnings to file instead of stderr |
99
99
  | `--git-message=` | Git commit message (skip interactive prompt) |
100
+ | `--create-pr[=TITLE]` | Create PR branch instead of committing to current branch |
101
+ | `--git-pr-branch=NAME` | Base branch for PR (default: auto-detect main/master) |
102
+ | `--fix-typos` | Fix cosmetic rule typos in all files during sort |
103
+ | `--fix-typos-on-add` | Check cosmetic rule typos in git additions before commit |
104
+ | `--auto-fix` | Auto-fix typos without prompting (use with --fix-typos-on-add) |
105
+ | `--check-file=FILE` | Process a single file |
106
+ | `--output-diff=FILE` | Output changes as diff (no files modified) |
107
+ | `--quiet` | Limit console output, less verbose |
100
108
  | `--config-file=` | Custom config file path |
101
109
  | `--show-config` | Show applied configuration and exit |
102
110
  | `-h, --help` | Show help message |
@@ -157,6 +165,21 @@ ignoredirs =
157
165
 
158
166
  # File extensions to process
159
167
  file-extensions = txt
168
+
169
+ # Create PR branch instead of committing
170
+ create-pr =
171
+
172
+ # Base branch for PR (default: auto-detect)
173
+ git-pr-branch =
174
+
175
+ # Fix cosmetic typos during sort
176
+ fix-typos = false
177
+
178
+ # Check typos in git additions
179
+ fix-typos-on-add = false
180
+
181
+ # Auto-fix without prompting
182
+ auto-fix = false
160
183
  ```
161
184
 
162
185
  Command line arguments override config file settings.
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.0.4';
10
+ const VERSION = '4.1.1';
11
11
  const GITHUB_REPO = 'ryanbr/fop-rs'; // Change to your repo
12
12
  const BINARY_NAME = 'fop';
13
13
 
@@ -16,7 +16,9 @@ const PLATFORMS = {
16
16
  'darwin-x64': `-macos-x86_64`,
17
17
  'darwin-arm64': `-macos-arm64`,
18
18
  'linux-x64': `-linux-x86_64`,
19
+ 'linux-arm64': `-linux-arm64`,
19
20
  'win32-x64': `-windows-x86_64.exe`,
21
+ 'win32-arm64': `-windows-arm64.exe`,
20
22
  };
21
23
 
22
24
  function getDownloadUrl(binaryName) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fop-cli",
3
- "version": "4.0.4",
3
+ "version": "4.1.1",
4
4
  "description": "Filter Orderer and Preener - A tool for sorting and cleaning ad-blocking filter lists",
5
5
  "keywords": [
6
6
  "adblock",