Adding earthly and gitea actions
This commit is contained in:
1
Client/.gitignore
vendored
Normal file
1
Client/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
dist/
|
@ -13,53 +13,52 @@
|
||||
"smui-theme-dark": "smui-theme compile public/smui-dark.css -i src/theme/dark"
|
||||
},
|
||||
"dependencies": {
|
||||
"@hibas123/screen-api": "workspace:^",
|
||||
"@hibas123/utils": "^2.2.18",
|
||||
"@material/theme": "^13.0.0",
|
||||
"@material/theme": "^14.0.0",
|
||||
"@rtdb2/sdk": "^3.0.0-beta.7",
|
||||
"@smui-extra/accordion": "^6.0.0-beta.13",
|
||||
"@smui-extra/badge": "^6.0.0-beta.13",
|
||||
"@smui/banner": "^6.0.0-beta.13",
|
||||
"@smui/button": "^6.0.0-beta.13",
|
||||
"@smui/card": "^6.0.0-beta.13",
|
||||
"@smui/checkbox": "^6.0.0-beta.13",
|
||||
"@smui/circular-progress": "^6.0.0-beta.13",
|
||||
"@smui/common": "^6.0.0-beta.13",
|
||||
"@smui/data-table": "^6.0.0-beta.13",
|
||||
"@smui/dialog": "^6.0.0-beta.13",
|
||||
"@smui/drawer": "^6.0.0-beta.13",
|
||||
"@smui/fab": "^6.0.0-beta.13",
|
||||
"@smui/floating-label": "^6.0.0-beta.13",
|
||||
"@smui/icon-button": "^6.0.0-beta.13",
|
||||
"@smui/layout-grid": "^6.0.0-beta.13",
|
||||
"@smui/line-ripple": "^6.0.0-beta.13",
|
||||
"@smui/linear-progress": "^6.0.0-beta.13",
|
||||
"@smui/list": "^6.0.0-beta.13",
|
||||
"@smui/menu": "^6.0.0-beta.13",
|
||||
"@smui/menu-surface": "^6.0.0-beta.13",
|
||||
"@smui/notched-outline": "^6.0.0-beta.13",
|
||||
"@smui/paper": "^6.0.0-beta.13",
|
||||
"@smui/radio": "^6.0.0-beta.13",
|
||||
"@smui/ripple": "^6.0.0-beta.13",
|
||||
"@smui/select": "^6.0.0-beta.13",
|
||||
"@smui/snackbar": "^6.0.0-beta.13",
|
||||
"@smui/tab": "^6.0.0-beta.13",
|
||||
"@smui/tab-indicator": "^6.0.0-beta.13",
|
||||
"@smui/tab-scroller": "^6.0.0-beta.13",
|
||||
"@smui/textfield": "^6.0.0-beta.13",
|
||||
"@smui/top-app-bar": "^6.0.0-beta.13",
|
||||
"dayjs": "^1.10.7",
|
||||
"nanoid": "^3.2.0",
|
||||
"peerjs": "^1.3.2",
|
||||
"svelte": "^3.46.2"
|
||||
"@smui-extra/accordion": "^7.0.0-beta.14",
|
||||
"@smui-extra/badge": "^7.0.0-beta.14",
|
||||
"@smui/banner": "^7.0.0-beta.14",
|
||||
"@smui/button": "^7.0.0-beta.14",
|
||||
"@smui/card": "^7.0.0-beta.14",
|
||||
"@smui/checkbox": "^7.0.0-beta.14",
|
||||
"@smui/circular-progress": "^7.0.0-beta.14",
|
||||
"@smui/common": "^7.0.0-beta.14",
|
||||
"@smui/data-table": "^7.0.0-beta.14",
|
||||
"@smui/dialog": "^7.0.0-beta.14",
|
||||
"@smui/drawer": "^7.0.0-beta.14",
|
||||
"@smui/fab": "^7.0.0-beta.14",
|
||||
"@smui/floating-label": "^7.0.0-beta.14",
|
||||
"@smui/icon-button": "^7.0.0-beta.14",
|
||||
"@smui/layout-grid": "^7.0.0-beta.14",
|
||||
"@smui/line-ripple": "^7.0.0-beta.14",
|
||||
"@smui/linear-progress": "^7.0.0-beta.14",
|
||||
"@smui/list": "^7.0.0-beta.14",
|
||||
"@smui/menu": "^7.0.0-beta.14",
|
||||
"@smui/menu-surface": "^7.0.0-beta.14",
|
||||
"@smui/notched-outline": "^7.0.0-beta.14",
|
||||
"@smui/paper": "^7.0.0-beta.14",
|
||||
"@smui/radio": "^7.0.0-beta.14",
|
||||
"@smui/ripple": "^7.0.0-beta.14",
|
||||
"@smui/select": "^7.0.0-beta.14",
|
||||
"@smui/snackbar": "^7.0.0-beta.14",
|
||||
"@smui/tab": "^7.0.0-beta.14",
|
||||
"@smui/tab-indicator": "^7.0.0-beta.14",
|
||||
"@smui/tab-scroller": "^7.0.0-beta.14",
|
||||
"@smui/textfield": "^7.0.0-beta.14",
|
||||
"@smui/top-app-bar": "^7.0.0-beta.14",
|
||||
"dayjs": "^1.11.9",
|
||||
"nanoid": "^3.3.6",
|
||||
"peerjs": "^1.4.7",
|
||||
"svelte": "^4.0.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@roxi/routify": "^2.18.4",
|
||||
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.34",
|
||||
"@tsconfig/svelte": "^3.0.0",
|
||||
"@roxi/routify": "^2.18.12",
|
||||
"@sveltejs/vite-plugin-svelte": "^2.4.2",
|
||||
"@tsconfig/svelte": "^5.0.0",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"smui-theme": "^6.0.0-beta.13",
|
||||
"svelte-preprocess": "^4.10.2",
|
||||
"vite": "^2.7.12"
|
||||
"smui-theme": "^7.0.0-beta.14",
|
||||
"svelte-preprocess": "^5.0.4",
|
||||
"vite": "^4.4.3"
|
||||
}
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -4,12 +4,12 @@ module.exports = {
|
||||
"routifyDir": "src/.routify",
|
||||
"ignore": "",
|
||||
"dynamicImports": true,
|
||||
"singleBuild": false,
|
||||
"singleBuild": true,
|
||||
"noHashScroll": false,
|
||||
"distDir": "dist",
|
||||
"hashScroll": true,
|
||||
"extensions": [
|
||||
"svelte"
|
||||
],
|
||||
"started": "2022-02-17T23:53:42.346Z"
|
||||
"started": "2023-07-13T13:49:48.147Z"
|
||||
}
|
@ -1,11 +1,11 @@
|
||||
|
||||
/**
|
||||
* @roxi/routify 2.18.4
|
||||
* File generated Thu Feb 17 2022 23:53:42 GMT+0000 (Coordinated Universal Time)
|
||||
* @roxi/routify 2.18.12
|
||||
* File generated Thu Jul 13 2023 15:49:48 GMT+0200 (Mitteleuropäische Sommerzeit)
|
||||
*/
|
||||
|
||||
export const __version = "2.18.4"
|
||||
export const __timestamp = "2022-02-17T23:53:42.361Z"
|
||||
export const __version = "2.18.12"
|
||||
export const __timestamp = "2023-07-13T13:49:48.159Z"
|
||||
|
||||
//buildRoutes
|
||||
import { buildClientTree } from "@roxi/routify/runtime/buildRoutes"
|
||||
@ -18,120 +18,37 @@ export const options = {}
|
||||
|
||||
//tree
|
||||
export const _tree = {
|
||||
"name": "root",
|
||||
"filepath": "/",
|
||||
"root": true,
|
||||
"ownMeta": {},
|
||||
"absolutePath": "src/pages",
|
||||
"children": [
|
||||
{
|
||||
"isFile": true,
|
||||
"isDir": false,
|
||||
"file": "index.svelte",
|
||||
"filepath": "/index.svelte",
|
||||
"name": "index",
|
||||
"ext": "svelte",
|
||||
"badExt": false,
|
||||
"absolutePath": "/root/Projects/ScreenSharingThing/Client/src/pages/index.svelte",
|
||||
"importPath": "../pages/index.svelte",
|
||||
"isLayout": false,
|
||||
"isReset": false,
|
||||
"isIndex": true,
|
||||
"isFallback": false,
|
||||
"isPage": true,
|
||||
"ownMeta": {},
|
||||
"meta": {
|
||||
"recursive": true,
|
||||
"preload": false,
|
||||
"prerender": true
|
||||
},
|
||||
"path": "/index",
|
||||
"id": "_index",
|
||||
"component": () => import('../pages/index.svelte').then(m => m.default)
|
||||
},
|
||||
{
|
||||
"isFile": false,
|
||||
"isDir": true,
|
||||
"file": "session",
|
||||
"filepath": "/session",
|
||||
"name": "session",
|
||||
"ext": "",
|
||||
"badExt": false,
|
||||
"absolutePath": "/root/Projects/ScreenSharingThing/Client/src/pages/session",
|
||||
"children": [
|
||||
{
|
||||
"isFile": false,
|
||||
"isDir": true,
|
||||
"file": "[sessionid]",
|
||||
"filepath": "/session/[sessionid]",
|
||||
"name": "[sessionid]",
|
||||
"ext": "",
|
||||
"badExt": false,
|
||||
"absolutePath": "/root/Projects/ScreenSharingThing/Client/src/pages/session/[sessionid]",
|
||||
"children": [
|
||||
{
|
||||
"isFile": true,
|
||||
"isDir": false,
|
||||
"file": "index.svelte",
|
||||
"filepath": "/session/[sessionid]/index.svelte",
|
||||
"name": "index",
|
||||
"ext": "svelte",
|
||||
"badExt": false,
|
||||
"absolutePath": "/root/Projects/ScreenSharingThing/Client/src/pages/session/[sessionid]/index.svelte",
|
||||
"importPath": "../pages/session/[sessionid]/index.svelte",
|
||||
"isLayout": false,
|
||||
"isReset": false,
|
||||
"isIndex": true,
|
||||
"isFallback": false,
|
||||
"isPage": true,
|
||||
"ownMeta": {},
|
||||
"meta": {
|
||||
"recursive": true,
|
||||
"preload": false,
|
||||
"prerender": true
|
||||
},
|
||||
"path": "/session/:sessionid/index",
|
||||
"id": "_session__sessionid_index",
|
||||
"component": () => import('../pages/session/[sessionid]/index.svelte').then(m => m.default)
|
||||
}
|
||||
],
|
||||
"isLayout": false,
|
||||
"isReset": false,
|
||||
"isIndex": false,
|
||||
"isFallback": false,
|
||||
"isPage": false,
|
||||
"ownMeta": {},
|
||||
"meta": {
|
||||
"recursive": true,
|
||||
"preload": false,
|
||||
"prerender": true
|
||||
},
|
||||
"path": "/session/:sessionid"
|
||||
}
|
||||
],
|
||||
"isLayout": false,
|
||||
"isReset": false,
|
||||
"isIndex": false,
|
||||
"isFallback": false,
|
||||
"isPage": false,
|
||||
"ownMeta": {},
|
||||
"meta": {
|
||||
"recursive": true,
|
||||
"preload": false,
|
||||
"prerender": true
|
||||
},
|
||||
"path": "/session"
|
||||
}
|
||||
],
|
||||
"isLayout": false,
|
||||
"isReset": false,
|
||||
"isIndex": false,
|
||||
"isFallback": false,
|
||||
"meta": {
|
||||
"recursive": true,
|
||||
"preload": false,
|
||||
"prerender": true
|
||||
},
|
||||
"path": "/"
|
||||
}
|
||||
|
||||
|
@ -4,7 +4,7 @@ import {
|
||||
UpdateTypes,
|
||||
} from "@rtdb2/sdk";
|
||||
import { nanoid } from "nanoid";
|
||||
import { Peer } from "peerjs/lib/peer";
|
||||
import { Peer } from "peerjs";
|
||||
import {
|
||||
collectionToStore,
|
||||
Sessions,
|
||||
|
@ -3,7 +3,8 @@
|
||||
"compilerOptions": {
|
||||
"target": "esnext",
|
||||
"module": "esnext",
|
||||
"resolveJsonModule": true,
|
||||
"moduleResolution": "Node",
|
||||
// "resolveJsonModule": true,
|
||||
"baseUrl": ".",
|
||||
"outDir": "tout",
|
||||
/**
|
||||
@ -13,12 +14,7 @@
|
||||
* of JS in `.svelte` files.
|
||||
*/
|
||||
"allowJs": true,
|
||||
"checkJs": true,
|
||||
"checkJs": true
|
||||
},
|
||||
"include": [
|
||||
"src/**/*.d.ts",
|
||||
"src/**/*.ts",
|
||||
"src/**/*.js",
|
||||
"src/**/*.svelte",
|
||||
]
|
||||
"include": ["src/**/*.d.ts", "src/**/*.ts", "src/**/*.js", "src/**/*.svelte"]
|
||||
}
|
||||
|
@ -1,9 +1,9 @@
|
||||
const { defineConfig } = require("vite");
|
||||
const { svelte } = require("@sveltejs/vite-plugin-svelte");
|
||||
const zlib = require("zlib");
|
||||
import { defineConfig } from "vite";
|
||||
import { svelte } from "@sveltejs/vite-plugin-svelte";
|
||||
import * as zlib from "zlib";
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
module.exports = defineConfig({
|
||||
export default defineConfig({
|
||||
optimizeDeps: {
|
||||
exclude: ["@roxi/routify"],
|
||||
},
|
||||
@ -26,7 +26,7 @@ module.exports = defineConfig({
|
||||
{
|
||||
name: "pregzip-files",
|
||||
generateBundle: async function (options, bundle) {
|
||||
let prms = [];
|
||||
let prms: Promise<any>[] = [];
|
||||
for (const fileName in bundle) {
|
||||
const file = bundle[fileName];
|
||||
// if (fileName.startsWith("assets/")) {
|
||||
@ -39,7 +39,7 @@ module.exports = defineConfig({
|
||||
// console.log("Compressing asset:", typeof file.source == "undefined" ? file : undefined)
|
||||
|
||||
prms.push(
|
||||
new Promise((yes, no) =>
|
||||
new Promise<any>((yes, no) =>
|
||||
zlib.gzip(
|
||||
src,
|
||||
{
|
||||
@ -64,7 +64,7 @@ module.exports = defineConfig({
|
||||
type: "asset",
|
||||
name: file.name + ".br",
|
||||
fileName: file.fileName + ".br",
|
||||
source: br,
|
||||
source: br as Uint8Array,
|
||||
});
|
||||
})
|
||||
);
|
Reference in New Issue
Block a user