bdy 1.18.26-stage → 1.18.28-dev
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/distTs/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bdy",
|
|
3
3
|
"preferGlobal": false,
|
|
4
|
-
"version": "1.18.
|
|
4
|
+
"version": "1.18.28-dev",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"scripts": {
|
|
@@ -32,47 +32,47 @@
|
|
|
32
32
|
"@buddy-works/ci-info": "1.1.2",
|
|
33
33
|
"@fastify/accept-negotiator": "1.1.0",
|
|
34
34
|
"@fastify/cors": "9.0.1",
|
|
35
|
-
"@inquirer/prompts": "8.2
|
|
36
|
-
"@puppeteer/browsers": "2.
|
|
37
|
-
"@scalar/json-magic": "0.
|
|
38
|
-
"@scalar/openapi-parser": "0.
|
|
39
|
-
"@scalar/openapi-types": "0.
|
|
40
|
-
"@scalar/types": "0.
|
|
41
|
-
"@xhmikosr/decompress": "
|
|
35
|
+
"@inquirer/prompts": "8.3.2",
|
|
36
|
+
"@puppeteer/browsers": "2.13.0",
|
|
37
|
+
"@scalar/json-magic": "0.12.4",
|
|
38
|
+
"@scalar/openapi-parser": "0.25.6",
|
|
39
|
+
"@scalar/openapi-types": "0.6.1",
|
|
40
|
+
"@scalar/types": "0.7.4",
|
|
41
|
+
"@xhmikosr/decompress": "11.1.1",
|
|
42
42
|
"basic-auth": "2.0.1",
|
|
43
43
|
"chalk": "4.1.2",
|
|
44
44
|
"commander": "12.1.0",
|
|
45
45
|
"content-disposition": "0.5.4",
|
|
46
|
-
"cookie": "1.
|
|
46
|
+
"cookie": "1.1.1",
|
|
47
47
|
"cross-spawn": "7.0.6",
|
|
48
|
-
"eventsource": "4.
|
|
48
|
+
"eventsource": "4.1.0",
|
|
49
49
|
"fastify": "4.29.1",
|
|
50
50
|
"fdir": "6.5.0",
|
|
51
51
|
"fflate": "0.8.2",
|
|
52
|
-
"human-id": "
|
|
53
|
-
"isbinaryfile": "5.0.
|
|
52
|
+
"human-id": "4.1.3",
|
|
53
|
+
"isbinaryfile": "5.0.7",
|
|
54
54
|
"jsonwebtoken": "9.0.3",
|
|
55
|
-
"mime-db": "1.
|
|
55
|
+
"mime-db": "1.54.0",
|
|
56
56
|
"mime-types": "2.1.35",
|
|
57
57
|
"netmask": "2.0.2",
|
|
58
58
|
"node-forge": "1.3.3",
|
|
59
59
|
"open": "11.0.0",
|
|
60
60
|
"path-is-inside": "1.0.2",
|
|
61
|
-
"picomatch": "4.0.
|
|
62
|
-
"pino": "8.
|
|
61
|
+
"picomatch": "4.0.4",
|
|
62
|
+
"pino": "8.21.0",
|
|
63
63
|
"punycode": "2.3.1",
|
|
64
|
-
"puppeteer-core": "23.
|
|
64
|
+
"puppeteer-core": "23.11.1",
|
|
65
65
|
"range-parser": "1.2.1",
|
|
66
|
-
"socket.io-client": "4.
|
|
67
|
-
"ssh2": "1.
|
|
68
|
-
"tar-stream": "3.1.
|
|
69
|
-
"terminal-kit": "3.1.
|
|
70
|
-
"undici": "6.
|
|
66
|
+
"socket.io-client": "4.8.3",
|
|
67
|
+
"ssh2": "1.17.0",
|
|
68
|
+
"tar-stream": "3.1.8",
|
|
69
|
+
"terminal-kit": "3.1.2",
|
|
70
|
+
"undici": "6.24.1",
|
|
71
71
|
"unzipper": "0.12.3",
|
|
72
72
|
"uuid": "10.0.0",
|
|
73
73
|
"which": "4.0.0",
|
|
74
|
-
"ws": "8.
|
|
75
|
-
"zod": "3.
|
|
74
|
+
"ws": "8.20.0",
|
|
75
|
+
"zod": "3.25.76"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
78
|
"@eslint/js": "9.39.2",
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
"eslint-config-prettier": "9.1.2",
|
|
105
105
|
"globals": "15.11.0",
|
|
106
106
|
"prettier": "3.3.3",
|
|
107
|
-
"rollup": "4.
|
|
107
|
+
"rollup": "4.60.0",
|
|
108
108
|
"rollup-plugin-natives": "0.7.8",
|
|
109
109
|
"typescript": "5.9.3",
|
|
110
110
|
"typescript-eslint": "8.54.0",
|
|
@@ -138,11 +138,13 @@ commandSandboxCreate.action(async (options) => {
|
|
|
138
138
|
output_1.default.exitError(texts_1.ERR_SANDBOX_APPS_TIMEOUT);
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
|
-
output_1.default.
|
|
141
|
+
output_1.default.dim('Identifier: ', false);
|
|
142
|
+
output_1.default.cyan(result.identifier);
|
|
142
143
|
output_1.default.dim('SSH: ', false);
|
|
143
144
|
output_1.default.cyan(`ssh ${result.ssh_host} -p ${result.ssh_port}`);
|
|
144
145
|
output_1.default.dim('Web terminal: ', false);
|
|
145
146
|
output_1.default.cyan(result.html_url);
|
|
147
|
+
output_1.default.green(texts_1.TXT_SANDBOX_CREATED);
|
|
146
148
|
output_1.default.exitNormal();
|
|
147
149
|
});
|
|
148
150
|
exports.default = commandSandboxCreate;
|
|
@@ -11,6 +11,9 @@ const commandSandboxEndpointAdd = (0, utils_1.getBasicCommandSandboxEndpoint)('a
|
|
|
11
11
|
commandSandboxEndpointAdd.alias('create');
|
|
12
12
|
commandSandboxEndpointAdd.addHelpText('after', `\nEXAMPLES:${texts_1.EXAMPLE_SANDBOX_ENDPOINT_CREATE}`);
|
|
13
13
|
commandSandboxEndpointAdd.action(async (identifier, options) => {
|
|
14
|
+
const humanId = require('human-id').default;
|
|
15
|
+
if (!options.name)
|
|
16
|
+
options.name = humanId({ separator: '-', capitalize: false });
|
|
14
17
|
const workspace = input_1.default.restApiWorkspace(options.workspace);
|
|
15
18
|
const project = input_1.default.restApiProject(options.project);
|
|
16
19
|
const client = input_1.default.restApiTokenClient();
|
package/distTs/src/texts.js
CHANGED
|
@@ -588,8 +588,7 @@ const TXT_SANDBOX_CREATING = (name, identifier) => {
|
|
|
588
588
|
return `Creating sandbox: ${name} (${identifier})`;
|
|
589
589
|
};
|
|
590
590
|
exports.TXT_SANDBOX_CREATING = TXT_SANDBOX_CREATING;
|
|
591
|
-
|
|
592
|
-
exports.TXT_SANDBOX_CREATED = TXT_SANDBOX_CREATED;
|
|
591
|
+
exports.TXT_SANDBOX_CREATED = 'Sandbox created';
|
|
593
592
|
const TXT_SANDBOX_UPDATED = (identifier, htmlUrl) => htmlUrl
|
|
594
593
|
? `Sandbox updated: ${identifier}\n${htmlUrl}`
|
|
595
594
|
: `Sandbox updated: ${identifier}`;
|
package/distTs/src/utils.js
CHANGED
|
@@ -521,7 +521,7 @@ const getBasicCommandSandboxEndpoint = (name, desc) => {
|
|
|
521
521
|
command.option('-w, --workspace <domain>', texts_1.OPTION_REST_API_WORKSPACE);
|
|
522
522
|
command.option('-p, --project <name>', texts_1.OPTION_REST_API_PROJECT);
|
|
523
523
|
command.argument('<identifier>', texts_1.OPTION_SANDBOX_IDENTIFIER);
|
|
524
|
-
command.
|
|
524
|
+
command.option('-n, --name <name>', texts_1.OPTION_SANDBOX_ENDPOINT_NAME);
|
|
525
525
|
command.option('-e, --endpoint <endpoint>', texts_1.OPTION_SANDBOX_ENDPOINT_PORT);
|
|
526
526
|
command.option('-t, --type <type>', texts_1.OPTION_SANDBOX_ENDPOINT_TYPE, 'HTTP');
|
|
527
527
|
command.option('-r, --ep-region <region>', texts_1.OPTION_REGION); // region
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bdy",
|
|
3
3
|
"preferGlobal": false,
|
|
4
|
-
"version": "1.18.
|
|
4
|
+
"version": "1.18.28-dev",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"scripts": {
|
|
@@ -32,47 +32,47 @@
|
|
|
32
32
|
"@buddy-works/ci-info": "1.1.2",
|
|
33
33
|
"@fastify/accept-negotiator": "1.1.0",
|
|
34
34
|
"@fastify/cors": "9.0.1",
|
|
35
|
-
"@inquirer/prompts": "8.2
|
|
36
|
-
"@puppeteer/browsers": "2.
|
|
37
|
-
"@scalar/json-magic": "0.
|
|
38
|
-
"@scalar/openapi-parser": "0.
|
|
39
|
-
"@scalar/openapi-types": "0.
|
|
40
|
-
"@scalar/types": "0.
|
|
41
|
-
"@xhmikosr/decompress": "
|
|
35
|
+
"@inquirer/prompts": "8.3.2",
|
|
36
|
+
"@puppeteer/browsers": "2.13.0",
|
|
37
|
+
"@scalar/json-magic": "0.12.4",
|
|
38
|
+
"@scalar/openapi-parser": "0.25.6",
|
|
39
|
+
"@scalar/openapi-types": "0.6.1",
|
|
40
|
+
"@scalar/types": "0.7.4",
|
|
41
|
+
"@xhmikosr/decompress": "11.1.1",
|
|
42
42
|
"basic-auth": "2.0.1",
|
|
43
43
|
"chalk": "4.1.2",
|
|
44
44
|
"commander": "12.1.0",
|
|
45
45
|
"content-disposition": "0.5.4",
|
|
46
|
-
"cookie": "1.
|
|
46
|
+
"cookie": "1.1.1",
|
|
47
47
|
"cross-spawn": "7.0.6",
|
|
48
|
-
"eventsource": "4.
|
|
48
|
+
"eventsource": "4.1.0",
|
|
49
49
|
"fastify": "4.29.1",
|
|
50
50
|
"fdir": "6.5.0",
|
|
51
51
|
"fflate": "0.8.2",
|
|
52
|
-
"human-id": "
|
|
53
|
-
"isbinaryfile": "5.0.
|
|
52
|
+
"human-id": "4.1.3",
|
|
53
|
+
"isbinaryfile": "5.0.7",
|
|
54
54
|
"jsonwebtoken": "9.0.3",
|
|
55
|
-
"mime-db": "1.
|
|
55
|
+
"mime-db": "1.54.0",
|
|
56
56
|
"mime-types": "2.1.35",
|
|
57
57
|
"netmask": "2.0.2",
|
|
58
58
|
"node-forge": "1.3.3",
|
|
59
59
|
"open": "11.0.0",
|
|
60
60
|
"path-is-inside": "1.0.2",
|
|
61
|
-
"picomatch": "4.0.
|
|
62
|
-
"pino": "8.
|
|
61
|
+
"picomatch": "4.0.4",
|
|
62
|
+
"pino": "8.21.0",
|
|
63
63
|
"punycode": "2.3.1",
|
|
64
|
-
"puppeteer-core": "23.
|
|
64
|
+
"puppeteer-core": "23.11.1",
|
|
65
65
|
"range-parser": "1.2.1",
|
|
66
|
-
"socket.io-client": "4.
|
|
67
|
-
"ssh2": "1.
|
|
68
|
-
"tar-stream": "3.1.
|
|
69
|
-
"terminal-kit": "3.1.
|
|
70
|
-
"undici": "6.
|
|
66
|
+
"socket.io-client": "4.8.3",
|
|
67
|
+
"ssh2": "1.17.0",
|
|
68
|
+
"tar-stream": "3.1.8",
|
|
69
|
+
"terminal-kit": "3.1.2",
|
|
70
|
+
"undici": "6.24.1",
|
|
71
71
|
"unzipper": "0.12.3",
|
|
72
72
|
"uuid": "10.0.0",
|
|
73
73
|
"which": "4.0.0",
|
|
74
|
-
"ws": "8.
|
|
75
|
-
"zod": "3.
|
|
74
|
+
"ws": "8.20.0",
|
|
75
|
+
"zod": "3.25.76"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
78
|
"@eslint/js": "9.39.2",
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
"eslint-config-prettier": "9.1.2",
|
|
105
105
|
"globals": "15.11.0",
|
|
106
106
|
"prettier": "3.3.3",
|
|
107
|
-
"rollup": "4.
|
|
107
|
+
"rollup": "4.60.0",
|
|
108
108
|
"rollup-plugin-natives": "0.7.8",
|
|
109
109
|
"typescript": "5.9.3",
|
|
110
110
|
"typescript-eslint": "8.54.0",
|