@arnab-afk/zkm 0.2.1 → 0.2.2
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/commands/config.js +1 -1
- package/dist/config.js +2 -2
- package/package.json +1 -1
package/dist/commands/config.js
CHANGED
|
@@ -30,7 +30,7 @@ export function registerConfigCommands(program) {
|
|
|
30
30
|
// zkm config set-url <url>
|
|
31
31
|
config
|
|
32
32
|
.command('set-url <url>')
|
|
33
|
-
.description('Set the backend API URL (default: https://api.zkmulticloud.
|
|
33
|
+
.description('Set the backend API URL (default: https://api.zkmulticloud.xyz)')
|
|
34
34
|
.action((url) => {
|
|
35
35
|
try {
|
|
36
36
|
new URL(url); // validate
|
package/dist/config.js
CHANGED
|
@@ -3,7 +3,7 @@ const store = new Conf({
|
|
|
3
3
|
projectName: 'zkm-cli',
|
|
4
4
|
defaults: {
|
|
5
5
|
apiKey: '',
|
|
6
|
-
apiUrl: 'https://api.zkmulticloud.
|
|
6
|
+
apiUrl: 'https://api.zkmulticloud.xyz',
|
|
7
7
|
},
|
|
8
8
|
});
|
|
9
9
|
export function getApiKey() {
|
|
@@ -14,7 +14,7 @@ export function setApiKey(key) {
|
|
|
14
14
|
store.set('apiKey', key);
|
|
15
15
|
}
|
|
16
16
|
export function getApiUrl() {
|
|
17
|
-
return process.env.ZKM_API_URL ?? store.get('apiUrl') ?? 'https://api.zkmulticloud.
|
|
17
|
+
return process.env.ZKM_API_URL ?? store.get('apiUrl') ?? 'https://api.zkmulticloud.xyz';
|
|
18
18
|
}
|
|
19
19
|
export function setApiUrl(url) {
|
|
20
20
|
store.set('apiUrl', url);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arnab-afk/zkm",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "ZkMultiCloud CLI — deploy any app to the cloud with a single command",
|
|
5
5
|
"keywords": ["zkmulticloud", "deploy", "cloud", "cli"],
|
|
6
6
|
"homepage": "https://github.com/zkmulticloud/zkmulticloud",
|