@vltpkg/vsr 0.2.1 → 0.2.3
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/bin/{vsr.ts → vsr.js} +7 -8
- package/dist/README.md +1 -0
- package/package.json +5 -7
- package/src/assets/public/dist/favicon.ico +0 -0
- package/src/assets/public/dist/fonts/courier-bold-italic.ttf +0 -0
- package/src/assets/public/dist/fonts/courier-bold.ttf +0 -0
- package/src/assets/public/dist/fonts/courier-italic.ttf +0 -0
- package/src/assets/public/dist/fonts/courier-regular.ttf +0 -0
- package/src/assets/public/dist/fonts/geist-mono.ttf +0 -0
- package/src/assets/public/dist/fonts/inter.ttf +0 -0
- package/src/assets/public/dist/index.html +70 -0
- package/src/assets/public/dist/index.js +1293 -0
- package/src/assets/public/dist/index.js.map +7 -0
- package/src/assets/public/dist/main.css +1 -0
- package/tsconfig.json +7 -2
package/bin/{vsr.ts → vsr.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
1
|
+
#!/usr/bin/env node
|
|
2
2
|
import { fileURLToPath } from 'node:url'
|
|
3
3
|
import path from 'node:path'
|
|
4
4
|
import { execSync } from 'node:child_process'
|
|
@@ -6,23 +6,22 @@ import { PathScurry } from 'path-scurry'
|
|
|
6
6
|
import { PackageJson } from '@vltpkg/package-json'
|
|
7
7
|
import { createServer } from '@vltpkg/server'
|
|
8
8
|
import { SecurityArchive } from '@vltpkg/security-archive'
|
|
9
|
-
import { DAEMON_PORT } from '../config.ts'
|
|
10
9
|
import packageJson from '../package.json' with { type: 'json' }
|
|
11
10
|
|
|
12
|
-
const __filename
|
|
13
|
-
const __dirname
|
|
14
|
-
const cwd
|
|
11
|
+
const __filename = fileURLToPath(import.meta.url)
|
|
12
|
+
const __dirname = path.dirname(__filename)
|
|
13
|
+
const cwd = path.resolve(__dirname, '../')
|
|
15
14
|
|
|
16
15
|
const server = createServer({
|
|
17
16
|
scurry: new PathScurry(cwd),
|
|
18
17
|
projectRoot: cwd,
|
|
19
18
|
packageJson: new PackageJson(),
|
|
20
19
|
securityArchive: new SecurityArchive(),
|
|
21
|
-
port:
|
|
22
|
-
}
|
|
20
|
+
port: 3000
|
|
21
|
+
})
|
|
23
22
|
|
|
24
23
|
await server.start({
|
|
25
|
-
port:
|
|
24
|
+
port: 3000
|
|
26
25
|
})
|
|
27
26
|
|
|
28
27
|
console.log(`Listening on ${server.address()}`)
|
package/dist/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
This folder contains the built output assets for the worker "vsr" generated at 2025-06-27T20:56:41.448Z.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vltpkg/vsr",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"license": "FSL-1.1-MIT",
|
|
5
5
|
"author": "vlt technology inc. <support@vlt.sh> (http://vlt.sh)",
|
|
6
6
|
"type": "module",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"url": "git+https://github.com/vltpkg/vltpkg.git",
|
|
10
10
|
"directory": "src/vsr"
|
|
11
11
|
},
|
|
12
|
-
"bin": "./bin/vsr.
|
|
12
|
+
"bin": "./bin/vsr.js",
|
|
13
13
|
"engines": {
|
|
14
14
|
"node": ">=22.14.0"
|
|
15
15
|
},
|
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
"@hono-rate-limiter/cloudflare": "^0.2.1",
|
|
41
41
|
"@libsql/client": "^0.15.1",
|
|
42
42
|
"@scalar/hono-api-reference": "^0.5.158",
|
|
43
|
+
"@sentry/cloudflare": "^9.33.0",
|
|
43
44
|
"@twind/core": "^1.1.3",
|
|
44
45
|
"@twind/preset-autoprefix": "^1.0.7",
|
|
45
46
|
"@twind/preset-tailwind": "^1.1.4",
|
|
@@ -75,10 +76,7 @@
|
|
|
75
76
|
"dependencies": {
|
|
76
77
|
"@vltpkg/package-json": "0.0.0-15",
|
|
77
78
|
"@vltpkg/security-archive": "0.0.0-15",
|
|
78
|
-
"path-scurry": "^2.0.0"
|
|
79
|
-
|
|
80
|
-
"peerDependencies": {
|
|
81
|
-
"wrangler": "^4.20.3",
|
|
82
|
-
"node": ">=22.14.0"
|
|
79
|
+
"path-scurry": "^2.0.0",
|
|
80
|
+
"wrangler": "^4.20.3"
|
|
83
81
|
}
|
|
84
82
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<!-- The first thing in any HTML file should be the charset -->
|
|
5
|
+
<meta charset="utf-8" />
|
|
6
|
+
|
|
7
|
+
<!-- Make the page mobile compatible -->
|
|
8
|
+
<meta
|
|
9
|
+
name="viewport"
|
|
10
|
+
content="width=device-width, initial-scale=1" />
|
|
11
|
+
|
|
12
|
+
<!-- Allow installing the app to the homescreen -->
|
|
13
|
+
<meta name="mobile-web-app-capable" content="yes" />
|
|
14
|
+
|
|
15
|
+
<link rel="icon" href="/favicon.ico" />
|
|
16
|
+
<link rel="stylesheet" href="/main.css" />
|
|
17
|
+
<link
|
|
18
|
+
rel="preload"
|
|
19
|
+
href="/fonts/inter.ttf"
|
|
20
|
+
as="font"
|
|
21
|
+
type="font/ttf"
|
|
22
|
+
crossorigin="anonymous" />
|
|
23
|
+
<link
|
|
24
|
+
rel="preload"
|
|
25
|
+
href="/fonts/geist-mono.ttf"
|
|
26
|
+
as="font"
|
|
27
|
+
type="font/ttf"
|
|
28
|
+
crossorigin="anonymous" />
|
|
29
|
+
<link
|
|
30
|
+
rel="preload"
|
|
31
|
+
href="/fonts/courier-regular.ttf"
|
|
32
|
+
as="font"
|
|
33
|
+
type="font/ttf"
|
|
34
|
+
crossorigin="anonymous" />
|
|
35
|
+
<link
|
|
36
|
+
rel="preload"
|
|
37
|
+
href="/fonts/courier-bold.ttf"
|
|
38
|
+
as="font"
|
|
39
|
+
type="font/ttf"
|
|
40
|
+
crossorigin="anonymous" />
|
|
41
|
+
<link
|
|
42
|
+
rel="preload"
|
|
43
|
+
href="/fonts/courier-italic.ttf"
|
|
44
|
+
as="font"
|
|
45
|
+
type="font/ttf"
|
|
46
|
+
crossorigin="anonymous" />
|
|
47
|
+
<link
|
|
48
|
+
rel="preload"
|
|
49
|
+
href="/fonts/courier-bold-italic.ttf"
|
|
50
|
+
as="font"
|
|
51
|
+
type="font/ttf"
|
|
52
|
+
crossorigin="anonymous" />
|
|
53
|
+
<title>vlt | Explorer</title>
|
|
54
|
+
</head>
|
|
55
|
+
|
|
56
|
+
<body>
|
|
57
|
+
<!-- Display a message if JS has been disabled on the browser. -->
|
|
58
|
+
<noscript
|
|
59
|
+
>If you're seeing this message, that means
|
|
60
|
+
<strong>JavaScript has been disabled on your browser</strong>,
|
|
61
|
+
please <strong>enable JS</strong> to make this app
|
|
62
|
+
work.</noscript
|
|
63
|
+
>
|
|
64
|
+
|
|
65
|
+
<!-- The app hooks into this div -->
|
|
66
|
+
<div id="app"></div>
|
|
67
|
+
|
|
68
|
+
<script src="/index.js"></script>
|
|
69
|
+
</body>
|
|
70
|
+
</html>
|