transom 0.0.0-stage → 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.
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><style>.t{fill:#161616}.r{fill:#f7f7f4}@media (prefers-color-scheme:dark){.t{fill:#ededea}.r{fill:#161616}}</style><rect class="t" width="24" height="24"/><rect class="r" x="6" y="6.5" width="3" height="3.5"/><rect class="r" x="10.5" y="6.5" width="3" height="3.5"/><rect x="15" y="6.5" width="3" height="3.5" fill="#d6492a"/><rect class="r" x="6" y="12" width="12" height="12"/></svg>
@@ -0,0 +1,34 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
+ <meta name="color-scheme" content="light dark" />
7
+ <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
8
+ <title>transom</title>
9
+ <!--transom:settings-->
10
+ <script>
11
+ // Apply saved appearance before first paint. The CLI injects window.__TRANSOM_SETTINGS__ above.
12
+ (function () {
13
+ var s = window.__TRANSOM_SETTINGS__, t
14
+ try { if (!s) s = JSON.parse(localStorage.getItem('transom-settings') || 'null') } catch (e) {}
15
+ s = s || {}
16
+ try { t = localStorage.getItem('transom-theme') } catch (e) {}
17
+ var mode = s.mode === 'light' || s.mode === 'dark' ? s.mode : t === 'light' || t === 'dark' ? t : 'system'
18
+ if (mode === 'system') mode = matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light'
19
+ var d = document.documentElement.dataset
20
+ d.theme = mode
21
+ d.palette = s.palette || 'paper'
22
+ d.sidebar = s.sidebar || 'solid'
23
+ d.radius = s.radius || 'none'
24
+ d.density = s.density || 'comfortable'
25
+ d.font = s.font || 'figtree'
26
+ })()
27
+ </script>
28
+ <script type="module" crossorigin src="/assets/index-D7PDC_h3.js"></script>
29
+ <link rel="stylesheet" crossorigin href="/assets/index-COITU-z5.css">
30
+ </head>
31
+ <body>
32
+ <div id="root"></div>
33
+ </body>
34
+ </html>
package/package.json CHANGED
@@ -1,6 +1,61 @@
1
1
  {
2
2
  "name": "transom",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.0",
4
+ "description": "A calm Postgres viewer in your browser. One command, zero config for local databases.",
5
+ "type": "module",
6
+ "bin": {
7
+ "transom": "dist/cli.js"
8
+ },
9
+ "files": [
10
+ "dist"
11
+ ],
12
+ "engines": {
13
+ "node": ">=20"
14
+ },
15
+ "license": "MIT",
16
+ "keywords": [
17
+ "postgres",
18
+ "postgresql",
19
+ "database",
20
+ "gui",
21
+ "viewer",
22
+ "cli"
23
+ ],
24
+ "scripts": {
25
+ "dev": "concurrently -k -n server,ui \"tsx watch src/cli.ts --dev --no-open --port 4317\" \"vite\"",
26
+ "build": "vite build && tsup",
27
+ "typecheck": "tsc --noEmit -p tsconfig.json",
28
+ "build:demo": "vite build --mode demo",
29
+ "build:demo:watch": "vite build --mode demo --watch"
30
+ },
31
+ "dependencies": {
32
+ "pg": "^8.13.0"
33
+ },
34
+ "devDependencies": {
35
+ "@fontsource-variable/figtree": "^5.3.0",
36
+ "@fontsource-variable/inter": "^5.3.0",
37
+ "@fontsource/fragment-mono": "^5.3.0",
38
+ "@tailwindcss/vite": "^4.3.3",
39
+ "@types/node": "^26.6.4",
40
+ "@types/pg": "^8.23.1",
41
+ "@types/react": "^19.3.0",
42
+ "@types/react-dom": "^19.3.0",
43
+ "@vitejs/plugin-react": "^6.1.2",
44
+ "class-variance-authority": "^0.7.1",
45
+ "clsx": "^2.1.1",
46
+ "cmdk": "^1.1.1",
47
+ "concurrently": "^10.0.5",
48
+ "lucide-react": "^1.53.0",
49
+ "radix-ui": "^1.7.0",
50
+ "react": "^19.3.0",
51
+ "react-dom": "^19.3.0",
52
+ "sonner": "^2.0.8",
53
+ "tailwind-merge": "^3.7.0",
54
+ "tailwindcss": "^4.3.3",
55
+ "tsup": "^8.5.1",
56
+ "tsx": "^4.23.15",
57
+ "tw-animate-css": "^1.4.0",
58
+ "typescript": "^7.0.2",
59
+ "vite": "^8.3.3"
60
+ }
61
+ }