Droping rebory and migrate to cmake-js #14
@ -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
|
||||||
|
@ -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: [
|
||||||
|
@ -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";
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user