@uniformdev/cli 18.0.1-alpha.3 → 18.1.1-alpha.11
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/sync/index.js +3 -3
- package/dist/sync/index.mjs +3 -3
- package/package.json +3 -3
package/dist/sync/index.js
CHANGED
|
@@ -1646,10 +1646,10 @@ var import_isomorphic_unfetch = __toESM(require("isomorphic-unfetch"));
|
|
|
1646
1646
|
var import_js_yaml = require("js-yaml");
|
|
1647
1647
|
var import_path = require("path");
|
|
1648
1648
|
function withApiOptions(yargs) {
|
|
1649
|
-
var _a, _b;
|
|
1649
|
+
var _a, _b, _c;
|
|
1650
1650
|
return yargs.option("apiKey", {
|
|
1651
|
-
describe: "Uniform API key. Defaults to
|
|
1652
|
-
default: (_b = (_a = process.env.
|
|
1651
|
+
describe: "Uniform API key. Defaults to UNIFORM_CLI_API_KEY or UNIFORM_API_KEY env. Supports dotenv.",
|
|
1652
|
+
default: (_c = (_b = (_a = process.env.UNIFORM_CLI_API_KEY) != null ? _a : process.env.CANVAS_CLI_API_KEY) != null ? _b : process.env.UPM_CLI_API_KEY) != null ? _c : process.env.UNIFORM_API_KEY,
|
|
1653
1653
|
demandOption: true,
|
|
1654
1654
|
type: "string"
|
|
1655
1655
|
}).option("apiHost", {
|
package/dist/sync/index.mjs
CHANGED
|
@@ -59,10 +59,10 @@ import unfetch from "isomorphic-unfetch";
|
|
|
59
59
|
import { dump, load } from "js-yaml";
|
|
60
60
|
import { extname } from "path";
|
|
61
61
|
function withApiOptions(yargs) {
|
|
62
|
-
var _a, _b;
|
|
62
|
+
var _a, _b, _c;
|
|
63
63
|
return yargs.option("apiKey", {
|
|
64
|
-
describe: "Uniform API key. Defaults to
|
|
65
|
-
default: (_b = (_a = process.env.
|
|
64
|
+
describe: "Uniform API key. Defaults to UNIFORM_CLI_API_KEY or UNIFORM_API_KEY env. Supports dotenv.",
|
|
65
|
+
default: (_c = (_b = (_a = process.env.UNIFORM_CLI_API_KEY) != null ? _a : process.env.CANVAS_CLI_API_KEY) != null ? _b : process.env.UPM_CLI_API_KEY) != null ? _c : process.env.UNIFORM_API_KEY,
|
|
66
66
|
demandOption: true,
|
|
67
67
|
type: "string"
|
|
68
68
|
}).option("apiHost", {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/cli",
|
|
3
|
-
"version": "18.
|
|
3
|
+
"version": "18.1.1-alpha.11+c81a052e2",
|
|
4
4
|
"description": "Uniform command line interface tool",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./cli.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"format": "prettier --write \"src/**/*.{js,ts,tsx}\""
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@uniformdev/uniform-new": "18.
|
|
37
|
+
"@uniformdev/uniform-new": "18.1.1-alpha.11+c81a052e2",
|
|
38
38
|
"diff": "^5.0.0",
|
|
39
39
|
"dotenv": "^16.0.3",
|
|
40
40
|
"https-proxy-agent": "^5.0.1",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"publishConfig": {
|
|
59
59
|
"access": "public"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "c81a052e2c13c6d3d786d7030f11a7724a52b2da"
|
|
62
62
|
}
|