Droping rebory and migrate to cmake-js #14

Merged
Sirherobrine23 merged 5 commits from SonicCDPast into main 2024-07-09 03:02:27 +00:00
15 changed files with 257 additions and 468 deletions
Showing only changes of commit 99b2320b62 - Show all commits

View File

@ -2,6 +2,9 @@
node_modules/ node_modules/
/*.tgz /*.tgz
# Builder dir
build/
# Typescript # Typescript
src/**/*_test.* src/**/*_test.*
src/**/*.ts src/**/*.ts
@ -18,4 +21,4 @@ src/**/*.ts
# Project # Project
.vscode-ctags* .vscode-ctags*
*.addrs.json *.addrs.json

View File

@ -24,6 +24,7 @@ PublicKey = 15PMkuIeQNM9AlknHb+c10y8e3fzOihZJpuD23y+d0c=
AllowedIPs = 10.88.198.220/32, 192.168.15.112/32, 2002:0A58:C6DC::/128, 2002:C0A8:0F70::/128`; AllowedIPs = 10.88.198.220/32, 192.168.15.112/32, 2002:0A58:C6DC::/128, 2002:C0A8:0F70::/128`;
const StaticConfigJson: QuickConfig = { const StaticConfigJson: QuickConfig = {
name: "wg0",
privateKey: "2Ll/2LCXDlLVZcBCBZ6QeXB4qEF+bTzmuOBxnpu57WY=", privateKey: "2Ll/2LCXDlLVZcBCBZ6QeXB4qEF+bTzmuOBxnpu57WY=",
portListen: 38451, portListen: 38451,
PostUp: [ PostUp: [

View File

@ -1,5 +1,5 @@
import test from "node:test" import test from "node:test"
import { SetConfig, GetConfig, Config, setConfig, getConfig, deleteInterface } from "./wginterface.js" import { Config, setConfig, getConfig, deleteInterface } from "./wginterface.js"
import { privateKey, publicKey, presharedKey } from "./key.js" import { privateKey, publicKey, presharedKey } from "./key.js"
import { format } from "node:util"; import { format } from "node:util";
import assert from "node:assert"; import assert from "node:assert";

View File

@ -20,6 +20,7 @@
"exclude": [ "exclude": [
"**/libs/**", "**/libs/**",
"**/docs/**", "**/docs/**",
"build/**",
"node_modules/", "node_modules/",
"index.mjs" "index.mjs"
], ],
@ -28,4 +29,4 @@
"esm": true, "esm": true,
"transpileOnly": true "transpileOnly": true
} }
} }