systemd-ts 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/dist/test.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- //#region src/testing/host.d.ts
1
+ //#region src/test/host.d.ts
2
2
  interface TestHostInfo {
3
3
  readonly backend: TestHostBackendName;
4
4
  readonly colimaHome?: string;
@@ -13,7 +13,7 @@ declare function ensureTestHost(): Promise<TestHostInfo>;
13
13
  declare function closeTestHost(): void;
14
14
  declare function runGuestCommand(script: string): Promise<string>;
15
15
  //#endregion
16
- //#region src/testing/sandbox.d.ts
16
+ //#region src/test/sandbox.d.ts
17
17
  interface TestSandbox {
18
18
  readonly id: string;
19
19
  readonly linkedUnitDir: string;
package/dist/test.mjs CHANGED
@@ -1,9 +1,9 @@
1
- import { execFile, spawn } from "node:child_process";
2
1
  import { fileURLToPath } from "node:url";
2
+ import { execFile, spawn } from "node:child_process";
3
3
  import { promisify } from "node:util";
4
4
  import { createHash, randomUUID } from "node:crypto";
5
5
  import { setTimeout as setTimeout$1 } from "node:timers/promises";
6
- //#region src/testing/host.ts
6
+ //#region src/test/host.ts
7
7
  const execFileAsync = promisify(execFile);
8
8
  const commandMaxBufferBytes = 16 * 1024 * 1024;
9
9
  const dockerBuildTimeoutMs = 300 * 1e3;
@@ -461,7 +461,7 @@ function shellQuote$1(value) {
461
461
  }
462
462
  const backend = createBackend(selectedBackendName);
463
463
  //#endregion
464
- //#region src/testing/sandbox.ts
464
+ //#region src/test/sandbox.ts
465
465
  let currentSandbox;
466
466
  async function createTestSandbox(testName) {
467
467
  const id = randomUUID().slice(0, 8);
package/package.json CHANGED
@@ -1,8 +1,13 @@
1
1
  {
2
2
  "name": "systemd-ts",
3
- "version": "0.0.0",
3
+ "version": "0.1.0",
4
4
  "description": "TypeScript builders and helpers for systemd services and timers.",
5
5
  "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/jeremybanka/systemd-ts.git",
9
+ "directory": "packages/systemd-ts"
10
+ },
6
11
  "files": [
7
12
  "dist"
8
13
  ],
@@ -15,18 +20,17 @@
15
20
  "publishConfig": {
16
21
  "access": "public"
17
22
  },
23
+ "devDependencies": {
24
+ "@types/node": "25.6.2",
25
+ "@typescript/native-preview": "7.0.0-dev.20260509.2",
26
+ "takua": "0.1.1",
27
+ "typescript": "6.0.3",
28
+ "vite-plus": "0.1.20"
29
+ },
18
30
  "scripts": {
19
31
  "build": "vp pack",
20
32
  "dev": "vp pack --watch",
21
33
  "test": "vp test",
22
- "check": "vp check",
23
- "prepublishOnly": "vp run build"
24
- },
25
- "devDependencies": {
26
- "@types/node": "catalog:",
27
- "@typescript/native-preview": "catalog:",
28
- "takua": "catalog:",
29
- "typescript": "catalog:",
30
- "vite-plus": "catalog:"
34
+ "check": "vp check"
31
35
  }
32
- }
36
+ }