@dcl/sdk-commands 7.0.0-4217957637.commit-a393ef7 → 7.0.0-4218076982.commit-7ba834d
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.
|
@@ -47,7 +47,7 @@ async function main(options) {
|
|
|
47
47
|
if (willCreateRealm && !exports.args['--baseUrl']) {
|
|
48
48
|
throw new error_1.CliError(`--baseUrl is mandatory when --realmName is provided`);
|
|
49
49
|
}
|
|
50
|
-
if (willCreateRealm && !/^[a-z][a-z0-9
|
|
50
|
+
if (willCreateRealm && !/^[a-z][a-z0-9-/]*$/i.test(exports.args['--realmName'])) {
|
|
51
51
|
throw new error_1.CliError(`--realmName has invalid characters`);
|
|
52
52
|
}
|
|
53
53
|
(0, beautiful_logs_1.printProgressStep)(logger, 'Reading project files...', currentStep++, maxSteps);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/sdk-commands",
|
|
3
|
-
"version": "7.0.0-
|
|
3
|
+
"version": "7.0.0-4218076982.commit-7ba834d",
|
|
4
4
|
"description": "",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "tsc -p tsconfig.json",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"author": "Decentraland",
|
|
17
17
|
"license": "Apache-2.0",
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@dcl/dcl-rollup": "7.0.6-
|
|
19
|
+
"@dcl/dcl-rollup": "7.0.6-4218076982.commit-7ba834d",
|
|
20
20
|
"@dcl/hashing": "1.1.3",
|
|
21
21
|
"@dcl/mini-comms": "1.0.1-20230216163137.commit-a4c75be",
|
|
22
22
|
"@dcl/protocol": "1.0.0-4114477251.commit-ccb88d6",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"displayName": "SDK",
|
|
47
47
|
"tsconfig": "./tsconfig.json"
|
|
48
48
|
},
|
|
49
|
-
"commit": "
|
|
49
|
+
"commit": "7ba834d3e726795977eb808da6af6652e5b02fe3"
|
|
50
50
|
}
|
|
@@ -54,7 +54,7 @@ export async function main(options: Options) {
|
|
|
54
54
|
throw new CliError(`--baseUrl is mandatory when --realmName is provided`)
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
if (willCreateRealm && !/^[a-z][a-z0-9
|
|
57
|
+
if (willCreateRealm && !/^[a-z][a-z0-9-/]*$/i.test(args['--realmName']!)) {
|
|
58
58
|
throw new CliError(`--realmName has invalid characters`)
|
|
59
59
|
}
|
|
60
60
|
|