hostctl 0.1.40 → 0.1.41

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hostctl",
3
- "version": "0.1.40",
3
+ "version": "0.1.41",
4
4
  "description": "hostctl is a tool that runs task scripts against hosts.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -27,9 +27,30 @@
27
27
  "lint": "tsc --noEmit",
28
28
  "format": "prettier --write .",
29
29
  "build": "tsup",
30
- "test": "vitest run",
31
- "test:unit": "vitest run test/unit",
32
- "test:e2e": "vitest run test/e2e"
30
+ "prepublishOnly": "npm run build",
31
+ "test": "npm run test:unit",
32
+ "test:unit": "vitest run --project unit-functional",
33
+ "test:functional": "VITEST_INCLUDE=\"test/functional/**/*.test.ts\" vitest run --project unit-functional",
34
+ "test:e2e": "vitest run --project e2e",
35
+ "test:e2e:run": "vitest run --project e2e",
36
+ "test:e2e:all": "./scripts/e2e-all.sh",
37
+ "test:e2e:files": "./scripts/e2e-files.sh",
38
+ "test:file": "vitest run",
39
+ "test:unit:file": "VITEST_PROJECT=unit-functional vitest run",
40
+ "test:pkg:abstract:file": "VITEST_PROJECT=e2e VITEST_INCLUDE=\"test/e2e/core.pkg.abstract.dynamic.e2e.test.ts\" vitest run",
41
+ "test:pkg:platform:file": "VITEST_PROJECT=e2e VITEST_INCLUDE=\"test/e2e/core.pkg.*.dynamic.e2e.test.ts\" vitest run",
42
+ "test:e2e:file": "VITEST_PROJECT=e2e vitest run",
43
+ "test:e2e:auto": "tsx scripts/test-runner.ts",
44
+ "test:e2e:auto:fresh": "tsx scripts/test-runner.ts --fresh-vms",
45
+ "test:e2e:auto:verbose": "tsx scripts/test-runner.ts --verbose",
46
+ "test:e2e:fresh": "./scripts/vm-manager.sh test-fresh",
47
+ "test:all": "vitest run",
48
+ "vm:status": "./scripts/vm-manager.sh status",
49
+ "vm:start": "./scripts/vm-manager.sh start",
50
+ "vm:stop": "./scripts/vm-manager.sh stop",
51
+ "vm:destroy": "./scripts/vm-manager.sh destroy",
52
+ "vm:reset": "./scripts/vm-manager.sh reset",
53
+ "vm:provision": "./scripts/vm-manager.sh provision"
33
54
  },
34
55
  "tsup": {
35
56
  "entry": [
@@ -55,6 +76,12 @@
55
76
  "types": "./dist/index.d.ts"
56
77
  }
57
78
  },
79
+ "engines": {
80
+ "node": ">=24"
81
+ },
82
+ "publishConfig": {
83
+ "access": "public"
84
+ },
58
85
  "devDependencies": {
59
86
  "@release-it/bumper": "^7.0.5",
60
87
  "@types/adm-zip": "^0.5.7",
@@ -73,16 +100,16 @@
73
100
  "release-it": "^19.0.3",
74
101
  "tsup": "^8.5.0",
75
102
  "typescript": "^5.8.3",
76
- "vitest": "^3.2.4"
103
+ "vitest": "^3.2.4",
104
+ "@types/js-yaml": "^4.0.9",
105
+ "@types/shell-quote": "^1.7.5",
106
+ "@types/tmp": "^0.2.6"
77
107
  },
78
108
  "dependencies": {
79
109
  "@expo/spawn-async": "^1.7.2",
80
110
  "@inquirer/prompts": "^7.5.3",
81
111
  "@replit/ruspty": "^3.4.16",
82
112
  "@scure/base": "^1.2.6",
83
- "@types/js-yaml": "^4.0.9",
84
- "@types/shell-quote": "^1.7.5",
85
- "@types/tmp": "^0.2.6",
86
113
  "adm-zip": "^0.5.16",
87
114
  "age-encryption": "^0.2.3",
88
115
  "async-mutex": "^0.5.0",