innernote 0.1.1 → 0.1.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.
Files changed (2) hide show
  1. package/dist/index.js +4 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -344,6 +344,7 @@ async function login(args) {
344
344
  let code = args.find((a) => !a.startsWith("-"))?.trim();
345
345
  if (!code) {
346
346
  out(`Open ${bold2(config.apiUrl + PAIR_PAGE)} and copy your pairing code.`);
347
+ out(dim2(`New here? Sign in at ${config.apiUrl.replace(/^https?:\/\//, "")} first.`));
347
348
  out();
348
349
  if (!process.stdin.isTTY) {
349
350
  fail("No pairing code given, and there is no terminal to ask on.");
@@ -1408,6 +1409,8 @@ function landingDisconnected(apiUrl, version) {
1408
1409
  "",
1409
1410
  `${caramel(`${CMD} login`)}${pad("", Math.max(3, 20 - width(`${CMD} login`)))}${dim2("connect this machine")}`,
1410
1411
  dim2(`Get a code at ${apiUrl.replace(/^https?:\/\//, "")}/dashboard/settings`),
1412
+ "",
1413
+ `${dim2("No account yet?")} ${caramel(apiUrl.replace(/^https?:\/\//, ""))}`,
1411
1414
  ""
1412
1415
  ]);
1413
1416
  }
@@ -1426,7 +1429,7 @@ function suggest(state) {
1426
1429
  // package.json
1427
1430
  var package_default = {
1428
1431
  name: "innernote",
1429
- version: "0.1.1",
1432
+ version: "0.1.2",
1430
1433
  description: "Write LinkedIn posts in your voice, from the terminal.",
1431
1434
  type: "module",
1432
1435
  bin: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "innernote",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Write LinkedIn posts in your voice, from the terminal.",
5
5
  "type": "module",
6
6
  "bin": {