@dcl/sdk-commands 7.1.4-4578951400.commit-3810356 → 7.1.4-4598596181.commit-a983260
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/dist/logic/bundle.js +2 -0
- package/package.json +4 -4
package/dist/logic/bundle.js
CHANGED
@@ -32,6 +32,8 @@ async function bundleProject(components, options) {
|
|
32
32
|
throw new error_1.CliError(`File ${tsconfig} must exist to compile the Typescript project`);
|
33
33
|
}
|
34
34
|
const input = (0, glob_1.globSync)(options.single ?? 'src/index.ts');
|
35
|
+
if (!input.length)
|
36
|
+
throw new error_1.CliError(`There are no input files to build: ${options.single ?? 'src/index.ts'}`);
|
35
37
|
const output = !options.single ? sceneJson.main : options.single.replace(/\.ts$/, '.js');
|
36
38
|
const outfile = (0, path_1.join)(options.workingDirectory, output);
|
37
39
|
(0, beautiful_logs_1.printProgressStep)(components.logger, `Bundling file ${log_1.colors.bold(input.join(','))}`, 2, MAX_STEP);
|
package/package.json
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
{
|
2
2
|
"name": "@dcl/sdk-commands",
|
3
3
|
"description": "",
|
4
|
-
"version": "7.1.4-
|
4
|
+
"version": "7.1.4-4598596181.commit-a983260",
|
5
5
|
"author": "Decentraland",
|
6
6
|
"bin": {
|
7
7
|
"sdk-commands": "./dist/index.js"
|
8
8
|
},
|
9
9
|
"dependencies": {
|
10
10
|
"@dcl/hashing": "1.1.3",
|
11
|
-
"@dcl/inspector": "7.1.4-
|
11
|
+
"@dcl/inspector": "7.1.4-4598596181.commit-a983260",
|
12
12
|
"@dcl/linker-dapp": "0.7.0",
|
13
13
|
"@dcl/mini-comms": "1.0.1-20230216163137.commit-a4c75be",
|
14
|
-
"@dcl/protocol": "1.0.0-
|
14
|
+
"@dcl/protocol": "1.0.0-4597420155.commit-e877adc",
|
15
15
|
"@dcl/rpc": "^1.1.1",
|
16
16
|
"@dcl/schemas": "^6.11.1",
|
17
17
|
"@segment/analytics-node": "^1.0.0-beta.22",
|
@@ -60,5 +60,5 @@
|
|
60
60
|
"displayName": "SDK",
|
61
61
|
"tsconfig": "./tsconfig.json"
|
62
62
|
},
|
63
|
-
"commit": "
|
63
|
+
"commit": "a98326033a3f1903fa65a052349b01af73941633"
|
64
64
|
}
|