@serve.zone/remoteingress 4.18.0 → 4.19.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/.smartconfig.json CHANGED
@@ -5,6 +5,28 @@
5
5
  "linux_arm64"
6
6
  ]
7
7
  },
8
+ "@git.zone/tsdeno": {
9
+ "compileTargets": [
10
+ {
11
+ "name": "remoteingress-linux-x64",
12
+ "entryPoint": "binary/remoteingress.ts",
13
+ "outDir": "dist/binaries",
14
+ "target": "x86_64-unknown-linux-gnu",
15
+ "permissions": ["--allow-all"],
16
+ "noCheck": true,
17
+ "selfExtracting": true
18
+ },
19
+ {
20
+ "name": "remoteingress-linux-arm64",
21
+ "entryPoint": "binary/remoteingress.ts",
22
+ "outDir": "dist/binaries",
23
+ "target": "aarch64-unknown-linux-gnu",
24
+ "permissions": ["--allow-all"],
25
+ "noCheck": true,
26
+ "selfExtracting": true
27
+ }
28
+ ]
29
+ },
8
30
  "@git.zone/tsdocker": {
9
31
  "registries": [
10
32
  "code.foss.global"
@@ -53,6 +75,10 @@
53
75
  "https://registry.npmjs.org"
54
76
  ],
55
77
  "accessLevel": "public"
78
+ },
79
+ "docker": {
80
+ "enabled": true,
81
+ "engine": "tsdocker"
56
82
  }
57
83
  }
58
84
  },
@@ -0,0 +1,4 @@
1
+ process.env.CLI_CALL = 'true';
2
+
3
+ const cliTool = await import('../dist_ts/index.js');
4
+ await cliTool.runCli();
package/cli.child.ts ADDED
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env node
2
+ process.env.CLI_CALL = 'true';
3
+ import * as cliTool from './ts/index.js';
4
+ cliTool.runCli();
package/cli.js CHANGED
File without changes
package/cli.ts.js ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env node
2
+ process.env.CLI_CALL = 'true';
3
+
4
+ import * as tsrun from '@git.zone/tsrun';
5
+ tsrun.runPath('./cli.child.js', import.meta.url);
package/deno.json ADDED
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "@serve.zone/remoteingress",
3
+ "version": "4.19.0",
4
+ "exports": "./binary/remoteingress.ts",
5
+ "compile": {
6
+ "include": [
7
+ "dist_rust"
8
+ ]
9
+ },
10
+ "imports": {
11
+ "@push.rocks/qenv": "npm:@push.rocks/qenv@^6.1.4",
12
+ "@push.rocks/smartnftables": "npm:@push.rocks/smartnftables@^1.2.0",
13
+ "@push.rocks/smartrust": "npm:@push.rocks/smartrust@^1.4.0"
14
+ }
15
+ }
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@serve.zone/remoteingress',
6
- version: '4.18.0',
6
+ version: '4.19.0',
7
7
  description: 'Edge ingress tunnel for DcRouter - tunnels TCP and UDP traffic from the network edge to SmartProxy over TLS or QUIC, preserving client IP via PROXY protocol.'
8
8
  };
9
9
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSwyQkFBMkI7SUFDakMsT0FBTyxFQUFFLFFBQVE7SUFDakIsV0FBVyxFQUFFLCtKQUErSjtDQUM3SyxDQUFBIn0=
@@ -1,4 +1,4 @@
1
- import * as path from 'path';
1
+ import * as path from 'node:path';
2
2
  export { path };
3
3
  import * as smartnftables from '@push.rocks/smartnftables';
4
4
  import * as smartrust from '@push.rocks/smartrust';
@@ -1,8 +1,8 @@
1
1
  // node native scope
2
- import * as path from 'path';
2
+ import * as path from 'node:path';
3
3
  export { path };
4
4
  // @push.rocks scope
5
5
  import * as smartnftables from '@push.rocks/smartnftables';
6
6
  import * as smartrust from '@push.rocks/smartrust';
7
7
  export { smartnftables, smartrust };
