virrun 2.31.0 → 2.32.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/LICENSE +201 -201
- package/README.md +29 -55
- package/dist/cli.js +2 -14
- package/dist/{createVirrun-Cg9BQxg_.js → createVirrun-B3b8HpM_.js} +512 -143
- package/dist/createVirrun-B6jYdgVI.js +23361 -0
- package/dist/createVirrun-B7d3DDOh.js +23361 -0
- package/dist/createVirrun-BRWPPzzC.js +23370 -0
- package/dist/createVirrun-Bx6rca4K.js +23364 -0
- package/dist/{createVirrun-C8zMQHAQ.js → createVirrun-CirfmuYa.js} +507 -144
- package/dist/createVirrun-D6vtkrkN.js +23357 -0
- package/dist/{createVirrun-rH3O-itW.js → createVirrun-F5Gqe026.js} +4497 -166
- package/dist/createVirrun-GQ4IRIfZ.js +23361 -0
- package/dist/createVirrun-oOCnOtt0.js +23519 -0
- package/dist/index.d.ts +3207 -45
- package/dist/index.js +25 -2
- package/dist/mainCommand-B99KFsCA.js +26295 -0
- package/dist/mainCommand-BuOZ5_tl.js +25784 -0
- package/dist/mainCommand-BwiSo5oU.js +26276 -0
- package/dist/mainCommand-BziUFOd-.js +26786 -0
- package/dist/mainCommand-C6beIti-.js +26748 -0
- package/dist/mainCommand-CshwG7mT.js +26277 -0
- package/dist/mainCommand-D-8tCgpQ.js +26275 -0
- package/dist/mainCommand-D6J0bW3I.js +26290 -0
- package/dist/mainCommand-Dka4ZkbD.js +26786 -0
- package/dist/mainCommand-KhyFmO-q.js +26508 -0
- package/dist/mainCommand-WMKpWxk1.js +26731 -0
- package/dist/mainCommand-asfHvyFh.js +26323 -0
- package/dist/mainCommand-ePTFrlMi.js +26315 -0
- package/dist/mainCommand-nqEH0Sdn.js +26785 -0
- package/dist/mainCommand-pfsJR4Jj.js +26787 -0
- package/dist/mainCommand-sh3BgZHx.js +26522 -0
- package/dist/mainCommand-w8tHehgL.js +26785 -0
- package/package.json +27 -7
- package/schema.json +24 -0
package/package.json
CHANGED
|
@@ -1,7 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "virrun",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.32.0",
|
|
4
4
|
"description": "An ephemeral, in-memory virtual runner that runs a repo's real toolchain fast and isolated.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"ci",
|
|
7
|
+
"cli",
|
|
8
|
+
"in-memory",
|
|
9
|
+
"isolated",
|
|
10
|
+
"monorepo",
|
|
11
|
+
"runner",
|
|
12
|
+
"sandbox",
|
|
13
|
+
"testing",
|
|
14
|
+
"toolchain",
|
|
15
|
+
"typescript",
|
|
16
|
+
"vfs",
|
|
17
|
+
"virtual"
|
|
18
|
+
],
|
|
5
19
|
"homepage": "https://github.com/Esposter/Esposter/blob/main/packages/virrun#readme",
|
|
6
20
|
"bugs": {
|
|
7
21
|
"url": "https://github.com/Esposter/Esposter/issues"
|
|
@@ -16,7 +30,8 @@
|
|
|
16
30
|
"virrun": "dist/cli.js"
|
|
17
31
|
},
|
|
18
32
|
"files": [
|
|
19
|
-
"dist"
|
|
33
|
+
"dist",
|
|
34
|
+
"schema.json"
|
|
20
35
|
],
|
|
21
36
|
"type": "module",
|
|
22
37
|
"main": "dist/index.js",
|
|
@@ -37,14 +52,19 @@
|
|
|
37
52
|
},
|
|
38
53
|
"devDependencies": {
|
|
39
54
|
"@codspeed/vitest-plugin": "^5.7.1",
|
|
40
|
-
"@esposter/configuration": "2.
|
|
41
|
-
"@esposter/shared": "2.
|
|
42
|
-
"@esposter/shared-node": "2.
|
|
55
|
+
"@esposter/configuration": "2.32.0",
|
|
56
|
+
"@esposter/shared": "2.32.0",
|
|
57
|
+
"@esposter/shared-node": "2.32.0",
|
|
43
58
|
"@platformatic/vfs": "^0.4.0",
|
|
44
59
|
"@types/node": "^26.0.1",
|
|
60
|
+
"citty": "^0.2.2",
|
|
45
61
|
"ctix": "^2.8.1",
|
|
62
|
+
"dayjs": "^1.11.21",
|
|
63
|
+
"empathic": "^2.0.1",
|
|
64
|
+
"fast-check": "^4.8.0",
|
|
46
65
|
"rolldown": "^1.1.3",
|
|
47
|
-
"vitest": "^4.1.9"
|
|
66
|
+
"vitest": "^4.1.9",
|
|
67
|
+
"zod": "^4.4.3"
|
|
48
68
|
},
|
|
49
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "6f38aef08ca96a5f201adf3dbf258bc5eb30b5ff"
|
|
50
70
|
}
|
package/schema.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"title": "virrun configuration",
|
|
4
|
+
"description": "The repo-root virrun.config.json: a checked-in, reviewable selection of which backend a sandboxed command runs through (adoption level 3). The `virrun -- <cmd>` prefix is the switch for whether a command is sandboxed; this config only chooses how. Every field is optional and falls back to a safe default, so a minimal {} — or an absent file — is valid and the backend defaults to auto (native today).",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"properties": {
|
|
8
|
+
"$schema": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "Path or URL to this JSON schema, for editor autocompletion and validation."
|
|
11
|
+
},
|
|
12
|
+
"backend": {
|
|
13
|
+
"description": "The backend a sandboxed command runs through. Defaults to `auto` (resolves to native today). Mirror of the BackendType enum in src/models/virrun/BackendType.ts.",
|
|
14
|
+
"default": "auto",
|
|
15
|
+
"enum": ["auto", "native", "os", "vfs"],
|
|
16
|
+
"enumDescriptions": [
|
|
17
|
+
"Pick the best backend the host supports — native today, until an isolating backend beats the gates.",
|
|
18
|
+
"Run the command directly on the host with no virtualization.",
|
|
19
|
+
"Run inside a bubblewrap RAM-overlay (Linux, or Windows via WSL2): reads fall through to source, writes vanish in tmpfs. Ephemeral — only safe for read-only verification commands.",
|
|
20
|
+
"Run recognised pure-JS node invocations in-process; falls back to native for everything else. Opt-in, no isolation."
|
|
21
|
+
]
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|