@joytreesite/joytree 1.0.0 → 1.0.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/README.md CHANGED
@@ -146,7 +146,7 @@ Credentials are stored at `~/.joytree/credentials.json` (mode 600).
146
146
  You can also use environment variables:
147
147
  ```bash
148
148
  export JOYTREE_API_KEY=jtk_your_key_here
149
- export JOYTREE_BASE_URL=https://joytree.app
149
+ export JOYTREE_BASE_URL=https://joytree.site
150
150
  ```
151
151
 
152
152
  ---
package/bin/joytree.js CHANGED
@@ -129,7 +129,7 @@ function showHelp() {
129
129
 
130
130
  // ── FOOTER ──
131
131
  console.log(`${c.dim} Run ${c.cyan}joytree <command> --help${c.dim} for detailed options on any command.${c.reset}`);
132
- console.log(`${c.dim} Docs: ${c.cyan}https://docs.joytree.app${c.reset}\n`);
132
+ console.log(`${c.dim} Docs: ${c.cyan}https://docs.joytree.site${c.reset}\n`);
133
133
  }
134
134
 
135
135
  program
package/commands/auth.js CHANGED
@@ -57,7 +57,7 @@ function whoami() {
57
57
  ui.header('Current Session');
58
58
  if (creds.email) ui.label('Email', creds.email);
59
59
  ui.label('API Key', creds.apiKey.slice(0, 8) + '…' + creds.apiKey.slice(-4));
60
- ui.label('Host', creds.baseUrl || 'https://joytree.app');
60
+ ui.label('Host', creds.baseUrl || 'https://joytree.site');
61
61
  ui.label('Config', config.CONFIG_FILE);
62
62
  console.log();
63
63
  }
package/lib/config.js CHANGED
@@ -28,12 +28,12 @@ function getApiKey() {
28
28
  function getBaseUrl() {
29
29
  return load().baseUrl
30
30
  || process.env.JOYTREE_BASE_URL
31
- || 'https://joytree.app';
31
+ || 'https://joytree.site';
32
32
  }
33
33
 
34
34
  function setCredentials({ apiKey, baseUrl, email }) {
35
35
  const existing = load();
36
- save({ ...existing, apiKey, baseUrl: baseUrl || existing.baseUrl || 'https://joytree.app', email });
36
+ save({ ...existing, apiKey, baseUrl: baseUrl || existing.baseUrl || 'https://joytree.site', email });
37
37
  }
38
38
 
39
39
  function clearCredentials() {
package/lib/ui.js CHANGED
@@ -27,8 +27,8 @@ function logo() {
27
27
  console.log(`${c.bold}${c.white} ╚════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝╚══════╝╚══════╝${c.reset}`);
28
28
  console.log('');
29
29
  console.log(` Go live on Joytree in seconds! ${c.dim}v${pkg.version}${c.reset}`);
30
- console.log(` Website ${c.cyan}https://joytree.app${c.reset}`);
31
- console.log(` Docs ${c.cyan}https://docs.joytree.app${c.reset}`);
30
+ console.log(` Website ${c.cyan}https://joytree.site${c.reset}`);
31
+ console.log(` Docs ${c.cyan}https://docs.joytree.site${c.reset}`);
32
32
  console.log('');
33
33
  }
34
34
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@joytreesite/joytree",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Joytree CLI — deploy and manage your sites from the terminal",
5
5
  "main": "bin/joytree.js",
6
6
  "bin": {