@wpelevator/tug 0.0.0 → 0.1.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/README.md +59 -0
- package/dist/agent.d.ts +36 -0
- package/dist/agent.js +406 -0
- package/dist/build.d.ts +22 -0
- package/dist/build.js +29 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +333 -0
- package/dist/compose.d.ts +23 -0
- package/dist/compose.js +182 -0
- package/dist/control.d.ts +11 -0
- package/dist/control.js +729 -0
- package/dist/db.d.ts +115 -0
- package/dist/db.js +48 -0
- package/dist/image.d.ts +9 -0
- package/dist/image.js +20 -0
- package/dist/ingress.d.ts +50 -0
- package/dist/ingress.js +178 -0
- package/dist/main.d.ts +2 -0
- package/dist/main.js +22 -0
- package/dist/mesh.d.ts +70 -0
- package/dist/mesh.js +183 -0
- package/dist/protocol.d.ts +282 -0
- package/dist/protocol.js +8 -0
- package/dist/runners.d.ts +12 -0
- package/dist/runners.js +10 -0
- package/dist/secrets.d.ts +3 -0
- package/dist/secrets.js +29 -0
- package/dist/templates/agent.env +6 -0
- package/dist/templates/control-compose.yml +18 -0
- package/dist/templates/control-install.sh +7 -0
- package/dist/templates/node-install.sh +8 -0
- package/dist/util.d.ts +12 -0
- package/dist/util.js +24 -0
- package/package.json +59 -3
package/package.json
CHANGED
|
@@ -1,6 +1,62 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wpelevator/tug",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "
|
|
5
|
-
"repository": {
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Portable VPS deployments with Docker Compose",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/wpelevator/tug.git"
|
|
8
|
+
},
|
|
9
|
+
"type": "module",
|
|
10
|
+
"bin": {
|
|
11
|
+
"tug": "./dist/cli.js",
|
|
12
|
+
"tug-node": "./dist/main.js"
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"dist"
|
|
16
|
+
],
|
|
17
|
+
"publishConfig": {
|
|
18
|
+
"access": "public"
|
|
19
|
+
},
|
|
20
|
+
"scripts": {
|
|
21
|
+
"start:control": "node src/main.ts control",
|
|
22
|
+
"start:agent": "node src/main.ts agent",
|
|
23
|
+
"build": "tsc -p tsconfig.build.json && node tools/scripts/copy-templates.js",
|
|
24
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
25
|
+
"prepack": "npm run build",
|
|
26
|
+
"test": "node --test 'src/**/*.test.ts'",
|
|
27
|
+
"lint": "eslint .",
|
|
28
|
+
"format": "eslint . --fix",
|
|
29
|
+
"test:integration": "bash tools/scripts/integration-test.sh",
|
|
30
|
+
"test:integration:network": "bash tools/scripts/integration-network-test.sh",
|
|
31
|
+
"test:integration:agent": "node --test 'tests/integration/**/*.test.ts'",
|
|
32
|
+
"test:smoke:dist": "npm run build && CLI_ENTRY=dist/cli.js node --test src/cli.templates.test.ts",
|
|
33
|
+
"changeset": "changeset",
|
|
34
|
+
"version-packages": "changeset version && npm install --package-lock-only --ignore-scripts",
|
|
35
|
+
"release": "changeset publish"
|
|
36
|
+
},
|
|
37
|
+
"dependencies": {
|
|
38
|
+
"commander": "^12.1.0",
|
|
39
|
+
"dotenv": "^16.4.7",
|
|
40
|
+
"express": "^4.21.2",
|
|
41
|
+
"js-yaml": "^4.1.0",
|
|
42
|
+
"multer": "^2.2.0",
|
|
43
|
+
"sqlite": "^5.1.1",
|
|
44
|
+
"sqlite3": "^5.1.7",
|
|
45
|
+
"tar": "^7.4.3"
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"@changesets/cli": "^3.0.3",
|
|
49
|
+
"@eslint/js": "^10.0.1",
|
|
50
|
+
"@types/express": "^4.17.25",
|
|
51
|
+
"@types/js-yaml": "^4.0.9",
|
|
52
|
+
"@types/multer": "^2.3.0",
|
|
53
|
+
"@types/node": "^22.20.5",
|
|
54
|
+
"eslint": "^10.5.0",
|
|
55
|
+
"globals": "^17.7.0",
|
|
56
|
+
"typescript": "^6.0.3",
|
|
57
|
+
"typescript-eslint": "^8.72.1"
|
|
58
|
+
},
|
|
59
|
+
"engines": {
|
|
60
|
+
"node": ">=22.18"
|
|
61
|
+
}
|
|
6
62
|
}
|