Skip to content

Commit

Permalink
chore: start working on xpra, improve some of the code
Browse files Browse the repository at this point in the history
  • Loading branch information
IncognitoTGT committed Aug 15, 2024
1 parent fe5cba9 commit 9842178
Show file tree
Hide file tree
Showing 20 changed files with 848 additions and 200 deletions.
13 changes: 13 additions & 0 deletions .config/config-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,23 @@
"SessionConfig": {
"additionalProperties": false,
"properties": {
"dnsServers": {
"default": "system default",
"description": "Dns servers for the container to use",
"items": {
"type": "string"
},
"type": "array"
},
"keepaliveDuration": {
"default": 1440,
"description": "The amount of time to keep an inactive session alive for, in minutes.",
"type": "number"
},
"maxStorage": {
"default": "10GB",
"description": "Max amount of storage a container can use, in gigabytes",
"type": "number"
}
},
"type": "object"
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"private": true,
"type": "module",
"scripts": {
"postinstall": "jq '.exports[\".\"].types = (\"./\" + .types)' ./node_modules/xpra-html5-client/package.json > tmp.json && mv tmp.json ./node_modules/xpra-html5-client/package.json",
"dev": "CONFIG=$(cat .config/config.json) tsx server.ts",
"build": "CONFIG=$(cat .config/config.json) next build",
"start": "NODE_ENV=production CONFIG=$(cat .config/config.json) tsx server.ts",
Expand Down Expand Up @@ -43,6 +44,7 @@
"dockerode": "^4.0.2",
"drizzle-orm": "^0.32.0",
"drizzle-zod": "^0.5.1",
"http-proxy-middleware": "^3.0.0",
"input-otp": "^1.2.4",
"lucide-react": "^0.358.0",
"next": "15.0.0-rc.0",
Expand All @@ -60,7 +62,6 @@
"tailwind-merge": "^2.2.2",
"tailwindcss-animate": "^1.0.7",
"tsx": "^4.9.1",
"ws": "^8.17.1",
"xpra-html5-client": "^2.3.0",
"zod": "^3.23.8"
},
Expand All @@ -72,7 +73,6 @@
"@types/pg": "^8.11.4",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/ws": "^8.5.10",
"autoprefixer": "^10.4.19",
"drizzle-kit": "^0.23.0",
"postcss": "^8.4.38",
Expand Down
100 changes: 66 additions & 34 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9842178

Please sign in to comment.