@chahuadev/junk-sweeper-app 3.1.0 → 7.0.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/index.js +4 -2
- package/install.js +4 -1
- package/package.json +39 -39
package/index.js
CHANGED
|
@@ -10,9 +10,11 @@ const arch = os.arch();
|
|
|
10
10
|
|
|
11
11
|
let exeName = '';
|
|
12
12
|
if (platform === 'win32') {
|
|
13
|
-
exeName = 'Junk Sweeper
|
|
13
|
+
exeName = 'Junk Sweeper.exe';
|
|
14
14
|
} else if (platform === 'linux') {
|
|
15
|
-
exeName = 'Junk Sweeper
|
|
15
|
+
exeName = 'Junk Sweeper.AppImage';
|
|
16
|
+
} else if (platform === 'darwin') {
|
|
17
|
+
exeName = 'Junk Sweeper';
|
|
16
18
|
} else {
|
|
17
19
|
console.error(`Chahuadev Junk Sweeper does not support ${platform} ${arch} yet.`);
|
|
18
20
|
process.exit(1);
|
package/install.js
CHANGED
|
@@ -7,7 +7,7 @@ const os = require('os');
|
|
|
7
7
|
const platform = os.platform();
|
|
8
8
|
const arch = os.arch();
|
|
9
9
|
|
|
10
|
-
const R2_BASE = 'https://pub-419d22521da042dfb27d1f404b3eb8a6.r2.dev';
|
|
10
|
+
const R2_BASE = 'https://pub-419d22521da042dfb27d1f404b3eb8a6.r2.dev/junk-sweeper';
|
|
11
11
|
|
|
12
12
|
let downloadUrl = '';
|
|
13
13
|
let fileName = '';
|
|
@@ -18,6 +18,9 @@ if (platform === 'win32') {
|
|
|
18
18
|
} else if (platform === 'linux') {
|
|
19
19
|
downloadUrl = `${R2_BASE}/Junk%20Sweeper.AppImage`;
|
|
20
20
|
fileName = 'Junk Sweeper.AppImage';
|
|
21
|
+
} else if (platform === 'darwin') {
|
|
22
|
+
downloadUrl = `${R2_BASE}/Junk%20Sweeper`;
|
|
23
|
+
fileName = 'Junk Sweeper';
|
|
21
24
|
} else {
|
|
22
25
|
console.warn(`Chahuadev Junk Sweeper does not support ${platform} ${arch} yet.`);
|
|
23
26
|
process.exit(0);
|
package/package.json
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}
|
|
2
|
+
"name": "@chahuadev/junk-sweeper-app",
|
|
3
|
+
"version": "7.0.0",
|
|
4
|
+
"description": "Chahuadev Junk Sweeper โ€” AST-based dead code \u0026 silent bug detector with interactive architecture map",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"bin": {
|
|
7
|
+
"junk-sweeper": "index.js"
|
|
8
|
+
},
|
|
9
|
+
"scripts": {
|
|
10
|
+
"postinstall": "node install.js"
|
|
11
|
+
},
|
|
12
|
+
"files": [
|
|
13
|
+
"index.js",
|
|
14
|
+
"install.js"
|
|
15
|
+
],
|
|
16
|
+
"keywords": [
|
|
17
|
+
"junk-sweeper",
|
|
18
|
+
"code-analysis",
|
|
19
|
+
"dead-code",
|
|
20
|
+
"unused-variables",
|
|
21
|
+
"silent-bugs",
|
|
22
|
+
"ast",
|
|
23
|
+
"electron",
|
|
24
|
+
"chahuadev"
|
|
25
|
+
],
|
|
26
|
+
"author": {
|
|
27
|
+
"name": "Chahuadev",
|
|
28
|
+
"email": "chahuadev@gmail.com",
|
|
29
|
+
"url": "https://chahuadev.com"
|
|
30
|
+
},
|
|
31
|
+
"license": "SEE LICENSE IN LICENSE.md",
|
|
32
|
+
"publishConfig": {
|
|
33
|
+
"access": "public"
|
|
34
|
+
},
|
|
35
|
+
"repository": {
|
|
36
|
+
"type": "git",
|
|
37
|
+
"url": "https://huggingface.co/datasets/chahuadev/chahuadev-junk-sweeper"
|
|
38
|
+
},
|
|
39
|
+
"homepage": "https://huggingface.co/datasets/chahuadev/chahuadev-junk-sweeper"
|
|
40
|
+
}
|