@gaabrielmooraes/sheet-relay 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.
- package/LICENSE +21 -0
- package/NOTICE +18 -0
- package/apps/dnd5e/_expo/static/js/web/index-4abe37a46a739db17a1b5d432ec266e6.js +429 -0
- package/apps/dnd5e/apple-touch-icon.png +0 -0
- package/apps/dnd5e/favicon.ico +0 -0
- package/apps/dnd5e/icon-192.png +0 -0
- package/apps/dnd5e/icon-512.png +0 -0
- package/apps/dnd5e/icon-maskable-512.png +0 -0
- package/apps/dnd5e/index.html +35 -0
- package/apps/dnd5e/manifest.json +15 -0
- package/apps/dnd5e/metadata.json +1 -0
- package/apps/dnd5e/sw.js +4 -0
- package/apps/fallout/_expo/static/js/web/index-281034279d7bc616f8e2d981d5fa2a0b.js +431 -0
- package/apps/fallout/apple-touch-icon.png +0 -0
- package/apps/fallout/favicon.ico +0 -0
- package/apps/fallout/icon-192.png +0 -0
- package/apps/fallout/icon-512.png +0 -0
- package/apps/fallout/icon-maskable-512.png +0 -0
- package/apps/fallout/index.html +35 -0
- package/apps/fallout/manifest.json +15 -0
- package/apps/fallout/metadata.json +1 -0
- package/apps/fallout/sw.js +4 -0
- package/apps/legends/_expo/static/js/web/index-429d3095530ce378a9ca9b24d24ebda8.js +429 -0
- package/apps/legends/apple-touch-icon.png +0 -0
- package/apps/legends/favicon.ico +0 -0
- package/apps/legends/icon-192.png +0 -0
- package/apps/legends/icon-512.png +0 -0
- package/apps/legends/icon-maskable-512.png +0 -0
- package/apps/legends/index.html +35 -0
- package/apps/legends/manifest.json +15 -0
- package/apps/legends/metadata.json +1 -0
- package/apps/legends/sw.js +4 -0
- package/bin/sheet-relay.mjs +37 -0
- package/headless.mjs +70 -0
- package/package.json +50 -4
- package/server.js +136 -0
- package/static.js +29 -0
- package/README.md +0 -3
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<meta httpEquiv="X-UA-Compatible" content="IE=edge" />
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
|
7
|
+
<title>Ficha D&D</title>
|
|
8
|
+
<!-- The `react-native-web` recommended style reset: https://necolas.github.io/react-native-web/docs/setup/#root-element -->
|
|
9
|
+
<style id="expo-reset">
|
|
10
|
+
/* These styles make the body full-height */
|
|
11
|
+
html,
|
|
12
|
+
body {
|
|
13
|
+
height: 100%;
|
|
14
|
+
}
|
|
15
|
+
/* These styles disable body scrolling if you are using <ScrollView> */
|
|
16
|
+
body {
|
|
17
|
+
overflow: hidden;
|
|
18
|
+
}
|
|
19
|
+
/* These styles make the root element full-height */
|
|
20
|
+
#root {
|
|
21
|
+
display: flex;
|
|
22
|
+
height: 100%;
|
|
23
|
+
flex: 1;
|
|
24
|
+
}
|
|
25
|
+
</style>
|
|
26
|
+
<link rel="icon" href="/ficha/favicon.ico"/></head>
|
|
27
|
+
|
|
28
|
+
<body>
|
|
29
|
+
<!-- Use static rendering with Expo Router to support running without JavaScript. -->
|
|
30
|
+
<noscript> You need to enable JavaScript to run this app. </noscript>
|
|
31
|
+
<!-- The root element for your Expo app. -->
|
|
32
|
+
<div id="root"></div>
|
|
33
|
+
<script src="/ficha/_expo/static/js/web/index-4abe37a46a739db17a1b5d432ec266e6.js" defer></script>
|
|
34
|
+
</body>
|
|
35
|
+
</html>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "Ficha Foundry — D&D 5.5e",
|
|
3
|
+
"short_name": "Ficha D&D",
|
|
4
|
+
"description": "Fichas de D&D (regras 2024) do Foundry VTT no celular.",
|
|
5
|
+
"start_url": "/ficha/",
|
|
6
|
+
"scope": "/ficha/",
|
|
7
|
+
"display": "standalone",
|
|
8
|
+
"background_color": "#170807",
|
|
9
|
+
"theme_color": "#170807",
|
|
10
|
+
"icons": [
|
|
11
|
+
{ "src": "/ficha/icon-192.png", "sizes": "192x192", "type": "image/png" },
|
|
12
|
+
{ "src": "/ficha/icon-512.png", "sizes": "512x512", "type": "image/png" },
|
|
13
|
+
{ "src": "/ficha/icon-maskable-512.png", "sizes": "512x512", "type": "image/png", "purpose": "maskable" }
|
|
14
|
+
]
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":0,"bundler":"metro","fileMetadata":{}}
|
package/apps/dnd5e/sw.js
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
// Service worker mínimo: só para o navegador oferecer "Instalar app". Sem cache: a ficha precisa estar online (dados ao vivo do Foundry).
|
|
2
|
+
self.addEventListener("install", () => self.skipWaiting());
|
|
3
|
+
self.addEventListener("activate", (e) => e.waitUntil(self.clients.claim()));
|
|
4
|
+
self.addEventListener("fetch", () => {});
|