@dcl/sdk-commands 7.8.1-14131012904.commit-6157fcb → 7.8.2-14264974837.commit-e768832
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.
@@ -20,7 +20,10 @@ export declare const args: {
|
|
20
20
|
'-b': string;
|
21
21
|
'-w': string;
|
22
22
|
'--skip-build': BooleanConstructor;
|
23
|
+
'--no-dao-explorer': BooleanConstructor;
|
23
24
|
'--data-layer': BooleanConstructor;
|
25
|
+
'-e': string;
|
26
|
+
'--customEntryPoint': BooleanConstructor;
|
24
27
|
'--explorer-alpha': BooleanConstructor;
|
25
28
|
'--hub': BooleanConstructor;
|
26
29
|
'--debug': BooleanConstructor;
|
@@ -51,6 +51,7 @@ const exit_signal_1 = require("../../components/exit-signal");
|
|
51
51
|
const workspace_validations_1 = require("../../logic/workspace-validations");
|
52
52
|
const beautiful_logs_1 = require("../../logic/beautiful-logs");
|
53
53
|
const project_validations_1 = require("../../logic/project-validations");
|
54
|
+
const dao_explorer_1 = require("../../logic/dao-explorer");
|
54
55
|
const explorer_alpha_1 = require("./explorer-alpha");
|
55
56
|
exports.args = (0, args_1.declareArgs)({
|
56
57
|
'--dir': String,
|
@@ -68,7 +69,10 @@ exports.args = (0, args_1.declareArgs)({
|
|
68
69
|
'-b': '--no-browser',
|
69
70
|
'-w': '--no-watch',
|
70
71
|
'--skip-build': Boolean,
|
72
|
+
'--no-dao-explorer': Boolean,
|
71
73
|
'--data-layer': Boolean,
|
74
|
+
'-e': '--no-dao-explorer',
|
75
|
+
'--customEntryPoint': Boolean,
|
72
76
|
'--explorer-alpha': Boolean,
|
73
77
|
'--hub': Boolean,
|
74
78
|
// Params related to the explorer-alpha
|
@@ -92,6 +96,7 @@ async function help(options) {
|
|
92
96
|
-c, --ci Run the parcel previewer on a remote unix server
|
93
97
|
--web3 Connects preview to browser wallet to use the associated avatar and account
|
94
98
|
--skip-build Skip build and only serve the files in preview mode
|
99
|
+
--desktop-client Show URL to launch preview in the desktop client (BETA)
|
95
100
|
--debug Enables Debug panel mode inside DCL Explorer (default=true)
|
96
101
|
--dclenv Decentraland Environment. Which environment to use for the content. This determines the catalyst server used, asset-bundles, etc. Possible values: org, zone, today. (default=org)
|
97
102
|
--realm Realm used to serve the content. (default=Localhost)
|
@@ -116,7 +121,8 @@ async function main(options) {
|
|
116
121
|
const workingDirectory = path.resolve(process.cwd(), options.args['--dir'] || '.');
|
117
122
|
const isCi = options.args['--ci'] || process.env.CI || false;
|
118
123
|
const debug = !options.args['--no-debug'] && !isCi;
|
119
|
-
const
|
124
|
+
const experimentalDaoExplorer = !options.args['--no-dao-explorer'] && !isCi;
|
125
|
+
const openBrowser = (!experimentalDaoExplorer || !options.args['--no-browser']) && !isCi && !experimentalDaoExplorer;
|
120
126
|
const build = !options.args['--skip-build'];
|
121
127
|
const watch = !options.args['--no-watch'];
|
122
128
|
const withDataLayer = options.args['--data-layer'];
|
@@ -125,6 +131,9 @@ async function main(options) {
|
|
125
131
|
const isHub = !!options.args['--hub'];
|
126
132
|
let hasSmartWearable = false;
|
127
133
|
const workspace = await (0, workspace_validations_1.getValidWorkspace)(options.components, workingDirectory);
|
134
|
+
if (experimentalDaoExplorer) {
|
135
|
+
await (0, dao_explorer_1.ensureDaoExplorer)(options.components, workspace.rootWorkingDirectory);
|
136
|
+
}
|
128
137
|
/* istanbul ignore if */
|
129
138
|
if (workspace.projects.length > 1)
|
130
139
|
(0, beautiful_logs_1.printWarning)(options.components.logger, 'Support for multiple projects is still experimental.');
|
@@ -136,7 +145,15 @@ async function main(options) {
|
|
136
145
|
// first run `npm run build`, this can be disabled with --skip-build
|
137
146
|
// then start the embedded compiler, this can be disabled with --no-watch
|
138
147
|
if (watch || build) {
|
139
|
-
await (0, build_1.buildScene)({
|
148
|
+
await (0, build_1.buildScene)({
|
149
|
+
...options,
|
150
|
+
args: {
|
151
|
+
'--dir': project.workingDirectory,
|
152
|
+
'--watch': watch,
|
153
|
+
_: [],
|
154
|
+
'--customEntryPoint': !!options.args['--customEntryPoint']
|
155
|
+
}
|
156
|
+
}, project);
|
140
157
|
await (0, project_validations_1.startValidations)(options.components, project.workingDirectory);
|
141
158
|
}
|
142
159
|
// track the event
|
@@ -209,38 +226,45 @@ async function main(options) {
|
|
209
226
|
(networkInterfaces[dev] || []).forEach((details) => {
|
210
227
|
if (details.family === 'IPv4') {
|
211
228
|
const oldBackpack = 'DISABLE_backpack_editor_v2=&ENABLE_backpack_editor_v1';
|
212
|
-
|
229
|
+
const baseUrl = `http://${details.address}:${port}`;
|
230
|
+
let url = `${baseUrl}?position=${baseCoords.x}%2C${baseCoords.y}&${oldBackpack}`;
|
213
231
|
if (debug) {
|
214
|
-
|
232
|
+
url = `${url}&SCENE_DEBUG_PANEL`;
|
215
233
|
}
|
216
234
|
if (enableWeb3 || hasSmartWearable) {
|
217
|
-
|
235
|
+
url = `${url}&ENABLE_WEB3`;
|
218
236
|
}
|
219
|
-
availableURLs.push(
|
237
|
+
availableURLs.push({ base: baseUrl, url });
|
220
238
|
}
|
221
239
|
});
|
222
240
|
});
|
223
241
|
// Push localhost and 127.0.0.1 at top
|
224
242
|
const sortedURLs = availableURLs.sort((a, _b) => {
|
225
|
-
return a.toLowerCase().includes('localhost') || a.includes('127.0.0.1') || a.includes('0.0.0.0')
|
243
|
+
return a.base.toLowerCase().includes('localhost') || a.base.includes('127.0.0.1') || a.base.includes('0.0.0.0')
|
244
|
+
? -1
|
245
|
+
: 1;
|
226
246
|
});
|
227
247
|
if (!explorerAlpha) {
|
228
248
|
for (const addr of sortedURLs) {
|
229
|
-
components.logger.log(` ${addr}`);
|
249
|
+
components.logger.log(` ${addr.url}`);
|
230
250
|
}
|
231
251
|
}
|
232
252
|
if (!explorerAlpha) {
|
233
253
|
components.logger.log('\n Details:\n');
|
234
254
|
}
|
235
255
|
components.logger.log('\nPress CTRL+C to exit\n');
|
256
|
+
if (experimentalDaoExplorer && sortedURLs.length) {
|
257
|
+
(0, dao_explorer_1.runDaoExplorer)(components, sortedURLs[0].base, `${baseCoords.x},${baseCoords.y}`, workingDirectory);
|
258
|
+
}
|
259
|
+
// Open preferably localhost/127.0.0.1
|
236
260
|
if (explorerAlpha) {
|
237
|
-
const realm = new URL(sortedURLs[0]).origin;
|
261
|
+
const realm = new URL(sortedURLs[0].url).origin;
|
238
262
|
await (0, explorer_alpha_1.runExplorerAlpha)(components, { cwd: workingDirectory, realm, baseCoords, isHub, args: options.args });
|
239
263
|
}
|
240
264
|
// Open preferably localhost/127.0.0.1
|
241
265
|
if (!explorerAlpha && openBrowser && sortedURLs.length) {
|
242
266
|
try {
|
243
|
-
await (0, open_1.default)(sortedURLs[0]);
|
267
|
+
await (0, open_1.default)(sortedURLs[0].url);
|
244
268
|
}
|
245
269
|
catch (_) {
|
246
270
|
components.logger.warn('Unable to open browser automatically.');
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/commands/start/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAwB;AACxB,2CAA4B;AAC5B,gDAAuB;AAGvB,oCAAqC;AACrC,2CAA8C;AAC9C,qEAA6D;AAC7D,6DAAmD;AAEnD,4DAA2E;AAC3E,kEAA6D;AAC7D,oFAAwF;AACxF,+DAAwF;AACxF,oEAA0E;AAC1E,0DAAyE;AACzE,8CAAuD;AACvD,8CAA4D;AAC5D,sEAA0E;AAC1E,4CAA4C;AAC5C,oCAA+C;AAC/C,6DAA8D;AAC9D,0CAA6D;AAC7D,8DAAwE;AACxE,6EAAqE;AACrE,+DAAyG;AAEzG,yEAAkE;AAClE,qDAAmD;AAOtC,QAAA,IAAI,GAAG,IAAA,kBAAW,EAAC;IAC9B,OAAO,EAAE,MAAM;IACf,QAAQ,EAAE,OAAO;IACjB,QAAQ,EAAE,MAAM;IAChB,YAAY,EAAE,OAAO;IACrB,cAAc,EAAE,OAAO;IACvB,YAAY,EAAE,OAAO;IACrB,MAAM,EAAE,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AK,EAAE,IAAI,EAAE,OAAO,CAAC,IAAI,EAAE,CAAC,CAAA;aAC5G;YAED,sCAAsC;YACtC,IAAI,CAAC,aAAa,IAAI,WAAW,IAAI,UAAU,CAAC,MAAM,EAAE;gBACtD,IAAI;oBACF,MAAM,IAAA,cAAI,EAAC,UAAU,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAA;iBAC9B;gBAAC,OAAO,CAAC,EAAE;oBACV,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC,uCAAuC,CAAC,CAAA;iBAChE;aACF;QACH,CAAC;KACF,CAAC,CAAA;IAEF,mEAAmE;IACnE,8EAA8E;IAC9E,UAAU;IACV,MAAM,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,aAAa,CAAA;AACjD,CAAC;AArLD,oBAqLC"}
|
@@ -0,0 +1,3 @@
|
|
1
|
+
import { CliComponents } from '../components';
|
2
|
+
export declare function ensureDaoExplorer(components: Pick<CliComponents, 'logger' | 'fs' | 'fetch'>, workingDirectory: string): Promise<void>;
|
3
|
+
export declare function runDaoExplorer(components: Pick<CliComponents, 'logger' | 'fs' | 'fetch'>, realmUrl: string, locationCoords: string, workingDirectory: string): void;
|
@@ -0,0 +1,156 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
15
|
+
}) : function(o, v) {
|
16
|
+
o["default"] = v;
|
17
|
+
});
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
19
|
+
if (mod && mod.__esModule) return mod;
|
20
|
+
var result = {};
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
22
|
+
__setModuleDefault(result, mod);
|
23
|
+
return result;
|
24
|
+
};
|
25
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
26
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.runDaoExplorer = exports.ensureDaoExplorer = void 0;
|
30
|
+
const fs_1 = require("./fs");
|
31
|
+
const path_1 = __importDefault(require("path"));
|
32
|
+
const os_1 = require("os");
|
33
|
+
const error_1 = require("./error");
|
34
|
+
const beautiful_logs_1 = require("./beautiful-logs");
|
35
|
+
const tar = __importStar(require("tar"));
|
36
|
+
const child_process_1 = __importDefault(require("child_process"));
|
37
|
+
var SupportedPlatform;
|
38
|
+
(function (SupportedPlatform) {
|
39
|
+
SupportedPlatform[SupportedPlatform["SP_MACOS_ARM64"] = 0] = "SP_MACOS_ARM64";
|
40
|
+
SupportedPlatform[SupportedPlatform["SP_LINUX_X64"] = 1] = "SP_LINUX_X64";
|
41
|
+
SupportedPlatform[SupportedPlatform["SP_WINDOWS_X64"] = 2] = "SP_WINDOWS_X64";
|
42
|
+
SupportedPlatform[SupportedPlatform["SP_UNSUPPORTED"] = 3] = "SP_UNSUPPORTED";
|
43
|
+
})(SupportedPlatform || (SupportedPlatform = {}));
|
44
|
+
const BEVY_BASE_URL = 'https://github.com/decentraland/bevy-explorer/releases/download/alpha-2025-01-27-14-56-57/bevy-explorer-2025-01-27-14-56-57';
|
45
|
+
const BEVY_URL_PLATFORM_SUFFIX = {
|
46
|
+
[SupportedPlatform.SP_LINUX_X64]: 'linux-x86_64.tar.gz',
|
47
|
+
[SupportedPlatform.SP_MACOS_ARM64]: 'macos-m1m2.zip',
|
48
|
+
[SupportedPlatform.SP_WINDOWS_X64]: 'windows-x86_64.zip',
|
49
|
+
[SupportedPlatform.SP_UNSUPPORTED]: 'empty'
|
50
|
+
};
|
51
|
+
function getPlatform() {
|
52
|
+
const os = (0, os_1.platform)();
|
53
|
+
const arch = process.arch;
|
54
|
+
switch (os) {
|
55
|
+
case 'darwin':
|
56
|
+
if (arch === 'arm64') {
|
57
|
+
return SupportedPlatform.SP_MACOS_ARM64;
|
58
|
+
}
|
59
|
+
else {
|
60
|
+
return SupportedPlatform.SP_UNSUPPORTED;
|
61
|
+
}
|
62
|
+
case 'win32':
|
63
|
+
if (arch === 'x64') {
|
64
|
+
return SupportedPlatform.SP_WINDOWS_X64;
|
65
|
+
}
|
66
|
+
else {
|
67
|
+
return SupportedPlatform.SP_UNSUPPORTED;
|
68
|
+
}
|
69
|
+
case 'linux':
|
70
|
+
if (arch === 'x64') {
|
71
|
+
return SupportedPlatform.SP_LINUX_X64;
|
72
|
+
}
|
73
|
+
else {
|
74
|
+
return SupportedPlatform.SP_UNSUPPORTED;
|
75
|
+
}
|
76
|
+
default:
|
77
|
+
return SupportedPlatform.SP_UNSUPPORTED;
|
78
|
+
}
|
79
|
+
}
|
80
|
+
function getDaoExplorerPath(workingDirectory) {
|
81
|
+
// Reliable way to get the path to get the first active node_module folder
|
82
|
+
const sdkPath = require.resolve('@dcl/sdk');
|
83
|
+
if (sdkPath !== null) {
|
84
|
+
// SDK-path is something like /node_modules/@dcl/sdk/index.js
|
85
|
+
return path_1.default.resolve(sdkPath, '..', '..', '..', '.bin', 'dao-explorer');
|
86
|
+
}
|
87
|
+
return path_1.default.resolve(workingDirectory, 'node_modules', '.bin', 'dao-explorer');
|
88
|
+
}
|
89
|
+
function getDaoExplorerExecutablePath(workingDirectory) {
|
90
|
+
const platform = getPlatform();
|
91
|
+
if (platform === SupportedPlatform.SP_UNSUPPORTED) {
|
92
|
+
throw new error_1.CliError('This platform is not supported to run the DAO Explorers.');
|
93
|
+
}
|
94
|
+
if (platform === SupportedPlatform.SP_WINDOWS_X64) {
|
95
|
+
return path_1.default.resolve(getDaoExplorerPath(workingDirectory), 'decentra-bevy.exe');
|
96
|
+
}
|
97
|
+
if (platform === SupportedPlatform.SP_MACOS_ARM64) {
|
98
|
+
return path_1.default.resolve(getDaoExplorerPath(workingDirectory), 'DecentralandBevyExplorer.app/Contents/MacOS/DecentralandBevyExplorer');
|
99
|
+
}
|
100
|
+
return path_1.default.resolve(getDaoExplorerPath(workingDirectory), 'decentra-bevy');
|
101
|
+
}
|
102
|
+
async function ensureDaoExplorer(components, workingDirectory) {
|
103
|
+
const daoExplorerFolderPath = getDaoExplorerPath(workingDirectory);
|
104
|
+
const platform = getPlatform();
|
105
|
+
if (platform === SupportedPlatform.SP_UNSUPPORTED) {
|
106
|
+
throw new error_1.CliError('This platform is not supported to run the DAO Explorers.');
|
107
|
+
}
|
108
|
+
const url = `${BEVY_BASE_URL}-${BEVY_URL_PLATFORM_SUFFIX[platform]}`;
|
109
|
+
const versionFilePath = path_1.default.resolve(daoExplorerFolderPath, 'version');
|
110
|
+
if (await components.fs.fileExists(versionFilePath)) {
|
111
|
+
const versionContent = await components.fs.readFile(versionFilePath, 'utf-8');
|
112
|
+
if (versionContent === url) {
|
113
|
+
return;
|
114
|
+
}
|
115
|
+
}
|
116
|
+
const tempPackagePath = path_1.default.resolve(daoExplorerFolderPath, BEVY_URL_PLATFORM_SUFFIX[platform]);
|
117
|
+
(0, beautiful_logs_1.printProgressInfo)(components.logger, `Downloading DAO Explorer ${BEVY_URL_PLATFORM_SUFFIX[platform]} from ${url}`);
|
118
|
+
if (await components.fs.directoryExists(daoExplorerFolderPath)) {
|
119
|
+
await components.fs.rm(daoExplorerFolderPath, { recursive: true, force: true });
|
120
|
+
}
|
121
|
+
await components.fs.mkdir(daoExplorerFolderPath, { recursive: true });
|
122
|
+
await (0, fs_1.download)(components, url, tempPackagePath);
|
123
|
+
if (tempPackagePath.endsWith('.zip')) {
|
124
|
+
await (0, fs_1.extract)(tempPackagePath, daoExplorerFolderPath);
|
125
|
+
}
|
126
|
+
else if (tempPackagePath.endsWith('.tar.gz') || tempPackagePath.endsWith('.tgz')) {
|
127
|
+
await tar.extract({
|
128
|
+
C: daoExplorerFolderPath,
|
129
|
+
f: tempPackagePath
|
130
|
+
});
|
131
|
+
}
|
132
|
+
await components.fs.writeFile(versionFilePath, url);
|
133
|
+
}
|
134
|
+
exports.ensureDaoExplorer = ensureDaoExplorer;
|
135
|
+
function runDaoExplorer(components, realmUrl, locationCoords, workingDirectory) {
|
136
|
+
const daoExplorerFolderPath = getDaoExplorerPath(workingDirectory);
|
137
|
+
const executablePath = getDaoExplorerExecutablePath(workingDirectory);
|
138
|
+
executablePath;
|
139
|
+
const ts = child_process_1.default.spawn(executablePath, ['--preview', '--server', realmUrl, '--location', locationCoords], {
|
140
|
+
env: process.env,
|
141
|
+
cwd: daoExplorerFolderPath
|
142
|
+
});
|
143
|
+
ts.on('close', (code) => {
|
144
|
+
/* istanbul ignore else */
|
145
|
+
if (code === 0) {
|
146
|
+
(0, beautiful_logs_1.printProgressInfo)(components.logger, `Type checking completed without errors`);
|
147
|
+
}
|
148
|
+
else {
|
149
|
+
return;
|
150
|
+
}
|
151
|
+
});
|
152
|
+
ts.stdout.pipe(process.stdout);
|
153
|
+
ts.stderr.pipe(process.stderr);
|
154
|
+
}
|
155
|
+
exports.runDaoExplorer = runDaoExplorer;
|
156
|
+
//# sourceMappingURL=dao-explorer.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"dao-explorer.js","sourceRoot":"","sources":["../../src/logic/dao-explorer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,6BAAwC;AACxC,gDAAuB;AACvB,2BAA6B;AAC7B,mCAAkC;AAClC,qDAAoD;AACpD,yCAA0B;AAC1B,kEAAyC;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,UAAU,CAAC,EAAE,CAAC,SAAS,CAAC,eAAe,EAAE,GAAG,CAAC,CAAA;AACrD,CAAC;AAvCD,8CAuCC;AAED,SAAgB,cAAc,CAC5B,UAA0D,EAC1D,QAAgB,EAChB,cAAsB,EACtB,gBAAwB;IAExB,MAAM,qBAAqB,GAAG,kBAAkB,CAAC,gBAAgB,CAAC,CAAA;IAClE,MAAM,cAAc,GAAG,4BAA4B,CAAC,gBAAgB,CAAC,CAAA;IACrE,cAAc,CAAA;IACd,MAAM,EAAE,GAAG,uBAAa,CAAC,KAAK,CAAC,cAAc,EAAE,CAAC,WAAW,EAAE,UAAU,EAAE,QAAQ,EAAE,YAAY,EAAE,cAAc,CAAC,EAAE;QAChH,GAAG,EAAE,OAAO,CAAC,GAAG;QAChB,GAAG,EAAE,qBAAqB;KAC3B,CAAC,CAAA;IAEF,EAAE,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE;QACtB,0BAA0B;QAC1B,IAAI,IAAI,KAAK,CAAC,EAAE;YACd,IAAA,kCAAiB,EAAC,UAAU,CAAC,MAAM,EAAE,wCAAwC,CAAC,CAAA;SAC/E;aAAM;YACL,OAAM;SACP;IACH,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,CAAA;IAC9B,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,CAAA;AAChC,CAAC;AAzBD,wCAyBC"}
|
package/package.json
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
{
|
2
2
|
"name": "@dcl/sdk-commands",
|
3
3
|
"description": "",
|
4
|
-
"version": "7.8.
|
4
|
+
"version": "7.8.2-14264974837.commit-e768832",
|
5
5
|
"author": "Decentraland",
|
6
6
|
"bin": {
|
7
7
|
"sdk-commands": "./dist/index.js"
|
8
8
|
},
|
9
9
|
"dependencies": {
|
10
10
|
"@dcl/crypto": "^3.4.4",
|
11
|
-
"@dcl/ecs": "7.8.
|
11
|
+
"@dcl/ecs": "7.8.2-14264974837.commit-e768832",
|
12
12
|
"@dcl/hashing": "1.1.3",
|
13
|
-
"@dcl/inspector": "7.8.
|
13
|
+
"@dcl/inspector": "7.8.2-14264974837.commit-e768832",
|
14
14
|
"@dcl/linker-dapp": "^0.14.2",
|
15
15
|
"@dcl/mini-comms": "1.0.1-20230216163137.commit-a4c75be",
|
16
|
-
"@dcl/protocol": "1.0.0-
|
16
|
+
"@dcl/protocol": "1.0.0-14231413869.commit-0c50705",
|
17
17
|
"@dcl/quests-client": "^1.0.3",
|
18
18
|
"@dcl/quests-manager": "^0.1.4",
|
19
19
|
"@dcl/rpc": "^1.1.1",
|
@@ -38,6 +38,7 @@
|
|
38
38
|
"open": "^8.4.0",
|
39
39
|
"portfinder": "^1.0.32",
|
40
40
|
"prompts": "^2.4.2",
|
41
|
+
"tar": "^7.1.0",
|
41
42
|
"typescript": "^5.0.2",
|
42
43
|
"undici": "^5.19.1",
|
43
44
|
"uuid": "^9.0.1"
|
@@ -73,5 +74,5 @@
|
|
73
74
|
"displayName": "SDK",
|
74
75
|
"tsconfig": "./tsconfig.json"
|
75
76
|
},
|
76
|
-
"commit": "
|
77
|
+
"commit": "e768832c889a9616a2ff63e53b662f25ef88a075"
|
77
78
|
}
|