@jaminsmoke/events-ui-webapp 0.5.6 → 0.5.7
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/eui.mjs +22 -35
- package/dist/index.html +11 -11
- package/native/win32-x64/eui.exe +0 -0
- package/native/win32-x64/events-core.exe +0 -0
- package/package.json +46 -43
package/bin/eui.mjs
CHANGED
|
@@ -1,35 +1,22 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
// Envoltorio de `eui`:
|
|
3
|
-
//
|
|
4
|
-
import { spawnSync } from "node:child_process";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
try {
|
|
24
|
-
carpeta = dirname(requerir.resolve(`${paquete}/package.json`));
|
|
25
|
-
} catch {
|
|
26
|
-
console.error(`eui: falta el paquete ${paquete}. Reinstala @jaminsmoke/events-ui-webapp.`);
|
|
27
|
-
process.exit(1);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
const binario = join(carpeta, process.platform === "win32" ? "eui.exe" : "eui");
|
|
31
|
-
const resultado = spawnSync(binario, process.argv.slice(2), {
|
|
32
|
-
stdio: "inherit",
|
|
33
|
-
env: { ...process.env, EUI_WEB_DIST: join(aquí, "..", "dist") },
|
|
34
|
-
});
|
|
35
|
-
process.exit(resultado.status ?? 1);
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// Envoltorio de `eui`: el paquete lleva dentro los binarios de cada plataforma
|
|
3
|
+
// (`native/<os>-<arch>/`) y aquí se elige el de esta máquina.
|
|
4
|
+
import { spawnSync } from "node:child_process";
|
|
5
|
+
import { dirname, join } from "node:path";
|
|
6
|
+
import { fileURLToPath } from "node:url";
|
|
7
|
+
|
|
8
|
+
const aquí = dirname(fileURLToPath(import.meta.url));
|
|
9
|
+
const clave = `${process.platform}-${process.arch}`;
|
|
10
|
+
const carpeta = join(aquí, "..", "native", clave);
|
|
11
|
+
const binario = join(carpeta, process.platform === "win32" ? "eui.exe" : "eui");
|
|
12
|
+
|
|
13
|
+
const resultado = spawnSync(binario, process.argv.slice(2), {
|
|
14
|
+
stdio: "inherit",
|
|
15
|
+
env: { ...process.env, EUI_WEB_DIST: join(aquí, "..", "dist") },
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
if (resultado.error) {
|
|
19
|
+
console.error(`eui: este paquete no trae binario para ${clave} (${carpeta}).`);
|
|
20
|
+
process.exit(1);
|
|
21
|
+
}
|
|
22
|
+
process.exit(resultado.status ?? 1);
|
package/dist/index.html
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html lang="es">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8" />
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
-
<title>Events UI</title>
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="es">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
+
<title>Events UI</title>
|
|
7
7
|
<script type="module" crossorigin src="/assets/index-DhBoBd2i.js"></script>
|
|
8
8
|
<link rel="stylesheet" crossorigin href="/assets/index-DT2IEqjM.css">
|
|
9
|
-
</head>
|
|
10
|
-
<body>
|
|
11
|
-
<div id="root"></div>
|
|
12
|
-
</body>
|
|
13
|
-
</html>
|
|
9
|
+
</head>
|
|
10
|
+
<body>
|
|
11
|
+
<div id="root"></div>
|
|
12
|
+
</body>
|
|
13
|
+
</html>
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,43 +1,46 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@jaminsmoke/events-ui-webapp",
|
|
3
|
-
"version": "0.5.
|
|
4
|
-
"type": "module",
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
"@
|
|
34
|
-
"@
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
|
|
43
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@jaminsmoke/events-ui-webapp",
|
|
3
|
+
"version": "0.5.7",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/jaminsmoke/events-ui.git",
|
|
8
|
+
"directory": "apps/web"
|
|
9
|
+
},
|
|
10
|
+
"bin": {
|
|
11
|
+
"eui": "bin/eui.mjs"
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"bin/",
|
|
15
|
+
"dist",
|
|
16
|
+
"native/"
|
|
17
|
+
],
|
|
18
|
+
"publishConfig": {
|
|
19
|
+
"access": "public"
|
|
20
|
+
},
|
|
21
|
+
"scripts": {
|
|
22
|
+
"dev": "vite",
|
|
23
|
+
"build": "tsc --noEmit && vite build",
|
|
24
|
+
"prepack": "npm run build",
|
|
25
|
+
"check": "tsc --noEmit && eslint .",
|
|
26
|
+
"preview": "vite preview"
|
|
27
|
+
},
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"react": "^19",
|
|
30
|
+
"react-dom": "^19"
|
|
31
|
+
},
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"@events-ui/ui": "workspace:*",
|
|
34
|
+
"@eslint/js": "^10.0.1",
|
|
35
|
+
"@types/react": "^19",
|
|
36
|
+
"@types/react-dom": "^19",
|
|
37
|
+
"@vitejs/plugin-react": "^5",
|
|
38
|
+
"eslint": "^10.15.0",
|
|
39
|
+
"eslint-plugin-react-hooks": "^7.1.1",
|
|
40
|
+
"eslint-plugin-react-refresh": "^0.5.8",
|
|
41
|
+
"globals": "^17.14.0",
|
|
42
|
+
"typescript": "^5",
|
|
43
|
+
"typescript-eslint": "^8.73.0",
|
|
44
|
+
"vite": "^7"
|
|
45
|
+
}
|
|
46
|
+
}
|