@forge/cli 6.5.0 → 6.6.0-next.14
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/CHANGELOG.md +162 -0
- package/npm-shrinkwrap.json +127 -125
- package/out/autocomplete/autocomplete-config.json +11 -0
- package/out/command-line/command.d.ts.map +1 -1
- package/out/command-line/command.js +1 -1
- package/out/command-line/controller/deploy-controller.d.ts +3 -2
- package/out/command-line/controller/deploy-controller.d.ts.map +1 -1
- package/out/command-line/controller/deploy-controller.js +9 -2
- package/out/command-line/controller/install-controller.d.ts +1 -0
- package/out/command-line/controller/install-controller.d.ts.map +1 -1
- package/out/command-line/controller/install-controller.js +25 -12
- package/out/command-line/controller/tunnel-controller.d.ts.map +1 -1
- package/out/command-line/controller/tunnel-controller.js +4 -4
- package/out/command-line/dependency-injection.d.ts +4 -0
- package/out/command-line/dependency-injection.d.ts.map +1 -1
- package/out/command-line/dependency-injection.js +18 -9
- package/out/command-line/environment.d.ts +1 -0
- package/out/command-line/environment.d.ts.map +1 -1
- package/out/command-line/environment.js +8 -8
- package/out/command-line/index.d.ts.map +1 -1
- package/out/command-line/index.js +2 -0
- package/out/command-line/register-app-commands.d.ts.map +1 -1
- package/out/command-line/register-app-commands.js +23 -23
- package/out/command-line/register-environment-commands.d.ts +4 -2
- package/out/command-line/register-environment-commands.d.ts.map +1 -1
- package/out/command-line/register-environment-commands.js +39 -4
- package/out/command-line/register-storage-commands.d.ts +11 -0
- package/out/command-line/register-storage-commands.d.ts.map +1 -0
- package/out/command-line/register-storage-commands.js +48 -0
- package/out/command-line/register-tunnel-commands.d.ts.map +1 -1
- package/out/command-line/register-tunnel-commands.js +1 -0
- package/out/command-line/view/deploy-view.d.ts +3 -2
- package/out/command-line/view/deploy-view.d.ts.map +1 -1
- package/out/command-line/view/deploy-view.js +9 -5
- package/out/command-line/view/install-view.d.ts +4 -7
- package/out/command-line/view/install-view.d.ts.map +1 -1
- package/out/command-line/view/install-view.js +4 -17
- package/out/command-line/view/tunnel-view.d.ts +1 -1
- package/out/command-line/view/tunnel-view.d.ts.map +1 -1
- package/out/command-line/view/tunnel-view.js +6 -1
- package/out/deploy/packager/nativeui-bundler.js +1 -1
- package/out/deploy/packager/runtime-bundler.js +1 -1
- package/out/entities/graphql-client.d.ts +7 -0
- package/out/entities/graphql-client.d.ts.map +1 -0
- package/out/entities/graphql-client.js +36 -0
- package/out/entities/list-indexes.d.ts +27 -0
- package/out/entities/list-indexes.d.ts.map +1 -0
- package/out/entities/list-indexes.js +61 -0
- package/out/environment/graphql-client.d.ts +10 -2
- package/out/environment/graphql-client.d.ts.map +1 -1
- package/out/environment/graphql-client.js +36 -1
- package/out/environment/list-environment.d.ts +17 -0
- package/out/environment/list-environment.d.ts.map +1 -0
- package/out/environment/list-environment.js +16 -0
- package/out/installations/graphql-client.d.ts +5 -4
- package/out/installations/graphql-client.d.ts.map +1 -1
- package/out/installations/graphql-client.js +15 -4
- package/out/migration-keys/graphql-client.js +1 -1
- package/out/service/installation-service.d.ts +8 -2
- package/out/service/installation-service.d.ts.map +1 -1
- package/out/service/installation-service.js +8 -2
- package/out/service/tunnel-service.d.ts +1 -0
- package/out/service/tunnel-service.d.ts.map +1 -1
- package/out/service/tunnel-service.js +2 -5
- package/package.json +10 -10
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../src/command-line/command.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,EAAE,EAAE,cAAc,EAAU,MAAM,WAAW,CAAC;AAE9D,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EAEL,MAAM,EAGN,UAAU,EAEV,gBAAgB,EAChB,+BAA+B,
|
|
1
|
+
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../src/command-line/command.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,EAAE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CAAC,GAAG,IAAI,EAAE,UAAU,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,YAAY,GAAG,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC;IAQ5E,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IA2B1C,iBAAiB,IAAI,OAAO,CAAC,IAAI,EAAE,IAAI,GAAG;QAAE,WAAW,EAAE,MAAM,CAAA;KAAE,CAAC;IASlE,UAAU,IAAI,OAAO,CAAC,IAAI,EAAE,IAAI,GAAG;QAAE,IAAI,EAAE,OAAO,CAAA;KAAE,CAAC;IAIrD,uBAAuB,IAAI,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC;IAI9C,yBAAyB,IAAI,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC;IAIvD,OAAO,CAAC,8BAA8B;IAW/B,eAAe,mBACJ,WAAW,IAAI,EAAE,IAAI,CAAC,4BAC7B,WAAW,IAAI,EAAE,IAAI,CAAC,mBA0F/B;YAGY,kBAAkB;YAUlB,mBAAmB;IAQjC,OAAO,CAAC,YAAY;IAgBpB,OAAO,CAAC,eAAe;IASvB,OAAO,CAAC,oBAAoB;IAyBrB,kBAAkB,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,IAAI;IAIlC,UAAU,CAAC,QAAQ,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC;YAehD,cAAc;IAqC5B,OAAO,CAAC,eAAe;IA0BvB,qBAAqB,IAAI,YAAY,CAAC,kBAAkB;CAGzD;AAiCD,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,SAAS,CAAC,OAAO,GAAG,YAAY,CAAC,kBAAkB,CAY7F"}
|
|
@@ -202,7 +202,7 @@ class Command {
|
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
204
|
environmentOption() {
|
|
205
|
-
return this.option('-e, --environment [environment]', cli_shared_1.Text.env.option(cli_shared_1.DEFAULT_ENVIRONMENT_OPTION
|
|
205
|
+
return this.option('-e, --environment [environment]', cli_shared_1.Text.env.option(cli_shared_1.DEFAULT_ENVIRONMENT_OPTION)).precondition(async (...args) => {
|
|
206
206
|
const environment = (0, environment_1.checkEnvironmentOption)(last(args).environment || cli_shared_1.DEFAULT_ENVIRONMENT_OPTION);
|
|
207
207
|
return { environment };
|
|
208
208
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AppConfigProvider, ConfigFile, HiddenError } from '@forge/cli-shared';
|
|
1
|
+
import { AppConfigProvider, AppEnvironmentClient, ConfigFile, HiddenError } from '@forge/cli-shared';
|
|
2
2
|
import { LintService } from '../../service/lint-service';
|
|
3
3
|
import { DeployView } from '../view/deploy-view';
|
|
4
4
|
import { InstallationService } from '../../service/installation-service';
|
|
@@ -27,9 +27,10 @@ export declare class DeployController {
|
|
|
27
27
|
private readonly lintService;
|
|
28
28
|
private readonly installationsService;
|
|
29
29
|
private readonly migrationKeysService;
|
|
30
|
+
private readonly appEnvironmentClient;
|
|
30
31
|
private readonly deployView;
|
|
31
32
|
private readonly packageUploadDeployCommand;
|
|
32
|
-
constructor(appConfigProvider: AppConfigProvider, configFile: ConfigFile, lintService: LintService, installationsService: InstallationService, migrationKeysService: MigrationKeysService, deployView: DeployView, packageUploadDeployCommand: PackageUploadDeployCommand);
|
|
33
|
+
constructor(appConfigProvider: AppConfigProvider, configFile: ConfigFile, lintService: LintService, installationsService: InstallationService, migrationKeysService: MigrationKeysService, appEnvironmentClient: AppEnvironmentClient, deployView: DeployView, packageUploadDeployCommand: PackageUploadDeployCommand);
|
|
33
34
|
private isMpacProductionApp;
|
|
34
35
|
private connectKeyDeleted;
|
|
35
36
|
private connectKeyChanged;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deploy-controller.d.ts","sourceRoot":"","sources":["../../../src/command-line/controller/deploy-controller.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"deploy-controller.d.ts","sourceRoot":"","sources":["../../../src/command-line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BAP1B,iBAAiB,EAAE,iBAAiB,EACpC,UAAU,EAAE,UAAU,EACtB,WAAW,EAAE,WAAW,EACxB,oBAAoB,EAAE,mBAAmB,EACzC,oBAAoB,EAAE,oBAAoB,EAC1C,oBAAoB,EAAE,oBAAoB,EAC1C,UAAU,EAAE,UAAU,EACtB,0BAA0B,EAAE,0BAA0B;IAGzE,OAAO,CAAC,mBAAmB;IAI3B,OAAO,CAAC,iBAAiB;IAIzB,OAAO,CAAC,iBAAiB;YAGX,wBAAwB;YAwBxB,mBAAmB;YAiBnB,oBAAoB;IAYrB,GAAG,CAAC,EAAE,WAAW,EAAE,MAAM,EAAE,EAAE,aAAa,GAAG,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC;CAsD3F"}
|
|
@@ -29,12 +29,13 @@ class InvalidConnectKeyError extends cli_shared_1.HiddenError {
|
|
|
29
29
|
}
|
|
30
30
|
exports.InvalidConnectKeyError = InvalidConnectKeyError;
|
|
31
31
|
class DeployController {
|
|
32
|
-
constructor(appConfigProvider, configFile, lintService, installationsService, migrationKeysService, deployView, packageUploadDeployCommand) {
|
|
32
|
+
constructor(appConfigProvider, configFile, lintService, installationsService, migrationKeysService, appEnvironmentClient, deployView, packageUploadDeployCommand) {
|
|
33
33
|
this.appConfigProvider = appConfigProvider;
|
|
34
34
|
this.configFile = configFile;
|
|
35
35
|
this.lintService = lintService;
|
|
36
36
|
this.installationsService = installationsService;
|
|
37
37
|
this.migrationKeysService = migrationKeysService;
|
|
38
|
+
this.appEnvironmentClient = appEnvironmentClient;
|
|
38
39
|
this.deployView = deployView;
|
|
39
40
|
this.packageUploadDeployCommand = packageUploadDeployCommand;
|
|
40
41
|
}
|
|
@@ -85,10 +86,15 @@ class DeployController {
|
|
|
85
86
|
}
|
|
86
87
|
}
|
|
87
88
|
async verifyPostDeployment(environment) {
|
|
89
|
+
var _a, _b;
|
|
88
90
|
const needsVersionUpdate = await this.installationsService.hasOutdatedProductInstallation(environment);
|
|
89
91
|
if (needsVersionUpdate) {
|
|
90
92
|
this.deployView.displayOutdatedInstallationsMessage();
|
|
91
93
|
}
|
|
94
|
+
const manifest = await this.configFile.readConfig();
|
|
95
|
+
if ((_b = (_a = manifest === null || manifest === void 0 ? void 0 : manifest.app) === null || _a === void 0 ? void 0 : _a.storage) === null || _b === void 0 ? void 0 : _b.entities) {
|
|
96
|
+
this.deployView.displayIndexingCommand((0, cli_shared_1.environmentToOption)(environment));
|
|
97
|
+
}
|
|
92
98
|
}
|
|
93
99
|
async run({ environment, verify }) {
|
|
94
100
|
this.deployView.displayStart(environment);
|
|
@@ -107,6 +113,7 @@ class DeployController {
|
|
|
107
113
|
const { id } = await this.appConfigProvider();
|
|
108
114
|
const handlers = await this.configFile.getAppHandlers();
|
|
109
115
|
const resources = await this.configFile.getResources();
|
|
116
|
+
const appDetails = await this.appEnvironmentClient.getAppEnvironmentDetails(id, environment);
|
|
110
117
|
let hasProdInstallations = false;
|
|
111
118
|
try {
|
|
112
119
|
const prodInstallations = await this.installationsService.listAppInstallations({
|
|
@@ -119,7 +126,7 @@ class DeployController {
|
|
|
119
126
|
throw err;
|
|
120
127
|
}
|
|
121
128
|
}
|
|
122
|
-
const analytics = await this.deployView.reportDeploymentProgress(
|
|
129
|
+
const analytics = await this.deployView.reportDeploymentProgress(appDetails, hasProdInstallations, () => this.packageUploadDeployCommand.execute({ handlers, resources, environmentKey: environment }));
|
|
123
130
|
if (verify) {
|
|
124
131
|
await this.verifyPostDeployment(environment);
|
|
125
132
|
}
|
|
@@ -31,6 +31,7 @@ export declare class InstallController {
|
|
|
31
31
|
private promptForUpgrade;
|
|
32
32
|
private getUniqueInstallationProductsFromScopes;
|
|
33
33
|
run({ environment, site, product, upgrade, confirmScopes, nonInteractive }: InstallViewProps): Promise<void>;
|
|
34
|
+
private extractAddedScopes;
|
|
34
35
|
}
|
|
35
36
|
export {};
|
|
36
37
|
//# sourceMappingURL=install-controller.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"install-controller.d.ts","sourceRoot":"","sources":["../../../src/command-line/controller/install-controller.ts"],"names":[],"mappings":";AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"install-controller.d.ts","sourceRoot":"","sources":["../../../src/command-line/controller/install-controller.ts"],"names":[],"mappings":";AAAA,OAAO,EAEL,iBAAiB,EAEjB,UAAU,EAEV,EAAE,EAUF,iBAAiB,EAClB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAA6B,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACpG,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnD,UAAU,gBAAgB;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,aAAa,EAAE,OAAO,CAAC;CACxB;AAsBD,qBAAa,iBAAkB,SAAQ,KAAK;gBAC9B,WAAW,EAAE,MAAM;CAGhC;AASD,qBAAa,iBAAiB;IAE1B,OAAO,CAAC,QAAQ,CAAC,iBAAiB;IAClC,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,EAAE;IACnB,OAAO,CAAC,QAAQ,CAAC,qBAAqB;IACtC,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IACpC,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,YAAY;gBANZ,iBAAiB,EAAE,iBAAiB,EACpC,UAAU,EAAE,UAAU,EACtB,EAAE,EAAE,EAAE,EACN,qBAAqB,EAAE,qBAAqB,EAC5C,mBAAmB,EAAE,mBAAmB,EACxC,WAAW,EAAE,WAAW,EACxB,YAAY,EAAE,iBAAiB;YAGpC,cAAc;YAmBd,gBAAgB;YAuChB,gBAAgB;YAKhB,aAAa;YAeb,gBAAgB;IAqB9B,OAAO,CAAC,uCAAuC;IAalC,GAAG,CAAC,EACf,WAAW,EACX,IAAI,EACJ,OAAO,EACP,OAAO,EACP,aAAa,EACb,cAAc,EACf,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC;YAmHrB,kBAAkB;CAYjC"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.InstallController = exports.NoDeploymentError = void 0;
|
|
4
4
|
const cli_shared_1 = require("@forge/cli-shared");
|
|
5
|
+
const manifest_1 = require("@forge/manifest");
|
|
5
6
|
class NoDeploymentError extends Error {
|
|
6
7
|
constructor(environment) {
|
|
7
8
|
super(cli_shared_1.Text.install.error.noDeploymentFound((0, cli_shared_1.environmentToOption)(environment)));
|
|
@@ -34,7 +35,7 @@ class InstallController {
|
|
|
34
35
|
}
|
|
35
36
|
}
|
|
36
37
|
}
|
|
37
|
-
async installOrUpgrade(upgrade, environment, site, product, appId, text) {
|
|
38
|
+
async installOrUpgrade(upgrade, environment, environmentType, site, product, appId, text) {
|
|
38
39
|
return this.ui.displayProgress(async () => {
|
|
39
40
|
if (upgrade) {
|
|
40
41
|
const isAlreadyUpdated = await this.installationService.upgradeInstallation(site, product, environment, appId);
|
|
@@ -48,7 +49,7 @@ class InstallController {
|
|
|
48
49
|
});
|
|
49
50
|
return false;
|
|
50
51
|
}
|
|
51
|
-
}, text.cmd.start(
|
|
52
|
+
}, text.cmd.start(environment, environmentType, cli_shared_1.environmentToOption), (alreadyUpdated) => {
|
|
52
53
|
if (alreadyUpdated) {
|
|
53
54
|
return cli_shared_1.Text.upgrade.alreadyUpdated.spinner;
|
|
54
55
|
}
|
|
@@ -78,11 +79,12 @@ class InstallController {
|
|
|
78
79
|
product: productOption,
|
|
79
80
|
environment: environmentOption
|
|
80
81
|
});
|
|
81
|
-
const { site, product, environmentKey } = await this.installView.promptForUpgrade(installations);
|
|
82
|
+
const { site, product, environmentKey, environmentType } = await this.installView.promptForUpgrade(installations);
|
|
82
83
|
return {
|
|
83
84
|
site: (0, cli_shared_1.validateSite)(site, product),
|
|
84
85
|
product: (0, cli_shared_1.capitalizeProduct)(product),
|
|
85
|
-
environment: environmentKey
|
|
86
|
+
environment: environmentKey,
|
|
87
|
+
environmentType
|
|
86
88
|
};
|
|
87
89
|
}
|
|
88
90
|
getUniqueInstallationProductsFromScopes(scopes) {
|
|
@@ -100,7 +102,7 @@ class InstallController {
|
|
|
100
102
|
return products.size > 0 ? Array.from(products) : undefined;
|
|
101
103
|
}
|
|
102
104
|
async run({ environment, site, product, upgrade, confirmScopes, nonInteractive }) {
|
|
103
|
-
var _a;
|
|
105
|
+
var _a, _b;
|
|
104
106
|
const { id } = await this.appConfigProvider();
|
|
105
107
|
const text = upgrade ? cli_shared_1.Text.upgrade : cli_shared_1.Text.install;
|
|
106
108
|
if (upgrade && (!site || !product)) {
|
|
@@ -118,31 +120,34 @@ class InstallController {
|
|
|
118
120
|
const hasDefaultReadMeScope = await this.featureFlags.readMeScopeAddedByXLS();
|
|
119
121
|
this.ui.debug(`appId ${id} has read:me scope added by default?: ${hasDefaultReadMeScope}`);
|
|
120
122
|
const environmentPermissions = await this.installationService.getAppEnvironmentPermissions(id, environment);
|
|
121
|
-
if (!environmentPermissions ||
|
|
122
|
-
(hasDefaultReadMeScope && (!(environmentPermissions === null || environmentPermissions === void 0 ? void 0 : environmentPermissions.scopes) || environmentPermissions.scopes.length === 0))) {
|
|
123
|
+
if (!environmentPermissions || (hasDefaultReadMeScope && !((_a = environmentPermissions.scopes) === null || _a === void 0 ? void 0 : _a.length))) {
|
|
123
124
|
this.ui.error(new NoDeploymentError(environment), { pad: false });
|
|
124
125
|
return;
|
|
125
126
|
}
|
|
126
127
|
if (environmentPermissions.scopes === undefined) {
|
|
127
128
|
environmentPermissions.scopes = [];
|
|
128
129
|
}
|
|
129
|
-
const { scopes: environmentScopes } = environmentPermissions;
|
|
130
|
+
const { scopes: environmentScopes, environmentType } = environmentPermissions;
|
|
130
131
|
const [{ permissions }, manifestEgressEntries] = await Promise.all([
|
|
131
132
|
this.configFile.readConfig(),
|
|
132
133
|
this.configFile.getEgressPermissions()
|
|
133
134
|
]);
|
|
134
135
|
const manifestEgressAddresses = (0, cli_shared_1.flatMap)(manifestEgressEntries, ({ domains }) => domains !== null && domains !== void 0 ? domains : []);
|
|
135
|
-
const manifestScopes = (
|
|
136
|
-
|
|
136
|
+
const manifestScopes = new Set((_b = permissions === null || permissions === void 0 ? void 0 : permissions.scopes) !== null && _b !== void 0 ? _b : []);
|
|
137
|
+
if (hasDefaultReadMeScope) {
|
|
138
|
+
manifestScopes.add('read:me');
|
|
139
|
+
}
|
|
140
|
+
const addedScopes = await this.extractAddedScopes(environmentPermissions);
|
|
141
|
+
const scopesConfirmationResult = await this.installView.promptForPermissionsConfirmation(environmentPermissions, addedScopes, [...manifestScopes], manifestEgressAddresses, environment, confirmScopes, !!nonInteractive, text);
|
|
137
142
|
if (!scopesConfirmationResult)
|
|
138
143
|
return;
|
|
139
|
-
const isAlreadyUpdated = await this.installOrUpgrade(upgrade, environment, site, product, id, text);
|
|
144
|
+
const isAlreadyUpdated = await this.installOrUpgrade(upgrade, environment, environmentType, site, product, id, text);
|
|
140
145
|
if (isAlreadyUpdated) {
|
|
141
146
|
this.ui.info(cli_shared_1.Text.upgrade.alreadyUpdated.banner(environment, cli_shared_1.environmentToOption, product, site.host));
|
|
142
147
|
}
|
|
143
148
|
else {
|
|
144
149
|
this.ui.emptyLine();
|
|
145
|
-
this.ui.info(text.success.banner(environment, cli_shared_1.environmentToOption, product, site.host));
|
|
150
|
+
this.ui.info(text.success.banner(environment, environmentType, cli_shared_1.environmentToOption, product, site.host));
|
|
146
151
|
const uniqueProductsFromScopes = this.getUniqueInstallationProductsFromScopes(environmentScopes);
|
|
147
152
|
if (!uniqueProductsFromScopes || uniqueProductsFromScopes.length <= 1)
|
|
148
153
|
return;
|
|
@@ -160,5 +165,13 @@ class InstallController {
|
|
|
160
165
|
this.ui.warn(cli_shared_1.Text.install.multiProductScopesDetected(productsToInstall, productsToUpgrade, site.host, environment, cli_shared_1.environmentToOption));
|
|
161
166
|
}
|
|
162
167
|
}
|
|
168
|
+
async extractAddedScopes({ addedScopes }) {
|
|
169
|
+
const isAutoConsentAllowed = await this.featureFlags.isAutoConsentAllowed();
|
|
170
|
+
const scopesWithInteractiveConsent = (0, manifest_1.getScopesWithInteractiveConsent)();
|
|
171
|
+
return addedScopes.map((scope) => ({
|
|
172
|
+
name: scope,
|
|
173
|
+
requiresInteractiveConsent: isAutoConsentAllowed ? scopesWithInteractiveConsent.has(scope) : undefined
|
|
174
|
+
}));
|
|
175
|
+
}
|
|
163
176
|
}
|
|
164
177
|
exports.InstallController = InstallController;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tunnel-controller.d.ts","sourceRoot":"","sources":["../../../src/command-line/controller/tunnel-controller.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAEb,iBAAiB,EAGjB,+BAA+B,EAChC,MAAM,mBAAmB,CAAC;AAG3B,OAAO,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAChF,OAAO,EAAE,mBAAmB,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AACjG,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,qBAAa,gBAAgB;IAEzB,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAAQ,CAAC,iBAAiB;IAClC,OAAO,CAAC,QAAQ,CAAC,kBAAkB;IACnC,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IACpC,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,YAAY;gBALZ,gBAAgB,EAAE,sBAAsB,EACx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 -14,17 +14,17 @@ class TunnelController {
|
|
|
14
14
|
}
|
|
15
15
|
async run(tunnelOptions, ui) {
|
|
16
16
|
const creds = await (0, cli_shared_1.getCredentialStore)(ui).getCredentials();
|
|
17
|
-
const
|
|
17
|
+
const localTunnelErrorCallback = this.tunnelView.getTunnelErrorHandler(cli_shared_1.exitOnError);
|
|
18
|
+
this.tunnelView.dockerPreamble(tunnelOptions.environment);
|
|
18
19
|
if (await this.featureFlags.isNodeRuntime()) {
|
|
19
|
-
return await this.nodeTunnelService.run(tunnelOptions, creds, ui.debugEnabled
|
|
20
|
+
return await this.nodeTunnelService.run(tunnelOptions, creds, ui.debugEnabled);
|
|
20
21
|
}
|
|
21
22
|
if (process.env.FORGE_DEV_TUNNEL) {
|
|
22
|
-
return await this.localTunnelService.run(tunnelOptions, creds, ui.debugEnabled,
|
|
23
|
+
return await this.localTunnelService.run(tunnelOptions, creds, ui.debugEnabled, localTunnelErrorCallback);
|
|
23
24
|
}
|
|
24
25
|
await this.runDockerTunnel(tunnelOptions, creds, ui.debugEnabled);
|
|
25
26
|
}
|
|
26
27
|
async runDockerTunnel(tunnelOptions, creds, debugEnabled) {
|
|
27
|
-
this.tunnelView.dockerPreamble();
|
|
28
28
|
try {
|
|
29
29
|
const imageDownloadChildProcess = await this.dockerTunnelService.bootstrapDocker();
|
|
30
30
|
await this.tunnelView.reportDownloadProgress(imageDownloadChildProcess, this.analyticsService.getImageDownloadReporters(creds));
|
|
@@ -9,6 +9,7 @@ import { AddContributorCommand } from '../contributors/add-contributor';
|
|
|
9
9
|
import { ListContributorsCommand } from '../contributors/list-contributors';
|
|
10
10
|
import { RemoveContributorsCommand } from '../contributors/remove-contributors';
|
|
11
11
|
import { CreateEnvironmentCommand } from '../environment/create-environment';
|
|
12
|
+
import { ListEnvironmentCommand } from '../environment/list-environment';
|
|
12
13
|
import { InstallAppSiteCommand } from '../installations/install-app-site';
|
|
13
14
|
import { UninstallAppCommand } from '../installations/uninstall-app';
|
|
14
15
|
import { InstallationService } from '../service/installation-service';
|
|
@@ -26,6 +27,7 @@ import { SettingsController } from './controller/settings-controller';
|
|
|
26
27
|
import { TunnelController } from './controller/tunnel-controller';
|
|
27
28
|
import { StubController } from './controller/stubController';
|
|
28
29
|
import { PrerequisitesController } from './controller/prerequisites-controller';
|
|
30
|
+
import { ListEntitiesIndexesCommand } from '../entities/list-indexes';
|
|
29
31
|
export declare const getDependencies: (cliDetails: CLIDetails | undefined) => Promise<{
|
|
30
32
|
ui: CommandLineUI;
|
|
31
33
|
cmd: Command<[], import("./command").DefaultOpts>;
|
|
@@ -50,8 +52,10 @@ export declare const getDependencies: (cliDetails: CLIDetails | undefined) => Pr
|
|
|
50
52
|
listContributorCommand: ListContributorsCommand;
|
|
51
53
|
removeContributorsCommand: RemoveContributorsCommand;
|
|
52
54
|
createEnvironmentCommand: CreateEnvironmentCommand;
|
|
55
|
+
listEnvironmentCommand: ListEnvironmentCommand;
|
|
53
56
|
viewAppLogsCommand: ViewAppLogsCommand;
|
|
54
57
|
getWebTriggerURLCommand: GetWebTriggerURLCommand;
|
|
58
|
+
listEntitiesIndexesCommand: ListEntitiesIndexesCommand;
|
|
55
59
|
};
|
|
56
60
|
services: {
|
|
57
61
|
featureFlagService: FeatureFlagService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dependency-injection.d.ts","sourceRoot":"","sources":["../../src/command-line/dependency-injection.ts"],"names":[],"mappings":"AAMA,OAAO,EASL,UAAU,EACV,aAAa,EAEb,UAAU,EAGV,gBAAgB,EAGhB,kBAAkB,EAUlB,YAAY,EACZ,aAAa,EAOb,kBAAkB,EAIlB,kBAAkB,
|
|
1
|
+
{"version":3,"file":"dependency-injection.d.ts","sourceRoot":"","sources":["../../src/command-line/dependency-injection.ts"],"names":[],"mappings":"AAMA,OAAO,EASL,UAAU,EACV,aAAa,EAEb,UAAU,EAGV,gBAAgB,EAGhB,kBAAkB,EAUlB,YAAY,EACZ,aAAa,EAOb,kBAAkB,EAI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,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAWlE,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAIhF,OAAO,EAAE,0BAA0B,EAAE,MAAM,0BAA0B,CAAC;AAEtE,eAAO,MAAM,eAAe,eAAsB,UAAU,GAAG,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmTvE,CAAC;AAGF,aAAK,WAAW,CAAC,CAAC,IAAI,CAAC,SAAS,OAAO,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC;AAC3D,oBAAY,YAAY,GAAG,WAAW,CAAC,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC,CAAC"}
|
|
@@ -21,9 +21,11 @@ const add_contributor_1 = require("../contributors/add-contributor");
|
|
|
21
21
|
const list_contributors_1 = require("../contributors/list-contributors");
|
|
22
22
|
const remove_contributors_1 = require("../contributors/remove-contributors");
|
|
23
23
|
const graphql_client_4 = require("../contributors/graphql-client");
|
|
24
|
+
const graphql_client_5 = require("../entities/graphql-client");
|
|
24
25
|
const create_environment_1 = require("../environment/create-environment");
|
|
25
|
-
const
|
|
26
|
-
const graphql_client_6 = require("../
|
|
26
|
+
const list_environment_1 = require("../environment/list-environment");
|
|
27
|
+
const graphql_client_6 = require("../environment/graphql-client");
|
|
28
|
+
const graphql_client_7 = require("../installations/graphql-client");
|
|
27
29
|
const site_translation_1 = require("../installations/site-translation");
|
|
28
30
|
const install_app_site_1 = require("../installations/install-app-site");
|
|
29
31
|
const uninstall_app_1 = require("../installations/uninstall-app");
|
|
@@ -59,12 +61,13 @@ const lint_view_1 = require("./view/lint-view");
|
|
|
59
61
|
const lite_lint_view_1 = require("./view/lite-lint-view");
|
|
60
62
|
const settings_view_1 = require("./view/settings-view");
|
|
61
63
|
const tunnel_view_1 = require("./view/tunnel-view");
|
|
62
|
-
const
|
|
64
|
+
const graphql_client_8 = require("../webtrigger/graphql-client");
|
|
63
65
|
const stubController_1 = require("./controller/stubController");
|
|
64
66
|
const prerequisites_controller_1 = require("./controller/prerequisites-controller");
|
|
65
67
|
const runtime_bundler_1 = require("../deploy/packager/runtime-bundler");
|
|
66
68
|
const nativeui_bundler_1 = require("../deploy/packager/nativeui-bundler");
|
|
67
69
|
const sentry_1 = require("./sentry");
|
|
70
|
+
const list_indexes_1 = require("../entities/list-indexes");
|
|
68
71
|
const getDependencies = async (cliDetails) => {
|
|
69
72
|
let cmd;
|
|
70
73
|
const ui = new cli_shared_1.CommandLineUI(() => cmd.verbose);
|
|
@@ -120,8 +123,9 @@ const getDependencies = async (cliDetails) => {
|
|
|
120
123
|
const addContributorCommand = new add_contributor_1.AddContributorCommand(contributorClient, assertiveAppConfigReader);
|
|
121
124
|
const listContributorCommand = new list_contributors_1.ListContributorsCommand(contributorClient, assertiveAppConfigReader);
|
|
122
125
|
const removeContributorsCommand = new remove_contributors_1.RemoveContributorsCommand(contributorClient, assertiveAppConfigReader);
|
|
123
|
-
const environmentClient = new
|
|
126
|
+
const environmentClient = new graphql_client_6.GraphqlClient(graphQLClient);
|
|
124
127
|
const createEnvironmentCommand = new create_environment_1.CreateEnvironmentCommand(environmentClient, assertiveAppConfigReader);
|
|
128
|
+
const listEnvironmentCommand = new list_environment_1.ListEnvironmentCommand(environmentClient, assertiveAppConfigReader);
|
|
125
129
|
const migrationKeysClient = new graphql_client_2.GraphqlClient(graphQLClient);
|
|
126
130
|
const migrationKeysService = new migration_keys_service_1.MigrationKeysService(migrationKeysClient, assertiveAppConfigReader);
|
|
127
131
|
const appEnvironmentClient = new cli_shared_1.AppEnvironmentsGraphqlClient(graphQLClient);
|
|
@@ -129,13 +133,16 @@ const getDependencies = async (cliDetails) => {
|
|
|
129
133
|
const globalEdgeClient = new cli_shared_1.GlobalEdgeHttpClient(globalEdgeFetchClient);
|
|
130
134
|
const logsClient = new cli_shared_1.LogsGraphQLClient(graphQLClient);
|
|
131
135
|
const viewAppLogsCommand = new cli_shared_1.ViewAppLogsCommand(assertiveAppConfigReader, appEnvironmentClient, globalEdgeClient, logsClient);
|
|
136
|
+
const appOauthClientGraphql = new cli_shared_1.AppOauthClientGraphqlClient(graphQLClient);
|
|
137
|
+
const entitiesClient = new graphql_client_5.EntitiesGraphqlClient(graphQLClient);
|
|
138
|
+
const listEntitiesIndexesCommand = new list_indexes_1.ListEntitiesIndexesCommand(assertiveAppConfigReader, appOauthClientGraphql, entitiesClient);
|
|
132
139
|
const bitbucketTranslation = new site_translation_1.BitbucketTranslator();
|
|
133
140
|
const cloudProductTranslation = new site_translation_1.CloudIdTranslator(graphQLClient);
|
|
134
|
-
const installationsClient = new
|
|
141
|
+
const installationsClient = new graphql_client_7.InstallationsGraphqlClient(graphQLClient, cloudProductTranslation, bitbucketTranslation, cli_shared_1.pause);
|
|
135
142
|
const installAppSiteCommand = new install_app_site_1.InstallAppSiteCommand(assertiveAppConfigReader, installationsClient);
|
|
136
143
|
const uninstallAppCommand = new uninstall_app_1.UninstallAppCommand(assertiveAppConfigReader, installationsClient);
|
|
137
144
|
const deployMonitorClient = new deploy_1.DeployMonitorGraphqlClient(graphQLClient);
|
|
138
|
-
const webTriggerGraphqlClient = new
|
|
145
|
+
const webTriggerGraphqlClient = new graphql_client_8.WebTriggerGraphQLClient(graphQLClient);
|
|
139
146
|
const archiverFactory = () => new deploy_1.ZipArchiver(ui);
|
|
140
147
|
const uploaderArtifactClient = new deploy_1.ArtifactGraphQLClient(graphQLClient);
|
|
141
148
|
const triggerDeployClient = new deploy_1.TriggerDeployGraphQLClient(graphQLClient);
|
|
@@ -148,7 +155,7 @@ const getDependencies = async (cliDetails) => {
|
|
|
148
155
|
const getWebTriggerURLCommand = new get_webtrigger_url_1.GetWebTriggerURLCommand(assertiveAppConfigReader, installationsClient, appEnvironmentClient, webTriggerGraphqlClient);
|
|
149
156
|
const autocompleteController = new autocomplete_controller_1.AutocompleteController(ui);
|
|
150
157
|
const installationsService = new installation_service_1.InstallationService(assertiveAppConfigReader, installationsClient, installationsClient);
|
|
151
|
-
const installView = new install_view_1.InstallView(ui
|
|
158
|
+
const installView = new install_view_1.InstallView(ui);
|
|
152
159
|
const installController = new install_controller_1.InstallController(assertiveAppConfigReader, configFile, ui, installAppSiteCommand, installationsService, installView, featureFlagService);
|
|
153
160
|
const feedbackController = new feedback_controller_1.FeedbackController(credentialStore, feedbackPostClient);
|
|
154
161
|
const lintService = new lint_service_1.LintService(configFile, fileReader);
|
|
@@ -159,7 +166,7 @@ const getDependencies = async (cliDetails) => {
|
|
|
159
166
|
const iframeResizerScriptService = new cli_shared_1.IframeResizerScriptService();
|
|
160
167
|
const resourcePackagingService = new resource_packaging_service_1.ResourcePackagingService(archiverFactory, fileReader, process.cwd(), bridgeScriptService, iframeResizerScriptService);
|
|
161
168
|
const packageUploadDeployCommand = new deploy_1.PackageUploadDeployCommand(appPackager, archiveUploader, deployer, resourcePackagingService);
|
|
162
|
-
const deployController = new deploy_controller_1.DeployController(assertiveAppConfigReader, configFile, lintService, installationsService, migrationKeysService, deployView, packageUploadDeployCommand);
|
|
169
|
+
const deployController = new deploy_controller_1.DeployController(assertiveAppConfigReader, configFile, lintService, installationsService, migrationKeysService, appEnvironmentClient, deployView, packageUploadDeployCommand);
|
|
163
170
|
const createSandbox = async (cfg) => new runtime_1.NodeSandbox(cfg);
|
|
164
171
|
const functionHost = new tunnel_1.LocalFunctionHost(configFile, ui, null, createSandbox, fs_1.promises, featureFlagService);
|
|
165
172
|
const localInvocationService = new tunnel_1.LocalInvocationService(configFile, ui, runtime_1.notImplementedInspector);
|
|
@@ -199,8 +206,10 @@ const getDependencies = async (cliDetails) => {
|
|
|
199
206
|
listContributorCommand,
|
|
200
207
|
removeContributorsCommand,
|
|
201
208
|
createEnvironmentCommand,
|
|
209
|
+
listEnvironmentCommand,
|
|
202
210
|
viewAppLogsCommand,
|
|
203
|
-
getWebTriggerURLCommand
|
|
211
|
+
getWebTriggerURLCommand,
|
|
212
|
+
listEntitiesIndexesCommand
|
|
204
213
|
},
|
|
205
214
|
services: {
|
|
206
215
|
featureFlagService,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"environment.d.ts","sourceRoot":"","sources":["../../src/command-line/environment.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"environment.d.ts","sourceRoot":"","sources":["../../src/command-line/environment.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,yBAAyB,cAAe,MAAM,KAAG,MAK7D,CAAC;AAEF,eAAO,MAAM,sBAAsB,cAAe,MAAM,KAAG,MAE1D,CAAC"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.checkEnvironmentOption = void 0;
|
|
3
|
+
exports.checkEnvironmentOption = exports.validateEnvironmentOption = void 0;
|
|
4
4
|
const cli_shared_1 = require("@forge/cli-shared");
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
throw new cli_shared_3.ValidationError(cli_shared_2.Text.env.invalid(cli_shared_1.VALID_ENVIRONMENT_OPTIONS));
|
|
5
|
+
const ENVIRONMENT_KEY_PATTERN = /^[a-zA-Z0-9-_]+$/;
|
|
6
|
+
const validateEnvironmentOption = (userValue) => {
|
|
7
|
+
if (!ENVIRONMENT_KEY_PATTERN.test(userValue)) {
|
|
8
|
+
throw new cli_shared_1.ValidationError(cli_shared_1.Text.env.invalid);
|
|
10
9
|
}
|
|
11
10
|
return userValue;
|
|
12
|
-
}
|
|
11
|
+
};
|
|
12
|
+
exports.validateEnvironmentOption = validateEnvironmentOption;
|
|
13
13
|
const checkEnvironmentOption = (userValue) => {
|
|
14
|
-
return (0, cli_shared_1.optionToEnvironment)(validateEnvironmentOption(userValue));
|
|
14
|
+
return (0, cli_shared_1.optionToEnvironment)((0, exports.validateEnvironmentOption)(userValue));
|
|
15
15
|
};
|
|
16
16
|
exports.checkEnvironmentOption = checkEnvironmentOption;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/command-line/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAmB,YAAY,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/command-line/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAmB,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAoBvE,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,YAAY,QAelD;AAQD,eAAO,MAAM,IAAI,QAAa,QAAQ,IAAI,CAiBzC,CAAC"}
|
|
@@ -19,6 +19,7 @@ const register_settings_commands_1 = require("./register-settings-commands");
|
|
|
19
19
|
const register_providers_commands_1 = require("./register-providers-commands");
|
|
20
20
|
const register_contributors_commands_1 = require("./register-contributors-commands");
|
|
21
21
|
const register_environment_commands_1 = require("./register-environment-commands");
|
|
22
|
+
const register_storage_commands_1 = require("./register-storage-commands");
|
|
22
23
|
function registerCommands(deps) {
|
|
23
24
|
(0, register_autocomplete_commands_1.registerCommands)(deps);
|
|
24
25
|
(0, register_authentication_command_1.registerCommands)(deps);
|
|
@@ -33,6 +34,7 @@ function registerCommands(deps) {
|
|
|
33
34
|
(0, register_feedback_commands_1.registerCommands)(deps);
|
|
34
35
|
(0, register_settings_commands_1.registerCommands)(deps);
|
|
35
36
|
(0, register_providers_commands_1.registerCommands)(deps);
|
|
37
|
+
(0, register_storage_commands_1.registerCommands)(deps);
|
|
36
38
|
}
|
|
37
39
|
exports.registerCommands = registerCommands;
|
|
38
40
|
const registerEvents = ({ ui }) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register-app-commands.d.ts","sourceRoot":"","sources":["../../src/command-line/register-app-commands.ts"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"register-app-commands.d.ts","sourceRoot":"","sources":["../../src/command-line/register-app-commands.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,sBAAsB,EAEtB,aAAa,EACb,gBAAgB,EAEjB,MAAM,mBAAmB,CAAC;AAG3B,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAqBtD,wBAAgB,wBAAwB,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAY7E;AAED,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAsB,oBAAoB,CACxC,EAAE,EAAE,aAAa,EACjB,gBAAgB,EAAE,gBAAgB,EAClC,IAAI,EAAE,MAAM,EACZ,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,2BAA2B,GACnD,OAAO,CAAC,sBAAsB,CAAC,CAwFjC;AA0CD,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,YAAY,QAGlD"}
|
|
@@ -15,12 +15,12 @@ var TemplateCategory;
|
|
|
15
15
|
})(TemplateCategory || (TemplateCategory = {}));
|
|
16
16
|
function ensureDirectoryDoesntExist(directory) {
|
|
17
17
|
if (fs_1.default.existsSync(directory)) {
|
|
18
|
-
throw new
|
|
18
|
+
throw new cli_shared_2.ValidationError(cli_shared_2.Text.create.error.directory.exists(directory));
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
function ensureValidNameLength(name) {
|
|
22
22
|
if (name.length <= 0 || name.length > 50) {
|
|
23
|
-
throw new
|
|
23
|
+
throw new cli_shared_2.ValidationError(cli_shared_2.Text.create.error.name.tooLong());
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
function directoryNameFromAppName(appName) {
|
|
@@ -36,7 +36,7 @@ exports.directoryNameFromAppName = directoryNameFromAppName;
|
|
|
36
36
|
async function createCommandHandler(ui, createAppCommand, name, { template, directory }) {
|
|
37
37
|
if (directory) {
|
|
38
38
|
ensureDirectoryDoesntExist(directory);
|
|
39
|
-
ui.info(
|
|
39
|
+
ui.info(cli_shared_2.Text.create.intro(directory));
|
|
40
40
|
}
|
|
41
41
|
else {
|
|
42
42
|
directory = directoryNameFromAppName(name) || template;
|
|
@@ -44,12 +44,12 @@ async function createCommandHandler(ui, createAppCommand, name, { template, dire
|
|
|
44
44
|
ensureDirectoryDoesntExist(directory);
|
|
45
45
|
}
|
|
46
46
|
const currentDirectory = process.cwd();
|
|
47
|
-
ui.info(
|
|
47
|
+
ui.info(cli_shared_2.Text.create.introWithCurrentDirectory(currentDirectory));
|
|
48
48
|
}
|
|
49
|
-
ui.info(
|
|
49
|
+
ui.info(cli_shared_2.Text.ctrlC);
|
|
50
50
|
if (!name) {
|
|
51
|
-
ui.info(
|
|
52
|
-
name = await ui.promptForText(
|
|
51
|
+
ui.info(cli_shared_2.Text.create.overviewAppName);
|
|
52
|
+
name = await ui.promptForText(cli_shared_2.Text.create.promptName);
|
|
53
53
|
if (!directory) {
|
|
54
54
|
directory = directoryNameFromAppName(name) || template;
|
|
55
55
|
if (directory) {
|
|
@@ -59,9 +59,9 @@ async function createCommandHandler(ui, createAppCommand, name, { template, dire
|
|
|
59
59
|
}
|
|
60
60
|
ensureValidNameLength(name);
|
|
61
61
|
if (!template) {
|
|
62
|
-
ui.info(
|
|
63
|
-
const templates = await ui.displayTemporaryMessage(() => createAppCommand.getAvailableTemplates(),
|
|
64
|
-
const type = await ui.promptForList(
|
|
62
|
+
ui.info(cli_shared_2.Text.create.overviewTemplates);
|
|
63
|
+
const templates = await ui.displayTemporaryMessage(() => createAppCommand.getAvailableTemplates(), cli_shared_2.Text.create.waitTemplates);
|
|
64
|
+
const type = await ui.promptForList(cli_shared_2.Text.create.promptCategory, Object.values(TemplateCategory));
|
|
65
65
|
const filteredTemplates = type === TemplateCategory.SHOW_ALL
|
|
66
66
|
? templates
|
|
67
67
|
: templates
|
|
@@ -76,7 +76,7 @@ async function createCommandHandler(ui, createAppCommand, name, { template, dire
|
|
|
76
76
|
}
|
|
77
77
|
})
|
|
78
78
|
.map((name) => name.replace('-ui-kit', '').replace('-custom-ui', ''));
|
|
79
|
-
template = await ui.promptForList(
|
|
79
|
+
template = await ui.promptForList(cli_shared_2.Text.create.promptTemplate, filteredTemplates);
|
|
80
80
|
if (type === TemplateCategory.UI_KIT) {
|
|
81
81
|
template = `${template}-ui-kit`;
|
|
82
82
|
}
|
|
@@ -91,35 +91,35 @@ async function createCommandHandler(ui, createAppCommand, name, { template, dire
|
|
|
91
91
|
ui.emptyLine();
|
|
92
92
|
directory = directory;
|
|
93
93
|
const args = { name, template, directory };
|
|
94
|
-
const result = await ui.displayProgress(() => createAppCommand.execute(args),
|
|
95
|
-
ui.info(
|
|
94
|
+
const result = await ui.displayProgress(() => createAppCommand.execute(args), cli_shared_2.Text.create.cmd.start, cli_shared_2.Text.create.cmd.success(name));
|
|
95
|
+
ui.info(cli_shared_2.Text.create.cmd.successDetails(directory, result.environments, cli_shared_1.environmentToOption));
|
|
96
96
|
return result;
|
|
97
97
|
}
|
|
98
98
|
exports.createCommandHandler = createCommandHandler;
|
|
99
99
|
function registerCreateCommands({ cmd, ui, commands: { createAppCommand } }) {
|
|
100
100
|
cmd
|
|
101
101
|
.command('create [name]')
|
|
102
|
-
.description(
|
|
103
|
-
.option('-t, --template <template name>',
|
|
104
|
-
.option('-d, --directory <directory name>',
|
|
102
|
+
.description(cli_shared_2.Text.create.cmd.desc)
|
|
103
|
+
.option('-t, --template <template name>', cli_shared_2.Text.create.optionTemplate)
|
|
104
|
+
.option('-d, --directory <directory name>', cli_shared_2.Text.create.optionDirectory)
|
|
105
105
|
.action((name, options) => createCommandHandler(ui, createAppCommand, name, options));
|
|
106
106
|
}
|
|
107
107
|
function registerRegisterCommand({ cmd, ui, commands: { registerAppCommand } }) {
|
|
108
108
|
cmd
|
|
109
109
|
.command('register [name]')
|
|
110
|
-
.description(
|
|
110
|
+
.description(cli_shared_2.Text.register.cmd.desc)
|
|
111
111
|
.requireManifestFile()
|
|
112
112
|
.action(async (name) => {
|
|
113
|
-
ui.info(
|
|
114
|
-
ui.info(
|
|
113
|
+
ui.info(cli_shared_2.Text.register.intro);
|
|
114
|
+
ui.info(cli_shared_2.Text.ctrlC);
|
|
115
115
|
ui.emptyLine();
|
|
116
116
|
if (!name) {
|
|
117
|
-
ui.info(
|
|
118
|
-
name = await ui.promptForText(
|
|
117
|
+
ui.info(cli_shared_2.Text.create.overviewAppName);
|
|
118
|
+
name = await ui.promptForText(cli_shared_2.Text.create.promptName);
|
|
119
119
|
ui.emptyLine();
|
|
120
120
|
}
|
|
121
|
-
const result = await ui.displayProgress(() => registerAppCommand.execute({ name }),
|
|
122
|
-
ui.info(
|
|
121
|
+
const result = await ui.displayProgress(() => registerAppCommand.execute({ name }), cli_shared_2.Text.register.cmd.start, cli_shared_2.Text.register.cmd.success(name));
|
|
122
|
+
ui.info(cli_shared_2.Text.register.cmd.successDetails(result.environments, cli_shared_1.environmentToOption));
|
|
123
123
|
return result;
|
|
124
124
|
});
|
|
125
125
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { UI } from '@forge/cli-shared';
|
|
2
2
|
import { Dependencies } from './dependency-injection';
|
|
3
3
|
import { CreateEnvironmentCommand } from '../environment/create-environment';
|
|
4
|
-
|
|
4
|
+
import { ListEnvironmentCommand } from '../environment/list-environment';
|
|
5
|
+
export declare const createEnvironmentHandler: (ui: UI, createEnvironmentCommand: CreateEnvironmentCommand, listEnvironmentCommand: ListEnvironmentCommand, environmentKey?: string) => Promise<void>;
|
|
6
|
+
export declare const listEnvironmentHandler: (ui: UI, listEnvironmentCommand: ListEnvironmentCommand) => Promise<void>;
|
|
5
7
|
export declare const registerCommands: (deps: Dependencies) => void;
|
|
6
8
|
//# sourceMappingURL=register-environment-commands.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register-environment-commands.d.ts","sourceRoot":"","sources":["../../src/command-line/register-environment-commands.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"register-environment-commands.d.ts","sourceRoot":"","sources":["../../src/command-line/register-environment-commands.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAQ,MAAM,mBAAmB,CAAC;AAE7C,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAEtD,OAAO,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAC7E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAIzE,eAAO,MAAM,wBAAwB,OAC/B,EAAE,4BACoB,wBAAwB,0BAC1B,sBAAsB,mBAC7B,MAAM,kBAmBxB,CAAC;AAEF,eAAO,MAAM,sBAAsB,OAAc,EAAE,0BAA0B,sBAAsB,kBA8BlG,CAAC;AA8BF,eAAO,MAAM,gBAAgB,SAAU,YAAY,KAAG,IAMrD,CAAC"}
|