8
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGx1Z2lucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL3BsdWdpbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsb0JBQW9CO0FBQ3BCLE9BQU8sS0FBSyxJQUFJLE1BQU0sTUFBTSxDQUFDO0FBQzdCLE9BQU8sRUFBRSxJQUFJLEVBQUUsQ0FBQztBQUVoQixvQkFBb0I7QUFDcEIsT0FBTyxLQUFLLGFBQWEsTUFBTSwyQkFBMkIsQ0FBQztBQUMzRCxPQUFPLEtBQUssU0FBUyxNQUFNLHVCQUF1QixDQUFDO0FBQ25ELE9BQU8sRUFBRSxhQUFhLEVBQUUsU0FBUyxFQUFFLENBQUMifQ==
8
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGx1Z2lucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL3BsdWdpbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsb0JBQW9CO0FBQ3BCLE9BQU8sS0FBSyxJQUFJLE1BQU0sV0FBVyxDQUFDO0FBQ2xDLE9BQU8sRUFBRSxJQUFJLEVBQUUsQ0FBQztBQUVoQixvQkFBb0I7QUFDcEIsT0FBTyxLQUFLLGFBQWEsTUFBTSwyQkFBMkIsQ0FBQztBQUMzRCxPQUFPLEtBQUssU0FBUyxNQUFNLHVCQUF1QixDQUFDO0FBQ25ELE9BQU8sRUFBRSxhQUFhLEVBQUUsU0FBUyxFQUFFLENBQUMifQ==
package/package.json CHANGED
@@ -1,11 +1,14 @@
1
1
  {
2
2
  "name": "@serve.zone/remoteingress",
3
- "version": "4.18.0",
3
+ "version": "4.19.0",
4
4
  "private": false,
5
5
  "description": "Edge ingress tunnel for DcRouter - tunnels TCP and UDP traffic from the network edge to SmartProxy over TLS or QUIC, preserving client IP via PROXY protocol.",
6
6
  "main": "dist_ts/index.js",
7
7
  "typings": "dist_ts/index.d.ts",
8
8
  "type": "module",
9
+ "bin": {
10
+ "remoteingress": "./cli.js"
11
+ },
9
12
  "author": "Task Venture Capital GmbH",
10
13
  "license": "MIT",
11
14
  "devDependencies": {
@@ -13,8 +16,8 @@
13
16
  "@git.zone/tsbundle": "^2.10.4",
14
17
  "@git.zone/tsrun": "^2.0.4",
15
18
  "@git.zone/tsrust": "^1.3.4",
19
+ "@git.zone/tsdeno": "^1.4.0",
16
20
  "@git.zone/tstest": "^3.6.6",
17
- "@push.rocks/tapbundle": "^6.0.3",
18
21
  "@types/node": "^25.9.1"
19
22
  },
20
23
  "dependencies": {
@@ -35,14 +38,18 @@
35
38
  ],
36
39
  "files": [
37
40
  "ts/**/*",
41
+ "binary/**/*",
38
42
  "ts_web/**/*",
39
- "dist/**/*",
40
43
  "dist_*/**/*",
41
44
  "dist_ts/**/*",
42
45
  "dist_ts_web/**/*",
43
46
  "dist_rust/**/*",
44
47
  "assets/**/*",
45
48
  "cli.js",
49
+ "cli.ts.js",
50
+ "cli.child.ts",
51
+ "deno.json",
52
+ "tsconfig.json",
46
53
  ".smartconfig.json",
47
54
  "readme.md"
48
55
  ],
@@ -63,6 +70,7 @@
63
70
  "start": "(node ./cli.js)",
64
71
  "test": "(pnpm run build && tstest test/ --verbose --logfile --timeout 60)",
65
72
  "build": "(tsbuild tsfolders --allowimplicitany && tsrust)",
73
+ "build:binary": "(pnpm run build && tsdeno compile)",
66
74
  "buildDocs": "(tsdoc)"
67
75
  }
68
76
  }
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@serve.zone/remoteingress',
6
- version: '4.18.0',
6
+ version: '4.19.0',
7
7
  description: 'Edge ingress tunnel for DcRouter - tunnels TCP and UDP traffic from the network edge to SmartProxy over TLS or QUIC, preserving client IP via PROXY protocol.'
8
8
  }
package/ts/plugins.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  // node native scope
2
- import * as path from 'path';
2
+ import * as path from 'node:path';
3
3
  export { path };
4
4
 
5
5
  // @push.rocks scope
package/tsconfig.json ADDED
@@ -0,0 +1,15 @@
1
+ {
2
+ "compilerOptions": {
3
+ "experimentalDecorators": true,
4
+ "useDefineForClassFields": false,
5
+ "target": "ES2022",
6
+ "module": "NodeNext",
7
+ "moduleResolution": "NodeNext",
8
+ "esModuleInterop": true,
9
+ "verbatimModuleSyntax": true,
10
+ "types": ["node"]
11
+ },
12
+ "exclude": [
13
+ "dist_*/**/*.d.ts"
14
+ ]
15
+ }