fop-cli 3.9.5 → 3.9.6
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 +1 -0
- package/install.js +8 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -98,6 +98,7 @@ fop -n ~/easylist ~/easyprivacy ~/fanboy-addon
|
|
|
98
98
|
| `-n, --no-commit` | Just sort files, skip Git commit prompts |
|
|
99
99
|
| `--just-sort` | Alias for `--no-commit` |
|
|
100
100
|
| `--no-ubo-convert` | Skip uBO to ABP option conversion (keep `xhr`, `3p`, `1p`, etc.) |
|
|
101
|
+
| `--no-msg-check` | Skip commit message format validation (M:/A:/P:) |
|
|
101
102
|
| `-h, --help` | Show help message |
|
|
102
103
|
| `-V, --version` | Show version number |
|
|
103
104
|
|
package/install.js
CHANGED
|
@@ -7,16 +7,16 @@ const path = require('path');
|
|
|
7
7
|
const { execSync } = require('child_process');
|
|
8
8
|
|
|
9
9
|
// Configuration - UPDATE THESE FOR YOUR RELEASE
|
|
10
|
-
const VERSION = '3.9.
|
|
10
|
+
const VERSION = '3.9.6';
|
|
11
11
|
const GITHUB_REPO = 'ryanbr/fop-rs'; // Change to your repo
|
|
12
12
|
const BINARY_NAME = 'fop';
|
|
13
13
|
|
|
14
14
|
// Platform mapping
|
|
15
15
|
const PLATFORMS = {
|
|
16
|
-
'darwin-x64':
|
|
17
|
-
'darwin-arm64':
|
|
18
|
-
'linux-x64':
|
|
19
|
-
'linux-arm64':
|
|
16
|
+
'darwin-x64': `-macos-x86_64`,
|
|
17
|
+
'darwin-arm64': `-macos-arm64`,
|
|
18
|
+
'linux-x64': `-linux-x86_64`,
|
|
19
|
+
'linux-arm64': `-linux-arm64`,
|
|
20
20
|
};
|
|
21
21
|
|
|
22
22
|
function getPlatformBinary() {
|
|
@@ -24,14 +24,14 @@ function getPlatformBinary() {
|
|
|
24
24
|
const arch = process.arch;
|
|
25
25
|
const key = `${platform}-${arch}`;
|
|
26
26
|
|
|
27
|
-
const
|
|
28
|
-
if (!
|
|
27
|
+
const suffix = PLATFORMS[key];
|
|
28
|
+
if (!suffix) {
|
|
29
29
|
console.error(`Unsupported platform: ${platform}-${arch}`);
|
|
30
30
|
console.error('Supported platforms:', Object.keys(PLATFORMS).join(', '));
|
|
31
31
|
process.exit(1);
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
return
|
|
34
|
+
return `fop-${VERSION}${suffix}`;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
function getDownloadUrl(binaryName) {
|