@fabricorg/experiments 0.11.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 +22 -33
package/dist/bin/fx.js
CHANGED
|
@@ -8654,7 +8654,7 @@ async function resolveHostedContext(options = {}) {
|
|
|
8654
8654
|
const tenantId = options.tenantId ?? env.FX_ORG_ID ?? profile?.orgId;
|
|
8655
8655
|
const bearerToken = options.bearerToken ?? (apiUrl ? await resolveGatewayBearer(apiUrl, {
|
|
8656
8656
|
env,
|
|
8657
|
-
databricksProfile: profile?.databricksProfile,
|
|
8657
|
+
databricksProfile: options.databricksProfile ?? profile?.databricksProfile,
|
|
8658
8658
|
tokenProvider: options.tokenProvider
|
|
8659
8659
|
}) : void 0);
|
|
8660
8660
|
return { profileName, apiUrl, apiKey, tenantId, bearerToken };
|
|
@@ -9365,7 +9365,7 @@ GLOBAL FLAGS
|
|
|
9365
9365
|
--api-key <key> push/preview/test publish: hosted API key
|
|
9366
9366
|
--profile <name> hosted profile (default: active profile)
|
|
9367
9367
|
--studio-url <url> login: branded Studio URL
|
|
9368
|
-
--databricks-profile <p>
|
|
9368
|
+
--databricks-profile <p> Databricks CLI profile used for Apps OAuth
|
|
9369
9369
|
--no-publish push: apply actions without publishing manifest
|
|
9370
9370
|
--name <name> test env: environment name (for example pr-1234)
|
|
9371
9371
|
--seed <dir> test env create: JSON fixture directory
|
|
@@ -9388,7 +9388,7 @@ GLOBAL FLAGS
|
|
|
9388
9388
|
-h, --help print this help
|
|
9389
9389
|
-v, --version print version
|
|
9390
9390
|
`;
|
|
9391
|
-
var VERSION2 = "0.11.
|
|
9391
|
+
var VERSION2 = "0.11.1";
|
|
9392
9392
|
function parse2(argv) {
|
|
9393
9393
|
const positional = [];
|
|
9394
9394
|
const flags = {};
|
|
@@ -9469,6 +9469,7 @@ async function main() {
|
|
|
9469
9469
|
}
|
|
9470
9470
|
const hosted = await resolveHostedContext({
|
|
9471
9471
|
profileName: args.flags.profile,
|
|
9472
|
+
databricksProfile: args.flags["databricks-profile"],
|
|
9472
9473
|
apiUrl: args.flags["api-url"],
|
|
9473
9474
|
apiKey: args.flags["api-key"],
|
|
9474
9475
|
tenantId: explicitTenantId
|