@uniformdev/cli 20.35.0 → 20.35.1-alpha.87
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/index.mjs +3 -0
- package/package.json +9 -9
package/dist/index.mjs
CHANGED
|
@@ -213,6 +213,9 @@ var createClient = (baseUrl, authToken) => {
|
|
|
213
213
|
);
|
|
214
214
|
return result.id;
|
|
215
215
|
} catch (err) {
|
|
216
|
+
if (err.message && /responded with (400|401|403)/.test(err.message)) {
|
|
217
|
+
throw new Error("Unable to create project. You need team admin permissions to use uniform new.");
|
|
218
|
+
}
|
|
216
219
|
throw new Error(`Failed to create project:
|
|
217
220
|
${err.message}`);
|
|
218
221
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/cli",
|
|
3
|
-
"version": "20.35.
|
|
3
|
+
"version": "20.35.1-alpha.87+2cf616f622",
|
|
4
4
|
"description": "Uniform command line interface tool",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./cli.js",
|
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@thi.ng/mime": "^2.2.23",
|
|
30
|
-
"@uniformdev/assets": "20.35.
|
|
31
|
-
"@uniformdev/canvas": "20.35.
|
|
32
|
-
"@uniformdev/context": "20.35.
|
|
33
|
-
"@uniformdev/files": "20.35.
|
|
34
|
-
"@uniformdev/project-map": "20.35.
|
|
35
|
-
"@uniformdev/redirect": "20.35.
|
|
36
|
-
"@uniformdev/richtext": "20.35.
|
|
30
|
+
"@uniformdev/assets": "20.35.1-alpha.87+2cf616f622",
|
|
31
|
+
"@uniformdev/canvas": "20.35.1-alpha.87+2cf616f622",
|
|
32
|
+
"@uniformdev/context": "20.35.1-alpha.87+2cf616f622",
|
|
33
|
+
"@uniformdev/files": "20.35.1-alpha.87+2cf616f622",
|
|
34
|
+
"@uniformdev/project-map": "20.35.1-alpha.87+2cf616f622",
|
|
35
|
+
"@uniformdev/redirect": "20.35.1-alpha.87+2cf616f622",
|
|
36
|
+
"@uniformdev/richtext": "20.35.1-alpha.87+2cf616f622",
|
|
37
37
|
"call-bind": "^1.0.2",
|
|
38
38
|
"colorette": "2.0.20",
|
|
39
39
|
"cosmiconfig": "9.0.0",
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"publishConfig": {
|
|
82
82
|
"access": "public"
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "2cf616f622322e5322575c106742078b5e3d7992"
|
|
85
85
|
}
|