@dittowords/cli 2.3.0 → 2.4.0

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
@@ -16,7 +16,7 @@ npm install --global @dittowords/cli
16
16
 
17
17
  The installed binary is named `ditto-cli`. You can execute it directly in `node_modules/.bin/ditto-cli` or using [npx](https://www.npmjs.com/package/npx) (with or without installation) like `npx @dittowords/cli`.
18
18
 
19
- The first time you run the CLI, you'll be asked to provide an API key (found at [https://beta.dittowords.com/account/user](https://beta.dittowords.com/account/user) under **API Keys**):
19
+ The first time you run the CLI, you'll be asked to provide an API key (found at [https://app.dittowords.com/account/user](https://app.dittowords.com/account/user) under **API Keys**):
20
20
 
21
21
  ```
22
22
  $ npx @dittowords/cli
@@ -41,8 +41,8 @@ Once you've successfully authenticated, you'll be asked to configure the CLI wit
41
41
  Looks like there are no Ditto projects selected for your current directory.
42
42
 
43
43
  ? Choose the project you'd like to sync text from:
44
- - Ditto Component Library https://beta.dittowords.com/components/all
45
- - NUX Onboarding Flow https://beta.dittowords.com/doc/609e9981c313f8018d0c346a
44
+ - Ditto Component Library https://app.dittowords.com/components/all
45
+ - NUX Onboarding Flow https://app.dittowords.com/doc/609e9981c313f8018d0c346a
46
46
  ...
47
47
  ```
48
48
 
package/lib/init/token.js CHANGED
@@ -58,7 +58,7 @@ async function checkToken(token) {
58
58
 
59
59
  async function collectToken(message) {
60
60
  const blue = output.info;
61
- const apiUrl = output.url("https://beta.dittowords.com/account/user");
61
+ const apiUrl = output.url("https://app.dittowords.com/account/user");
62
62
  const breadcrumbs = `${blue("User")}`;
63
63
  const tokenDescription =
64
64
  message ||
@@ -9,7 +9,7 @@ function projectsToText(projects) {
9
9
  "- " +
10
10
  output.info(name) +
11
11
  " " +
12
- output.subtle("https://beta.dittowords.com/doc/" + id)),
12
+ output.subtle("https://app.dittowords.com/doc/" + id)),
13
13
  ""
14
14
  ) + "\n"
15
15
  );
@@ -7,7 +7,7 @@ function formatProjectChoice(project) {
7
7
  project.name +
8
8
  " " +
9
9
  output.subtle(
10
- project.url || `https://beta.dittowords.com/doc/${project.id}`
10
+ project.url || `https://app.dittowords.com/doc/${project.id}`
11
11
  )
12
12
  );
13
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dittowords/cli",
3
- "version": "2.3.0",
3
+ "version": "2.4.0",
4
4
  "description": "Command Line Interface for Ditto (dittowords.com).",
5
5
  "main": "bin/index.js",
6
6
  "scripts": {