@webmate-studio/cli 0.1.0 → 0.1.1
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/package.json +8 -2
- package/src/commands/login.js +3 -3
package/package.json
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webmate-studio/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Webmate Studio CLI - Build and manage your Webmate components",
|
|
6
|
-
"keywords": [
|
|
6
|
+
"keywords": [
|
|
7
|
+
"webmate",
|
|
8
|
+
"cms",
|
|
9
|
+
"cli",
|
|
10
|
+
"web-components",
|
|
11
|
+
"islands"
|
|
12
|
+
],
|
|
7
13
|
"author": "Michael Wischang",
|
|
8
14
|
"license": "MIT",
|
|
9
15
|
"repository": {
|
package/src/commands/login.js
CHANGED
|
@@ -56,11 +56,11 @@ export async function loginCommand(options = {}) {
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
// Get base URL (optional, default to
|
|
60
|
-
// Note: CLI API routes are under app
|
|
59
|
+
// Get base URL (optional, default to production)
|
|
60
|
+
// Note: CLI API routes are under app subdomain
|
|
61
61
|
const baseUrl = options.url || await input({
|
|
62
62
|
message: 'Webmate Base URL:',
|
|
63
|
-
default: 'https://app.
|
|
63
|
+
default: 'https://app.webmate-studio.com',
|
|
64
64
|
validate: (value) => {
|
|
65
65
|
try {
|
|
66
66
|
new URL(value);
|