@fabricorg/experiments 0.10.0 → 0.11.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/dist/bin/fx.cjs +4 -3
- package/dist/bin/fx.cjs.map +1 -1
- package/dist/bin/fx.js +4 -3
- package/dist/bin/fx.js.map +1 -1
- package/package.json +2 -2
package/dist/bin/fx.cjs
CHANGED
|
@@ -8657,7 +8657,7 @@ async function resolveHostedContext(options = {}) {
|
|
|
8657
8657
|
const tenantId = options.tenantId ?? env.FX_ORG_ID ?? profile?.orgId;
|
|
8658
8658
|
const bearerToken = options.bearerToken ?? (apiUrl ? await resolveGatewayBearer(apiUrl, {
|
|
8659
8659
|
env,
|
|
8660
|
-
databricksProfile: profile?.databricksProfile,
|
|
8660
|
+
databricksProfile: options.databricksProfile ?? profile?.databricksProfile,
|
|
8661
8661
|
tokenProvider: options.tokenProvider
|
|
8662
8662
|
}) : void 0);
|
|
8663
8663
|
return { profileName, apiUrl, apiKey, tenantId, bearerToken };
|
|
@@ -9368,7 +9368,7 @@ GLOBAL FLAGS
|
|
|
9368
9368
|
--api-key <key> push/preview/test publish: hosted API key
|
|
9369
9369
|
--profile <name> hosted profile (default: active profile)
|
|
9370
9370
|
--studio-url <url> login: branded Studio URL
|
|
9371
|
-
--databricks-profile <p>
|
|
9371
|
+
--databricks-profile <p> Databricks CLI profile used for Apps OAuth
|
|
9372
9372
|
--no-publish push: apply actions without publishing manifest
|
|
9373
9373
|
--name <name> test env: environment name (for example pr-1234)
|
|
9374
9374
|
--seed <dir> test env create: JSON fixture directory
|
|
@@ -9391,7 +9391,7 @@ GLOBAL FLAGS
|
|
|
9391
9391
|
-h, --help print this help
|
|
9392
9392
|
-v, --version print version
|
|
9393
9393
|
`;
|
|
9394
|
-
var VERSION2 = "0.
|
|
9394
|
+
var VERSION2 = "0.11.1";
|
|
9395
9395
|
function parse2(argv) {
|
|
9396
9396
|
const positional = [];
|
|
9397
9397
|
const flags = {};
|
|
@@ -9472,6 +9472,7 @@ async function main() {
|
|
|
9472
9472
|
}
|
|
9473
9473
|
const hosted = await resolveHostedContext({
|
|
9474
9474
|
profileName: args.flags.profile,
|
|
9475
|
+
databricksProfile: args.flags["databricks-profile"],
|
|
9475
9476
|
apiUrl: args.flags["api-url"],
|
|
9476
9477
|
apiKey: args.flags["api-key"],
|
|
9477
9478
|
tenantId: explicitTenantId
|