jointhis.proxy 0.3.2 → 0.3.3
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/dist/cli.d.ts +1 -1
- package/dist/cli.js +1 -1
- package/dist/main.js +3 -0
- package/package.json +62 -62
package/dist/cli.d.ts
CHANGED
package/dist/cli.js
CHANGED
|
@@ -8,7 +8,7 @@ import fs from 'node:fs';
|
|
|
8
8
|
import { Spawn } from 'ink-spawn';
|
|
9
9
|
import { exec } from 'node:child_process';
|
|
10
10
|
import { clear } from 'node:console';
|
|
11
|
-
export const version = `0.3.
|
|
11
|
+
export const version = `0.3.3`;
|
|
12
12
|
export var rtun;
|
|
13
13
|
const cli = meow(`
|
|
14
14
|
Usage
|
package/dist/main.js
CHANGED
|
@@ -47,6 +47,9 @@ export default function Main({ view }) {
|
|
|
47
47
|
: 'Please wait until everything is set up.')),
|
|
48
48
|
React.createElement(Step, { name: "last" },
|
|
49
49
|
React.createElement(Spawn, { maxOutputLines: 4, runningText: "", command: rtun, args: ['-f ./rtun.yml'], shell: true }),
|
|
50
|
+
service === '1' ? (React.createElement(React.Fragment, null,
|
|
51
|
+
React.createElement(Text, null, "Java IP: proxy.jointhis.party:[tcp remote port]"),
|
|
52
|
+
React.createElement(Text, null, "Bedrock IP: proxy.jointhis.party:[udp remote port]"))) : (React.createElement(Text, null, "Website: 82.38.134.1:[tcp remote port]")),
|
|
50
53
|
React.createElement(Box, { marginTop: 1 },
|
|
51
54
|
React.createElement(Text, { dimColor: true }, "Press enter to quit")))));
|
|
52
55
|
}
|
package/package.json
CHANGED
|
@@ -1,63 +1,63 @@
|
|
|
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
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
}
|
|
2
|
+
"name": "jointhis.proxy",
|
|
3
|
+
"version": "0.3.3",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"bin": {
|
|
6
|
+
"jointhis.proxy": "dist/cli.js",
|
|
7
|
+
"jointhis-proxy": "dist/cli.js"
|
|
8
|
+
},
|
|
9
|
+
"type": "module",
|
|
10
|
+
"engines": {
|
|
11
|
+
"node": ">=16"
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"dist"
|
|
15
|
+
],
|
|
16
|
+
"dependencies": {
|
|
17
|
+
"fs": "0.0.1-security",
|
|
18
|
+
"ink": "^6.8.0",
|
|
19
|
+
"ink-select-input": "^6.2.0",
|
|
20
|
+
"ink-spawn": "^0.1.4",
|
|
21
|
+
"ink-stepper": "^0.2.1",
|
|
22
|
+
"ink-text-input": "^6.0.0",
|
|
23
|
+
"meow": "^11.0.0",
|
|
24
|
+
"react": "^19.2.4"
|
|
25
|
+
},
|
|
26
|
+
"devDependencies": {
|
|
27
|
+
"@sindresorhus/tsconfig": "^3.0.1",
|
|
28
|
+
"@types/react": "^19.2.14",
|
|
29
|
+
"@vdemedes/prettier-config": "^2.0.1",
|
|
30
|
+
"ava": "^5.3.1",
|
|
31
|
+
"chalk": "^5.6.2",
|
|
32
|
+
"eslint-config-xo-react": "^0.27.0",
|
|
33
|
+
"eslint-plugin-react": "^7.37.5",
|
|
34
|
+
"eslint-plugin-react-hooks": "^4.6.2",
|
|
35
|
+
"ink-testing-library": "^3.0.0",
|
|
36
|
+
"prettier": "^2.8.8",
|
|
37
|
+
"ts-node": "^10.9.2",
|
|
38
|
+
"typescript": "^5.9.3",
|
|
39
|
+
"xo": "^0.53.1"
|
|
40
|
+
},
|
|
41
|
+
"ava": {
|
|
42
|
+
"extensions": {
|
|
43
|
+
"ts": "module",
|
|
44
|
+
"tsx": "module"
|
|
45
|
+
},
|
|
46
|
+
"nodeArguments": [
|
|
47
|
+
"--loader=ts-node/esm"
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
"xo": {
|
|
51
|
+
"extends": "xo-react",
|
|
52
|
+
"prettier": true,
|
|
53
|
+
"rules": {
|
|
54
|
+
"react/prop-types": "off"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"prettier": "@vdemedes/prettier-config",
|
|
58
|
+
"scripts": {
|
|
59
|
+
"build": "tsc",
|
|
60
|
+
"dev": "tsc --watch",
|
|
61
|
+
"test": "prettier --check . && xo && ava"
|
|
62
|
+
}
|
|
63
|
+
}
|