arcadible 0.1.51 → 1.0.1
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/package.json +2 -16
- package/src/serve/page.js +1 -1
- package/src/cli/index.js +0 -35
package/package.json
CHANGED
|
@@ -44,20 +44,7 @@
|
|
|
44
44
|
"node": ">=24"
|
|
45
45
|
},
|
|
46
46
|
"exports": {
|
|
47
|
-
".": "./
|
|
48
|
-
"./build": "./src/cli/build.js",
|
|
49
|
-
"./deploy": "./src/cli/deploy.js",
|
|
50
|
-
"./init": "./src/cli/init.js",
|
|
51
|
-
"./inspect": "./src/cli/inspect.js",
|
|
52
|
-
"./login": "./src/cli/login.js",
|
|
53
|
-
"./logout": "./src/cli/logout.js",
|
|
54
|
-
"./open": "./src/cli/open.js",
|
|
55
|
-
"./pack": "./src/cli/pack.js",
|
|
56
|
-
"./play": "./src/cli/play.js",
|
|
57
|
-
"./predeploy": "./src/cli/predeploy.js",
|
|
58
|
-
"./serve": "./src/cli/serve.js",
|
|
59
|
-
"./validate": "./src/cli/validate.js",
|
|
60
|
-
"./whoami": "./src/cli/whoami.js"
|
|
47
|
+
"./package.json": "./package.json"
|
|
61
48
|
},
|
|
62
49
|
"files": [
|
|
63
50
|
"bin",
|
|
@@ -74,10 +61,9 @@
|
|
|
74
61
|
"publish"
|
|
75
62
|
],
|
|
76
63
|
"license": "Apache-2.0",
|
|
77
|
-
"main": "./src/cli/index.js",
|
|
78
64
|
"name": "arcadible",
|
|
79
65
|
"scripts": {
|
|
80
66
|
"test": "node --test \"test/**/*.test.js\""
|
|
81
67
|
},
|
|
82
|
-
"version": "0.1
|
|
68
|
+
"version": "1.0.1"
|
|
83
69
|
}
|
package/src/serve/page.js
CHANGED
|
@@ -57,7 +57,7 @@ const html = function (game) {
|
|
|
57
57
|
<html lang="en">
|
|
58
58
|
<head>
|
|
59
59
|
<meta charset="utf-8">
|
|
60
|
-
<meta name="viewport" content="width=device-width,
|
|
60
|
+
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no,viewport-fit=cover">
|
|
61
61
|
<title>${escapeHtml(game.title)}</title>
|
|
62
62
|
<style>html,body{margin:0;height:100%;overflow:hidden;background:#000}iframe{display:block;width:100%;height:100%;border:0;visibility:hidden}</style>
|
|
63
63
|
</head>
|
package/src/cli/index.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
// [import]
|
|
4
|
-
|
|
5
|
-
const build = require("./build");
|
|
6
|
-
const deploy = require("./deploy");
|
|
7
|
-
const init = require("./init");
|
|
8
|
-
const inspect = require("./inspect");
|
|
9
|
-
const login = require("./login");
|
|
10
|
-
const logout = require("./logout");
|
|
11
|
-
const open = require("./open");
|
|
12
|
-
const pack = require("./pack");
|
|
13
|
-
const play = require("./play");
|
|
14
|
-
const predeploy = require("./predeploy");
|
|
15
|
-
const serve = require("./serve");
|
|
16
|
-
const validate = require("./validate");
|
|
17
|
-
const whoami = require("./whoami");
|
|
18
|
-
|
|
19
|
-
// [export]
|
|
20
|
-
|
|
21
|
-
module.exports = {
|
|
22
|
-
build,
|
|
23
|
-
deploy,
|
|
24
|
-
init,
|
|
25
|
-
inspect,
|
|
26
|
-
login,
|
|
27
|
-
logout,
|
|
28
|
-
open,
|
|
29
|
-
pack,
|
|
30
|
-
play,
|
|
31
|
-
predeploy,
|
|
32
|
-
serve,
|
|
33
|
-
validate,
|
|
34
|
-
whoami,
|
|
35
|
-
};
|