refineo-cli 0.0.4 → 0.0.6
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/cjs/api.js +2 -2
- package/dist/cjs/cli.js +2 -2
- package/dist/cjs/config.js +2 -2
- package/dist/cjs/index.js +2 -2
- package/dist/esm/api.js +2 -2
- package/dist/esm/cli.js +2 -2
- package/dist/esm/config.d.ts.map +1 -1
- package/dist/esm/config.js +2 -2
- package/dist/esm/index.js +2 -2
- package/package.json +1 -1
package/dist/cjs/api.js
CHANGED
|
@@ -33,7 +33,7 @@ var import_path = require("path");
|
|
|
33
33
|
var import_fs = require("fs");
|
|
34
34
|
var CONFIG_DIR = (0, import_path.join)((0, import_os.homedir)(), ".refineo");
|
|
35
35
|
var CREDENTIALS_FILE = (0, import_path.join)(CONFIG_DIR, "credentials.json");
|
|
36
|
-
var API_BASE_URL = process.env.REFINEO_API_URL || "https://refineo.app";
|
|
36
|
+
var API_BASE_URL = process.env.REFINEO_API_URL || "https://www.refineo.app";
|
|
37
37
|
function ensureConfigDir() {
|
|
38
38
|
if (!(0, import_fs.existsSync)(CONFIG_DIR)) {
|
|
39
39
|
(0, import_fs.mkdirSync)(CONFIG_DIR, { recursive: true, mode: 448 });
|
|
@@ -69,7 +69,7 @@ function getPlatformInfo() {
|
|
|
69
69
|
if (platform === "darwin") os = "macOS";
|
|
70
70
|
else if (platform === "win32") os = "Windows";
|
|
71
71
|
else if (platform === "linux") os = "Linux";
|
|
72
|
-
return `refineo-cli/0.
|
|
72
|
+
return `refineo-cli-node/0.0.6 (${os}; ${arch}) Node/${nodeVersion}`;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
// src/api.ts
|
package/dist/cjs/cli.js
CHANGED
|
@@ -32,7 +32,7 @@ var import_path = require("path");
|
|
|
32
32
|
var import_fs = require("fs");
|
|
33
33
|
var CONFIG_DIR = (0, import_path.join)((0, import_os.homedir)(), ".refineo");
|
|
34
34
|
var CREDENTIALS_FILE = (0, import_path.join)(CONFIG_DIR, "credentials.json");
|
|
35
|
-
var API_BASE_URL = process.env.REFINEO_API_URL || "https://refineo.app";
|
|
35
|
+
var API_BASE_URL = process.env.REFINEO_API_URL || "https://www.refineo.app";
|
|
36
36
|
function ensureConfigDir() {
|
|
37
37
|
if (!(0, import_fs.existsSync)(CONFIG_DIR)) {
|
|
38
38
|
(0, import_fs.mkdirSync)(CONFIG_DIR, { recursive: true, mode: 448 });
|
|
@@ -76,7 +76,7 @@ function getPlatformInfo() {
|
|
|
76
76
|
if (platform === "darwin") os = "macOS";
|
|
77
77
|
else if (platform === "win32") os = "Windows";
|
|
78
78
|
else if (platform === "linux") os = "Linux";
|
|
79
|
-
return `refineo-cli/0.
|
|
79
|
+
return `refineo-cli-node/0.0.6 (${os}; ${arch}) Node/${nodeVersion}`;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
// src/api.ts
|
package/dist/cjs/config.js
CHANGED
|
@@ -33,7 +33,7 @@ var import_path = require("path");
|
|
|
33
33
|
var import_fs = require("fs");
|
|
34
34
|
var CONFIG_DIR = (0, import_path.join)((0, import_os.homedir)(), ".refineo");
|
|
35
35
|
var CREDENTIALS_FILE = (0, import_path.join)(CONFIG_DIR, "credentials.json");
|
|
36
|
-
var API_BASE_URL = process.env.REFINEO_API_URL || "https://refineo.app";
|
|
36
|
+
var API_BASE_URL = process.env.REFINEO_API_URL || "https://www.refineo.app";
|
|
37
37
|
function ensureConfigDir() {
|
|
38
38
|
if (!(0, import_fs.existsSync)(CONFIG_DIR)) {
|
|
39
39
|
(0, import_fs.mkdirSync)(CONFIG_DIR, { recursive: true, mode: 448 });
|
|
@@ -77,7 +77,7 @@ function getPlatformInfo() {
|
|
|
77
77
|
if (platform === "darwin") os = "macOS";
|
|
78
78
|
else if (platform === "win32") os = "Windows";
|
|
79
79
|
else if (platform === "linux") os = "Linux";
|
|
80
|
-
return `refineo-cli/0.
|
|
80
|
+
return `refineo-cli-node/0.0.6 (${os}; ${arch}) Node/${nodeVersion}`;
|
|
81
81
|
}
|
|
82
82
|
// Annotate the CommonJS export names for ESM import in node:
|
|
83
83
|
0 && (module.exports = {
|
package/dist/cjs/index.js
CHANGED
|
@@ -39,7 +39,7 @@ var import_path = require("path");
|
|
|
39
39
|
var import_fs = require("fs");
|
|
40
40
|
var CONFIG_DIR = (0, import_path.join)((0, import_os.homedir)(), ".refineo");
|
|
41
41
|
var CREDENTIALS_FILE = (0, import_path.join)(CONFIG_DIR, "credentials.json");
|
|
42
|
-
var API_BASE_URL = process.env.REFINEO_API_URL || "https://refineo.app";
|
|
42
|
+
var API_BASE_URL = process.env.REFINEO_API_URL || "https://www.refineo.app";
|
|
43
43
|
function ensureConfigDir() {
|
|
44
44
|
if (!(0, import_fs.existsSync)(CONFIG_DIR)) {
|
|
45
45
|
(0, import_fs.mkdirSync)(CONFIG_DIR, { recursive: true, mode: 448 });
|
|
@@ -83,7 +83,7 @@ function getPlatformInfo() {
|
|
|
83
83
|
if (platform === "darwin") os = "macOS";
|
|
84
84
|
else if (platform === "win32") os = "Windows";
|
|
85
85
|
else if (platform === "linux") os = "Linux";
|
|
86
|
-
return `refineo-cli/0.
|
|
86
|
+
return `refineo-cli-node/0.0.6 (${os}; ${arch}) Node/${nodeVersion}`;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
// src/api.ts
|
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@ import { join } from "path";
|
|
|
4
4
|
import { existsSync, mkdirSync, readFileSync, writeFileSync, unlinkSync } from "fs";
|
|
5
5
|
var CONFIG_DIR = join(homedir(), ".refineo");
|
|
6
6
|
var CREDENTIALS_FILE = join(CONFIG_DIR, "credentials.json");
|
|
7
|
-
var API_BASE_URL = process.env.REFINEO_API_URL || "https://refineo.app";
|
|
7
|
+
var API_BASE_URL = process.env.REFINEO_API_URL || "https://www.refineo.app";
|
|
8
8
|
function ensureConfigDir() {
|
|
9
9
|
if (!existsSync(CONFIG_DIR)) {
|
|
10
10
|
mkdirSync(CONFIG_DIR, { recursive: true, mode: 448 });
|
|
@@ -40,7 +40,7 @@ function getPlatformInfo() {
|
|
|
40
40
|
if (platform === "darwin") os = "macOS";
|
|
41
41
|
else if (platform === "win32") os = "Windows";
|
|
42
42
|
else if (platform === "linux") os = "Linux";
|
|
43
|
-
return `refineo-cli/0.
|
|
43
|
+
return `refineo-cli-node/0.0.6 (${os}; ${arch}) Node/${nodeVersion}`;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
// src/api.ts
|
package/dist/esm/cli.js
CHANGED
|
@@ -9,7 +9,7 @@ import { join } from "path";
|
|
|
9
9
|
import { existsSync, mkdirSync, readFileSync, writeFileSync, unlinkSync } from "fs";
|
|
10
10
|
var CONFIG_DIR = join(homedir(), ".refineo");
|
|
11
11
|
var CREDENTIALS_FILE = join(CONFIG_DIR, "credentials.json");
|
|
12
|
-
var API_BASE_URL = process.env.REFINEO_API_URL || "https://refineo.app";
|
|
12
|
+
var API_BASE_URL = process.env.REFINEO_API_URL || "https://www.refineo.app";
|
|
13
13
|
function ensureConfigDir() {
|
|
14
14
|
if (!existsSync(CONFIG_DIR)) {
|
|
15
15
|
mkdirSync(CONFIG_DIR, { recursive: true, mode: 448 });
|
|
@@ -53,7 +53,7 @@ function getPlatformInfo() {
|
|
|
53
53
|
if (platform === "darwin") os = "macOS";
|
|
54
54
|
else if (platform === "win32") os = "Windows";
|
|
55
55
|
else if (platform === "linux") os = "Linux";
|
|
56
|
-
return `refineo-cli/0.
|
|
56
|
+
return `refineo-cli-node/0.0.6 (${os}; ${arch}) Node/${nodeVersion}`;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
// src/api.ts
|
package/dist/esm/config.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/config.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAK9C,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/config.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAK9C,eAAO,MAAM,YAAY,QAA2D,CAAC;AAWrF;;GAEG;AACH,wBAAgB,eAAe,IAAI,WAAW,GAAG,IAAI,CAUpD;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,WAAW,EAAE,WAAW,GAAG,IAAI,CAK9D;AAED;;GAEG;AACH,wBAAgB,gBAAgB,IAAI,IAAI,CAQvC;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAGhE;AAED;;GAEG;AACH,wBAAgB,eAAe,IAAI,MAAM,CAWxC"}
|
package/dist/esm/config.js
CHANGED
|
@@ -4,7 +4,7 @@ import { join } from "path";
|
|
|
4
4
|
import { existsSync, mkdirSync, readFileSync, writeFileSync, unlinkSync } from "fs";
|
|
5
5
|
var CONFIG_DIR = join(homedir(), ".refineo");
|
|
6
6
|
var CREDENTIALS_FILE = join(CONFIG_DIR, "credentials.json");
|
|
7
|
-
var API_BASE_URL = process.env.REFINEO_API_URL || "https://refineo.app";
|
|
7
|
+
var API_BASE_URL = process.env.REFINEO_API_URL || "https://www.refineo.app";
|
|
8
8
|
function ensureConfigDir() {
|
|
9
9
|
if (!existsSync(CONFIG_DIR)) {
|
|
10
10
|
mkdirSync(CONFIG_DIR, { recursive: true, mode: 448 });
|
|
@@ -48,7 +48,7 @@ function getPlatformInfo() {
|
|
|
48
48
|
if (platform === "darwin") os = "macOS";
|
|
49
49
|
else if (platform === "win32") os = "Windows";
|
|
50
50
|
else if (platform === "linux") os = "Linux";
|
|
51
|
-
return `refineo-cli/0.
|
|
51
|
+
return `refineo-cli-node/0.0.6 (${os}; ${arch}) Node/${nodeVersion}`;
|
|
52
52
|
}
|
|
53
53
|
export {
|
|
54
54
|
API_BASE_URL,
|
package/dist/esm/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import { join } from "path";
|
|
|
4
4
|
import { existsSync, mkdirSync, readFileSync, writeFileSync, unlinkSync } from "fs";
|
|
5
5
|
var CONFIG_DIR = join(homedir(), ".refineo");
|
|
6
6
|
var CREDENTIALS_FILE = join(CONFIG_DIR, "credentials.json");
|
|
7
|
-
var API_BASE_URL = process.env.REFINEO_API_URL || "https://refineo.app";
|
|
7
|
+
var API_BASE_URL = process.env.REFINEO_API_URL || "https://www.refineo.app";
|
|
8
8
|
function ensureConfigDir() {
|
|
9
9
|
if (!existsSync(CONFIG_DIR)) {
|
|
10
10
|
mkdirSync(CONFIG_DIR, { recursive: true, mode: 448 });
|
|
@@ -48,7 +48,7 @@ function getPlatformInfo() {
|
|
|
48
48
|
if (platform === "darwin") os = "macOS";
|
|
49
49
|
else if (platform === "win32") os = "Windows";
|
|
50
50
|
else if (platform === "linux") os = "Linux";
|
|
51
|
-
return `refineo-cli/0.
|
|
51
|
+
return `refineo-cli-node/0.0.6 (${os}; ${arch}) Node/${nodeVersion}`;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
// src/api.ts
|