@hexonet/semantic-release-whmcs 5.0.69 → 5.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.
- package/HISTORY.md +35 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/LICENSE +14 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/_locales/en/messages.json +160 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/_metadata/generated_indexed_rulesets/_ruleset1 +0 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/data/background.html +2 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/data/background.js +681 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/data/css/common.css +14306 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/data/hotreload.js +43 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/data/js/0_defaultClickHandler.js +590 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/data/js/2_sessionStorageHandler.js +30 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/data/js/3_localStorageHandler.js +243 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/data/js/5_clickHandler.js +8523 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/data/js/6_cookieHandler.js +764 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/data/js/8_googleHandler.js +105 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/data/js/embedsHandler.js +107 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/data/menu/index.html +79 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/data/menu/script.js +161 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/data/menu/spinner.svg +12 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/data/menu/style.css +68 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/data/options.html +42 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/data/options.js +63 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/data/rules.js +20684 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/icons/128.png +0 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/icons/16.png +0 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/icons/32.png +0 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/icons/48.png +0 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/manifest.json +47 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/manifest_v2.json +46 -0
- package/extensions/I-Still-Dont-Care-About-Cookies/rules.json +19539 -0
- package/lib/delete-marketplace-version.js +82 -31
- package/lib/publish.js +52 -43
- package/lib/puppet-utils.js +145 -0
- package/lib/puppet.js +68 -41
- package/lib/resolve-config.js +1 -0
- package/lib/set-compatible-versions.js +26 -10
- package/package.json +6 -6
- package/whmcs.js +7 -5
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@hexonet/semantic-release-whmcs",
|
3
3
|
"description": "`semantic-release` plugin for auto-publishing on WHMCS marketplace",
|
4
|
-
"version": "5.
|
4
|
+
"version": "5.1.1",
|
5
5
|
"private": false,
|
6
6
|
"type": "module",
|
7
7
|
"publishConfig": {
|
@@ -13,7 +13,7 @@
|
|
13
13
|
},
|
14
14
|
"license": "MIT",
|
15
15
|
"engines": {
|
16
|
-
"node": "
|
16
|
+
"node": "20.19.0 || ^22.12.0 || >=23"
|
17
17
|
},
|
18
18
|
"homepage": "https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-whmcs#readme",
|
19
19
|
"repository": "github:centralnicgroup-opensource/rtldev-middleware-semantic-release-whmcs",
|
@@ -40,7 +40,7 @@
|
|
40
40
|
"nodeArguments": [
|
41
41
|
"--no-warnings"
|
42
42
|
],
|
43
|
-
"timeout": "
|
43
|
+
"timeout": "10m"
|
44
44
|
},
|
45
45
|
"prettier": {
|
46
46
|
"printWidth": 120,
|
@@ -74,7 +74,7 @@
|
|
74
74
|
"@semantic-release/changelog": "^6.0.3",
|
75
75
|
"@semantic-release/exec": "^7.0.3",
|
76
76
|
"@semantic-release/git": "^10.0.1",
|
77
|
-
"ava": "6.
|
77
|
+
"ava": "6.4.1",
|
78
78
|
"c8": "^10.0.0",
|
79
79
|
"prettier": "^3.0.0",
|
80
80
|
"semantic-release": "^24.0.0",
|
@@ -82,11 +82,11 @@
|
|
82
82
|
"stream-buffers": "^3.0.2"
|
83
83
|
},
|
84
84
|
"dependencies": {
|
85
|
-
"@octokit/rest": "^
|
85
|
+
"@octokit/rest": "^22.0.0",
|
86
86
|
"@semantic-release/error": "^4.0.0",
|
87
87
|
"aggregate-error": "^5.0.0",
|
88
88
|
"debug": "^4.3.4",
|
89
89
|
"puppeteer": ">=23.4.0",
|
90
|
-
"yargs": "^
|
90
|
+
"yargs": "^18.0.0"
|
91
91
|
}
|
92
92
|
}
|
package/whmcs.js
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
import yargs from "yargs";
|
2
|
+
import { hideBin } from "yargs/helpers";
|
1
3
|
import { createRequire } from "node:module";
|
2
4
|
import { publish, syncVersions, delVersion, updateCompatibility } from "./index.js";
|
3
5
|
const require = createRequire(import.meta.url);
|
@@ -18,7 +20,7 @@ const context = {
|
|
18
20
|
};
|
19
21
|
|
20
22
|
// eslint-disable-next-line no-unused-expressions
|
21
|
-
|
23
|
+
yargs(hideBin(process.argv))
|
22
24
|
.scriptName("whmcs.js")
|
23
25
|
.usage("$0 <cmd> [args]")
|
24
26
|
.command(
|
@@ -37,7 +39,7 @@ require("yargs")
|
|
37
39
|
describe: "the changelog",
|
38
40
|
});
|
39
41
|
},
|
40
|
-
|
42
|
+
(argv) => {
|
41
43
|
context.nextRelease = {
|
42
44
|
version: argv.ver,
|
43
45
|
notes: argv.notes,
|
@@ -51,7 +53,7 @@ require("yargs")
|
|
51
53
|
"sync",
|
52
54
|
"adds missing versions to the WHMCS Marketplace",
|
53
55
|
() => {},
|
54
|
-
|
56
|
+
() => {
|
55
57
|
syncVersions({}, context).then((r) => {
|
56
58
|
console.log(r === false ? "Failed" : "Successful");
|
57
59
|
});
|
@@ -67,7 +69,7 @@ require("yargs")
|
|
67
69
|
describe: "the version to delete",
|
68
70
|
});
|
69
71
|
},
|
70
|
-
|
72
|
+
(argv) => {
|
71
73
|
context.version = argv.ver;
|
72
74
|
delVersion({}, context).then((r) => {
|
73
75
|
console.log(r === false ? "Failed" : "Successful");
|
@@ -78,7 +80,7 @@ require("yargs")
|
|
78
80
|
"compatibility",
|
79
81
|
"set the compatible WHMCS versions in the Marketplace",
|
80
82
|
() => {},
|
81
|
-
|
83
|
+
() => {
|
82
84
|
updateCompatibility({}, context).then((r) => {
|
83
85
|
console.log(r === false ? "Failed" : "Successful");
|
84
86
|
});
|